Skip to content

AgenticRetrieveMemoryMetadataFilterOperator

Enum Class

AgenticRetrieveMemoryMetadataFilterOperator

Bases: UnknownEnumMixin, StrEnum

Specifies the relationship that a metadata key and value must have for a memory record to match a filter expression.

Attributes

AFTER class-attribute instance-attribute
AFTER = 'AFTER'

The AFTER operator matches memory records whose timestamp metadata value falls after the supplied value.

BEFORE class-attribute instance-attribute
BEFORE = 'BEFORE'

The BEFORE operator matches memory records whose timestamp metadata value falls before the supplied value.

CONTAINS class-attribute instance-attribute
CONTAINS = 'CONTAINS'

The CONTAINS operator matches memory records whose metadata value contains the supplied value.

EQUALS_TO class-attribute instance-attribute
EQUALS_TO = 'EQUALS_TO'

The EQUALS_TO operator matches memory records whose metadata value equals the supplied value.

EXISTS class-attribute instance-attribute
EXISTS = 'EXISTS'

The EXISTS operator matches memory records that carry the metadata key, whatever its value. This operator takes no right operand.

GREATER_THAN class-attribute instance-attribute
GREATER_THAN = 'GREATER_THAN'

The GREATER_THAN operator matches memory records whose numeric metadata value is greater than the supplied value.

GREATER_THAN_OR_EQUALS class-attribute instance-attribute
GREATER_THAN_OR_EQUALS = 'GREATER_THAN_OR_EQUALS'

The GREATER_THAN_OR_EQUALS operator matches memory records whose numeric metadata value is greater than or equal to the supplied value.

LESS_THAN class-attribute instance-attribute
LESS_THAN = 'LESS_THAN'

The LESS_THAN operator matches memory records whose numeric metadata value is less than the supplied value.

LESS_THAN_OR_EQUALS class-attribute instance-attribute
LESS_THAN_OR_EQUALS = 'LESS_THAN_OR_EQUALS'

The LESS_THAN_OR_EQUALS operator matches memory records whose numeric metadata value is less than or equal to the supplied value.

NOT_EXISTS class-attribute instance-attribute
NOT_EXISTS = 'NOT_EXISTS'

The NOT_EXISTS operator matches memory records that do not carry the metadata key. This operator takes no right operand.