Back to Langflow

Couchbase

docs/versioned_docs/version-1.8.0/Components/bundles-couchbase.mdx

1.10.0.dev202.7 KB
Original Source

import Icon from "@site/src/components/icon"; import PartialParams from '@site/docs/_partial-hidden-params.mdx'; import PartialConditionalParams from '@site/docs/_partial-conditional-params.mdx'; import PartialVectorSearchResults from '@site/docs/_partial-vector-search-results.mdx'; import PartialVectorStoreInstance from '@site/docs/_partial-vector-store-instance.mdx';

<Icon name="Blocks" aria-hidden="true" /> Bundles contain custom components that support specific third-party integrations with Langflow.

This page describes the components that are available in the Couchbase bundle.

Couchbase vector store

The Couchbase component reads and writes to a Couchbase vector store using an instance of CouchbaseSearchVectorStore.

<details> <summary>About vector store instances</summary> <PartialVectorStoreInstance /> </details> <PartialVectorSearchResults />

:::tip For a tutorial using a vector database in a flow, see Create a vector RAG chatbot. :::

Couchbase parameters

You can inspect a vector store component's parameters to learn more about the inputs it accepts, the features it supports, and how to configure it.

<PartialParams /> <PartialConditionalParams />

For information about accepted values and functionality, see the Couchbase documentation or inspect component code.

NameTypeDescription
couchbase_connection_stringSecretStringInput parameter. Couchbase Cluster connection string. Required.
couchbase_usernameStringInput parameter. Couchbase username for authentication. Required.
couchbase_passwordSecretStringInput parameter. Couchbase password for authentication. Required.
bucket_nameStringInput parameter. Name of the Couchbase bucket. Required.
scope_nameStringInput parameter. Name of the Couchbase scope. Required.
collection_nameStringInput parameter. Name of the Couchbase collection. Required.
index_nameStringInput parameter. Name of the Couchbase index. Required.
ingest_dataDataInput parameter. The records to load into the vector store. Only relevant for writes.
search_queryStringInput parameter. The query string for vector search. Only relevant for reads.
cache_vector_storeBooleanInput parameter. If true, the component caches the vector store in memory for faster reads. Default: Enabled (true).
embeddingEmbeddingsInput parameter. The embedding function to use for the vector store.
number_of_resultsIntegerInput parameter. Maximum number of search results to return. Default: 4. Only relevant for reads.