Loads a vector store instance from the specified directory, using the provided embeddings to ensure compatibility.
This static method reconstructs a SaveableVectorStore from previously
saved data. Implementations should interpret the saved data format to
recreate the vector store instance.
load(_directory: string, _embeddings: EmbeddingsInterface): Promise<SaveableVectorStore>| Name | Type | Description |
|---|---|---|
_directory* | string | The directory path from which the vector store data will be loaded. |
_embeddings* | EmbeddingsInterface | An instance of |