InFilter
Models & Types ยท AiDotNet.RetrievalAugmentedGeneration.Filtering
A leaf node matching when a metadata field equals any value in a set (set membership).
Inheritance: MetadataFilter โ InFilter
Constructors
| Constructor | Summary |
|---|---|
InFilter(string key, IEnumerable<object> values) |
Initializes a new set-membership node. |
Properties
| Property | Summary |
|---|---|
IReadOnlyList<object> Values { get; } |
Gets the candidate values. |
MetadataFilterOperator Operator { get; } |
|
string Key { get; } |
Gets the metadata field name being tested. |
Methods
| Method | Summary |
|---|---|
bool Matches(IReadOnlyDictionary<string, object> metadata) |