For the complete documentation index, see llms.txt. This page is also available as Markdown.
Couchbase
Upsert embedded data and perform vector search upon query using Couchbase, a NoSQL cloud developer data platform for critical, AI-powered applications.
Prerequisite
Requirements
Couchbase Cluster (Self Managed or Capella) version 7.6+ with Search Service.
Capella Setup: To know more about connecting to your Capella cluster, please follow the instructions.
Here, we are creating the index vector-index on the documents. The Vector field is set to embedding with 1536 dimensions and the text field set to text. We are also indexing and storing all the fields under metadata in the document as a dynamic mapping to account for varying document structures. The similarity metric is set to dot_product. If there is a change in these parameters, please adapt the index accordingly.
Setup
Add a new Couchbase node on canvas and fill in the Bucket Name, Scope Name, Collection Name and Index Name
Add new credential and fill in the parameters:
Couchbase Connection String
Cluster Username
Cluster Password
Add additional nodes to canvas and start the upsert process
Document can be connected with any node under Document Loader category
Embeddings can be connected with any node under Embeddingscategory
Verify from the Couchbase UI to see if data has been successfully upserted!