Static method that creates a new instance of the CloudflareVectorizeStore class from an existing index.
fromExistingIndex(
embeddings: EmbeddingsInterface,
dbConfig: VectorizeLibArgs
): Promise<CloudflareVectorizeStore>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | Embeddings to use for the documents. |
dbConfig* | VectorizeLibArgs | Configuration for the Vectorize database. |