This method creates a new UpstashVector instance from an existing index.
fromExistingIndex(
embeddings: EmbeddingsInterface,
dbConfig: UpstashVectorLibArgs
): Promise<UpstashVectorStore>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | Embedding interface of the choice, to create the embeddings. |
dbConfig* | UpstashVectorLibArgs | Object containing the Upstash database configs. |