ObjectFilter

Non-sealed extension point within the PropertyFilter sealed hierarchy.

Allows modules outside agent-api to define their own filter types that are still assignable to PropertyFilter. Subtypes participate in the PropertyFilter type hierarchy but are not exhaustively matched by when expressions on PropertyFilter in agent-api.

Known subtypes:

  • EntityFilter (in RAG module): Sealed hierarchy for entity-specific filtering (e.g., label matching)

Functions

Link copied to clipboard
open infix fun and(other: PropertyFilter): PropertyFilter

Logical AND infix: filter1 and filter2

Link copied to clipboard
open operator fun not(): PropertyFilter

Logical NOT operator: !filter

Link copied to clipboard
open infix fun or(other: PropertyFilter): PropertyFilter

Logical OR infix: filter1 or filter2