SemanticRetrieverComponents
class SemanticRetrieverComponents: NSObjectA configuration container class for initializing MPPSemanticRetriever.
-
Initializes the components with a vector store, an optional chunker, and list of providers.
Declaration
Swift
init(vectorStore: any VectorStore, chunker: (any TextChunker)?, providers: [any EmbeddingProvider]) throws -
A custom chunker supplied by the user, or the default character-count sliding-window chunker if none is provided.
Declaration
Swift
var chunker: any TextChunker { get set } -
List of embedding providers used to extract multi-modal embeddings.
Declaration
Swift
var providers: [any EmbeddingProvider] { get set } -
A custom vector store storage backend.
Declaration
Swift
var vectorStore: any VectorStore { get set }