The Doc Store Vector Stores node is a component designed to search and retrieve documents from a Document Store using vector-based similarity search. It’s part of a larger system for managing and querying document collections efficiently.
Label | Name | Type | Description |
---|---|---|---|
Select Store | selectedStore | asyncOptions | Allows selection of an existing store |
listStores
method is used to dynamically populate the store options.
Label | Name | Base Classes |
---|---|---|
Retriever | retriever | BaseRetriever |
Vector Store | vectorStore | VectorStore |
listStores
: Asynchronously fetches and returns a list of available Document Stores.
init
: Initializes the node with the selected store and creates the necessary embedding and vector store objects.
_createEmbeddingsObject
: Creates and initializes the embedding object based on the store’s configuration.
_createVectorStoreNodeData
: Prepares the data structure for initializing the vector store.
_createVectorStoreObject
: Creates the actual vector store object based on the prepared data.