MetadataFilterOperator
Enums · AiDotNet.RetrievalAugmentedGeneration.Filtering
The kind of node in a MetadataFilter expression tree.
For Beginners
Every part of a filter is one of these operations. Leaf operations
(Eq, Gt, In, …) test a single metadata field; the combinators
(And, Or, Not) glue smaller filters into bigger ones - exactly like the
filter languages of Pinecone, Qdrant and Weaviate.
Fields
| Field | Summary |
|---|---|
MetadataFilterOperator And |
Logical conjunction of child filters. |
MetadataFilterOperator Eq |
Field equals a value. |
MetadataFilterOperator Exists |
Field is present in the metadata. |
MetadataFilterOperator Gt |
Field is strictly greater than a value. |
MetadataFilterOperator Gte |
Field is greater than or equal to a value. |
MetadataFilterOperator In |
Field equals one of a set of values. |
MetadataFilterOperator Lt |
Field is strictly less than a value. |
MetadataFilterOperator Lte |
Field is less than or equal to a value. |
MetadataFilterOperator Ne |
Field does not equal a value (also matches when the field is absent). |
MetadataFilterOperator Not |
Logical negation of a child filter. |
MetadataFilterOperator Or |
Logical disjunction of child filters. |
int value__ |