Table of Contents

Class MetadataCondition

Namespace
Mythosia.VectorDb
Assembly
Mythosia.VectorDb.Abstractions.dll

A leaf condition that tests a single metadata key against a value or set of values.

public sealed class MetadataCondition : FilterCondition
Inheritance
MetadataCondition
Inherited Members

Properties

Key

Metadata key to test.

public string Key { get; }

Property Value

string

Operator

The comparison operator.

public FilterOperator Operator { get; }

Property Value

FilterOperator

Value

Single value used by Eq, Ne, Gt, Gte, Lt, Lte, Like.

public string? Value { get; }

Property Value

string

Values

Value set used by In and NotIn.

public IReadOnlyList<string>? Values { get; }

Property Value

IReadOnlyList<string>