ExistsFilter
Models & Types ยท AiDotNet.RetrievalAugmentedGeneration.Filtering
A leaf node matching when a metadata field is present.
Inheritance: MetadataFilter โ ExistsFilter
Constructors
| Constructor | Summary |
|---|---|
ExistsFilter(string key) |
Initializes a new existence node. |
Properties
| Property | Summary |
|---|---|
MetadataFilterOperator Operator { get; } |
|
string Key { get; } |
Gets the metadata field name that must be present. |
Methods
| Method | Summary |
|---|---|
bool Matches(IReadOnlyDictionary<string, object> metadata) |