LogicalFilter

Models & Types ยท AiDotNet.RetrievalAugmentedGeneration.Filtering

A combinator node joining child filters with logical And or Or.

Inheritance: MetadataFilter โ†’ LogicalFilter

Constructors

Constructor Summary
LogicalFilter(MetadataFilterOperator op, IEnumerable<MetadataFilter> operands) Initializes a new logical combinator node.

Properties

Property Summary
IReadOnlyList<MetadataFilter> Operands { get; } Gets the child filters.
MetadataFilterOperator Operator { get; }

Methods

Method Summary
bool Matches(IReadOnlyDictionary<string, object> metadata)