initialize class for interacting with the Couchbase database using Query service. It extends the VectorStore class and provides methods for adding vectors and documents, and searching for similar vectors. This also verifies the params
initialize(
embeddings: EmbeddingsInterface,
config: CouchbaseQueryVectorStoreArgs
): Promise<CouchbaseQueryVectorStore>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | object to generate embedding |
config* | CouchbaseQueryVectorStoreArgs | the fields required to initialize a vector store |