Interface for a retriever that uses a vector store to store and retrieve document embeddings. This retriever interface allows for adding documents to the underlying vector store and conducting retrieval operations.
VectorStoreRetrieverInterface extends BaseRetrieverInterface to provide
document retrieval capabilities based on vector similarity.
VectorStoreRetrieverInterface
interface VectorStoreRetrieverInterfaceAdds an array of documents to the vector store.
This method embeds the provided documents and stores them within the vector store. Additional options can be specified for custom behavior during the addition process.