Back to Langflow

Upstash

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

1.10.0.dev202.4 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 Upstash bundle.

Upstash vector store

The Upstash component reads and writes to Upstash vector stores using an instance of UpstashVectorStore.

<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. :::

Upstash vector store 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 Upstash documentation or inspect component code.

NameTypeDescription
index_urlStringInput parameter. The URL of the Upstash index.
index_tokenSecretStringInput parameter. The token for the Upstash index.
text_keyStringInput parameter. The key in the record to use as text.
namespaceStringInput parameter. The namespace for the index.
search_queryStringInput parameter. The query for similarity search.
metadata_filterStringInput parameter. Filter documents by metadata.
ingest_dataDataInput parameter. The data to be ingested into the vector store.
embeddingEmbeddingsInput parameter. The embedding function to use.
number_of_resultsIntegerInput parameter. The number of results to return in search.