Interface Filter
-
- All Implemented Interfaces:
public interface FilterThis class represents a filter that can be applied during search in an EmbeddingStore. Many EmbeddingStores support a feature called metadata filtering. A
Filtercan be used for this. AFilterobject can represent simple (e.g.type = 'documentation') and composite (e.g.type = 'documentation' AND year > 2020) filter expressions in an EmbeddingStore-agnostic way. Each EmbeddingStore implementation that supports metadata filtering is mapping Filter into it's native filter expression.