Static method to create a FakeVectorStore instance from an existing
index. It creates a new FakeVectorStore instance without adding any
documents or vectors.
fromExistingIndex(
embeddings: EmbeddingsInterface,
dbConfig: FakeVectorStoreArgs
): Promise<FakeVectorStore>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface |
|
dbConfig | FakeVectorStoreArgs | Optional |