Creates an instance of AnalyticDBVectorStore from an existing index
in the database. A new collection is created in the database.
fromExistingIndex(
embeddings: EmbeddingsInterface,
dbConfig: AnalyticDBArgs
): Promise<AnalyticDBVectorStore>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | Embeddings instance used to convert the documents to vectors. |
dbConfig* | AnalyticDBArgs | Configuration for the AnalyticDB. |