From 90e2f955dc39ab9b9b08d8053a20834bafd25609 Mon Sep 17 00:00:00 2001
From: "github-merge-queue[bot]"
Date: Mon, 24 Feb 2025 17:34:09 +0000
Subject: [PATCH] deploy: c18f65cac90e67599f971440632255c42112f423
---
404.html | 2 +-
Concepts/concepts-flows.html | 2 +-
Deployment/deployment-docker.html | 2 +-
agents-overview.html | 2 +-
agents-tool-calling-agent-component.html | 2 +-
api-reference-api-examples.html | 2 +-
api.html | 2 +-
api/add-user.html | 2 +-
api/auto-login.html | 2 +-
api/build-flow.html | 2 +-
api/build-vertex-stream.html | 2 +-
api/build-vertex.html | 2 +-
api/check-if-store-has-api-key.html | 2 +-
api/check-if-store-is-enabled.html | 2 +-
api/create-api-key-route.html | 2 +-
api/create-flow.html | 2 +-
api/create-flows.html | 2 +-
api/create-folder.html | 2 +-
api/create-upload-file.html | 2 +-
api/create-variable.html | 2 +-
api/custom-component-update.html | 2 +-
api/custom-component.html | 2 +-
api/delete-api-key-route.html | 2 +-
api/delete-file.html | 2 +-
api/delete-flow.html | 2 +-
api/delete-folder.html | 2 +-
api/delete-messages-session.html | 2 +-
api/delete-messages.html | 2 +-
api/delete-multiple-flows.html | 2 +-
api/delete-user.html | 2 +-
api/delete-variable.html | 2 +-
api/delete-vertex-builds.html | 2 +-
api/download-component.html | 2 +-
api/download-file-1.html | 2 +-
api/download-file.html | 2 +-
api/download-image.html | 2 +-
api/download-multiple-file.html | 2 +-
api/download-profile-picture.html | 2 +-
api/experimental-run-flow.html | 2 +-
api/get-all.html | 2 +-
api/get-api-keys-route.html | 2 +-
api/get-components.html | 2 +-
api/get-config.html | 2 +-
api/get-list-of-components-liked-by-user.html | 2 +-
api/get-messages.html | 2 +-
api/get-starter-projects.html | 2 +-
api/get-tags.html | 2 +-
api/get-task-status.html | 2 +-
api/get-transactions.html | 2 +-
api/get-version.html | 2 +-
api/get-vertex-builds.html | 2 +-
api/handle-messages.html | 2 +-
api/handle-sse.html | 2 +-
api/health-check.html | 2 +-
api/health.html | 2 +-
api/like-component.html | 2 +-
api/list-files.html | 2 +-
api/list-profile-pictures.html | 2 +-
api/login-to-get-access-token.html | 2 +-
api/logout.html | 2 +-
api/logs.html | 2 +-
api/patch-user.html | 2 +-
api/post-validate-code.html | 2 +-
api/post-validate-prompt.html | 2 +-
api/process-1.html | 2 +-
api/process.html | 2 +-
api/read-all-users.html | 2 +-
api/read-basic-examples.html | 2 +-
api/read-current-user.html | 2 +-
api/read-flow.html | 2 +-
api/read-flows.html | 2 +-
api/read-folder.html | 2 +-
api/read-folders.html | 2 +-
api/read-variables.html | 2 +-
api/refresh-token.html | 2 +-
api/reset-password.html | 2 +-
api/retrieve-vertices-order.html | 2 +-
api/save-store-api-key.html | 2 +-
api/share-component.html | 2 +-
api/simplified-run-flow.html | 2 +-
api/stream-logs.html | 2 +-
api/update-flow.html | 2 +-
api/update-folder.html | 2 +-
api/update-message.html | 2 +-
api/update-session-id.html | 2 +-
api/update-shared-component.html | 2 +-
api/update-variable.html | 2 +-
api/upload-file-1.html | 2 +-
api/upload-file-2.html | 2 +-
api/upload-file.html | 2 +-
api/webhook-run-flow.html | 2 +-
...0d4f5.fd0aac36.js => 2ab0d4f5.8ad681f9.js} | 2 +-
assets/js/9822a706.273286e1.js | 1 +
assets/js/9822a706.b7885256.js | 1 -
assets/js/a83bc7c0.42cb06ac.js | 1 -
assets/js/a83bc7c0.c592eecf.js | 1 +
assets/js/a9b4f8aa.c45c6703.js | 1 -
assets/js/a9b4f8aa.e12cb2aa.js | 1 +
...6a4d2.3eb76ad5.js => e6c6a4d2.d6665d23.js} | 2 +-
assets/js/f66238ae.82391c24.js | 1 -
assets/js/f66238ae.e53f27a5.js | 1 +
...n.bd0ec986.js => runtime~main.102072de.js} | 2 +-
components-agents.html | 2 +-
components-custom-components.html | 2 +-
components-data.html | 2 +-
components-embedding-models.html | 2 +-
components-helpers.html | 2 +-
components-io.html | 2 +-
components-loaders.html | 2 +-
components-logic.html | 2 +-
components-memories.html | 2 +-
components-models.html | 2 +-
components-processing.html | 2 +-
components-prompts.html | 2 +-
components-tools.html | 2 +-
components-vector-stores.html | 21 +++++++--
concepts-api.html | 2 +-
concepts-components.html | 2 +-
concepts-objects.html | 2 +-
concepts-overview.html | 2 +-
concepts-playground.html | 2 +-
configuration-api-keys.html | 2 +-
configuration-authentication.html | 2 +-
configuration-auto-save.html | 2 +-
configuration-backend-only.html | 2 +-
configuration-cli.html | 2 +-
configuration-custom-database.html | 2 +-
configuration-global-variables.html | 2 +-
configuration-security-best-practices.html | 2 +-
contributing-community.html | 2 +-
contributing-components.html | 2 +-
contributing-github-discussions.html | 2 +-
contributing-github-issues.html | 2 +-
contributing-how-to-contribute.html | 2 +-
contributing-telemetry.html | 2 +-
deployment-gcp.html | 2 +-
deployment-hugging-face-spaces.html | 2 +-
deployment-kubernetes.html | 2 +-
deployment-railway.html | 2 +-
deployment-render.html | 2 +-
environment-variables.html | 2 +-
get-started-installation.html | 2 +-
get-started-quickstart.html | 45 +++++++++++++------
index.html | 2 +-
integrations-apify.html | 2 +-
integrations-assemblyai.html | 2 +-
integrations-composio.html | 2 +-
integrations-langfuse.html | 2 +-
integrations-langsmith.html | 2 +-
integrations-langwatch.html | 2 +-
integrations-nvidia-ingest.html | 2 +-
...setup-google-cloud-vertex-ai-langflow.html | 2 +-
integrations-setup-google-oauth-langflow.html | 2 +-
.../notion/notion-agent-conversational.html | 2 +-
.../notion/notion-agent-meeting-notes.html | 2 +-
integrations/notion/setup.html | 2 +-
search.html | 2 +-
sitemap.xml | 2 +-
starter-projects-basic-prompting.html | 2 +-
starter-projects-simple-agent.html | 4 +-
starter-projects-vector-store-rag.html | 42 ++++++++++++-----
tutorials-blog-writer.html | 2 +-
tutorials-document-qa.html | 2 +-
tutorials-math-agent.html | 2 +-
tutorials-memory-chatbot.html | 2 +-
tutorials-sequential-agent.html | 2 +-
tutorials-travel-planning-agent.html | 2 +-
167 files changed, 241 insertions(+), 189 deletions(-)
rename assets/js/{2ab0d4f5.fd0aac36.js => 2ab0d4f5.8ad681f9.js} (50%)
create mode 100644 assets/js/9822a706.273286e1.js
delete mode 100644 assets/js/9822a706.b7885256.js
delete mode 100644 assets/js/a83bc7c0.42cb06ac.js
create mode 100644 assets/js/a83bc7c0.c592eecf.js
delete mode 100644 assets/js/a9b4f8aa.c45c6703.js
create mode 100644 assets/js/a9b4f8aa.e12cb2aa.js
rename assets/js/{e6c6a4d2.3eb76ad5.js => e6c6a4d2.d6665d23.js} (55%)
delete mode 100644 assets/js/f66238ae.82391c24.js
create mode 100644 assets/js/f66238ae.e53f27a5.js
rename assets/js/{runtime~main.bd0ec986.js => runtime~main.102072de.js} (75%)
diff --git a/404.html b/404.html
index c3f04360f7..86f8797d51 100644
--- a/404.html
+++ b/404.html
@@ -16,7 +16,7 @@
-
+
diff --git a/Concepts/concepts-flows.html b/Concepts/concepts-flows.html
index 1331dfbbde..34f9667444 100644
--- a/Concepts/concepts-flows.html
+++ b/Concepts/concepts-flows.html
@@ -16,7 +16,7 @@
-
+
diff --git a/Deployment/deployment-docker.html b/Deployment/deployment-docker.html
index fed3e1e14f..2872719433 100644
--- a/Deployment/deployment-docker.html
+++ b/Deployment/deployment-docker.html
@@ -16,7 +16,7 @@
-
+
diff --git a/agents-overview.html b/agents-overview.html
index 39e1269f6d..6e8baa6dea 100644
--- a/agents-overview.html
+++ b/agents-overview.html
@@ -16,7 +16,7 @@
-
+
diff --git a/agents-tool-calling-agent-component.html b/agents-tool-calling-agent-component.html
index bd27a5e80a..bde4219a9e 100644
--- a/agents-tool-calling-agent-component.html
+++ b/agents-tool-calling-agent-component.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api-reference-api-examples.html b/api-reference-api-examples.html
index 7cb505bcdf..81c6e3f3ad 100644
--- a/api-reference-api-examples.html
+++ b/api-reference-api-examples.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api.html b/api.html
index 8e8ec1e269..5add07ef32 100644
--- a/api.html
+++ b/api.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/add-user.html b/api/add-user.html
index 19c4e9b3bc..6f145ebe03 100644
--- a/api/add-user.html
+++ b/api/add-user.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/auto-login.html b/api/auto-login.html
index 4a7d8fc1b0..1a362d0448 100644
--- a/api/auto-login.html
+++ b/api/auto-login.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/build-flow.html b/api/build-flow.html
index c94661f84f..f484fd5c5e 100644
--- a/api/build-flow.html
+++ b/api/build-flow.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/build-vertex-stream.html b/api/build-vertex-stream.html
index bcaec19d51..81846aeb0c 100644
--- a/api/build-vertex-stream.html
+++ b/api/build-vertex-stream.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/build-vertex.html b/api/build-vertex.html
index d99d944384..d28489e662 100644
--- a/api/build-vertex.html
+++ b/api/build-vertex.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/check-if-store-has-api-key.html b/api/check-if-store-has-api-key.html
index 3a637a7246..193f49eb1b 100644
--- a/api/check-if-store-has-api-key.html
+++ b/api/check-if-store-has-api-key.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/check-if-store-is-enabled.html b/api/check-if-store-is-enabled.html
index ef084e5399..54f57cc941 100644
--- a/api/check-if-store-is-enabled.html
+++ b/api/check-if-store-is-enabled.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/create-api-key-route.html b/api/create-api-key-route.html
index 72d3948ca2..0971a0536f 100644
--- a/api/create-api-key-route.html
+++ b/api/create-api-key-route.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/create-flow.html b/api/create-flow.html
index 5cb9a16fd7..515f324914 100644
--- a/api/create-flow.html
+++ b/api/create-flow.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/create-flows.html b/api/create-flows.html
index 02eeb655b3..d7f3f792d5 100644
--- a/api/create-flows.html
+++ b/api/create-flows.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/create-folder.html b/api/create-folder.html
index dbd662f4e3..12df9c663b 100644
--- a/api/create-folder.html
+++ b/api/create-folder.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/create-upload-file.html b/api/create-upload-file.html
index 0057e0969c..8eba9bc56d 100644
--- a/api/create-upload-file.html
+++ b/api/create-upload-file.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/create-variable.html b/api/create-variable.html
index ec6e84a8ce..07bfe2d2d7 100644
--- a/api/create-variable.html
+++ b/api/create-variable.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/custom-component-update.html b/api/custom-component-update.html
index f447a250d5..cac912f140 100644
--- a/api/custom-component-update.html
+++ b/api/custom-component-update.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/custom-component.html b/api/custom-component.html
index 0344055fdc..494fce3648 100644
--- a/api/custom-component.html
+++ b/api/custom-component.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-api-key-route.html b/api/delete-api-key-route.html
index f4f8fa3885..8f41229f79 100644
--- a/api/delete-api-key-route.html
+++ b/api/delete-api-key-route.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-file.html b/api/delete-file.html
index e259c63820..ca0f91071b 100644
--- a/api/delete-file.html
+++ b/api/delete-file.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-flow.html b/api/delete-flow.html
index f565ac3aba..2597810327 100644
--- a/api/delete-flow.html
+++ b/api/delete-flow.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-folder.html b/api/delete-folder.html
index 580bb2eaa4..15756ee092 100644
--- a/api/delete-folder.html
+++ b/api/delete-folder.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-messages-session.html b/api/delete-messages-session.html
index 54d7868f05..d6ae7c66ad 100644
--- a/api/delete-messages-session.html
+++ b/api/delete-messages-session.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-messages.html b/api/delete-messages.html
index 0a47c0d764..a93669798a 100644
--- a/api/delete-messages.html
+++ b/api/delete-messages.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-multiple-flows.html b/api/delete-multiple-flows.html
index 8354b4b614..de2aa200b3 100644
--- a/api/delete-multiple-flows.html
+++ b/api/delete-multiple-flows.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-user.html b/api/delete-user.html
index d56ab526d7..a0d1a8ad88 100644
--- a/api/delete-user.html
+++ b/api/delete-user.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-variable.html b/api/delete-variable.html
index 23d3419a8d..1a0d42285c 100644
--- a/api/delete-variable.html
+++ b/api/delete-variable.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/delete-vertex-builds.html b/api/delete-vertex-builds.html
index f8203fd5bb..f8b31737cb 100644
--- a/api/delete-vertex-builds.html
+++ b/api/delete-vertex-builds.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/download-component.html b/api/download-component.html
index 74a7fcee9c..5db1808ba4 100644
--- a/api/download-component.html
+++ b/api/download-component.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/download-file-1.html b/api/download-file-1.html
index 7370a8f792..73099c7537 100644
--- a/api/download-file-1.html
+++ b/api/download-file-1.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/download-file.html b/api/download-file.html
index 81f0d99537..c844668ddb 100644
--- a/api/download-file.html
+++ b/api/download-file.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/download-image.html b/api/download-image.html
index dc6167cc3a..59ac08b38b 100644
--- a/api/download-image.html
+++ b/api/download-image.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/download-multiple-file.html b/api/download-multiple-file.html
index 2fbbdcd0be..18a1810c91 100644
--- a/api/download-multiple-file.html
+++ b/api/download-multiple-file.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/download-profile-picture.html b/api/download-profile-picture.html
index 5eb069b382..2ccb7a4991 100644
--- a/api/download-profile-picture.html
+++ b/api/download-profile-picture.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/experimental-run-flow.html b/api/experimental-run-flow.html
index cd392ab3e6..11ac649599 100644
--- a/api/experimental-run-flow.html
+++ b/api/experimental-run-flow.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-all.html b/api/get-all.html
index d281f131fb..c0ea4d2751 100644
--- a/api/get-all.html
+++ b/api/get-all.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-api-keys-route.html b/api/get-api-keys-route.html
index 361994ec78..a0f9397e13 100644
--- a/api/get-api-keys-route.html
+++ b/api/get-api-keys-route.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-components.html b/api/get-components.html
index 6180bca500..5f94796915 100644
--- a/api/get-components.html
+++ b/api/get-components.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-config.html b/api/get-config.html
index c30e3469ea..9761de66fe 100644
--- a/api/get-config.html
+++ b/api/get-config.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-list-of-components-liked-by-user.html b/api/get-list-of-components-liked-by-user.html
index 13a2c19dc5..be8f0d7315 100644
--- a/api/get-list-of-components-liked-by-user.html
+++ b/api/get-list-of-components-liked-by-user.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-messages.html b/api/get-messages.html
index 5e9dad1d33..1b77d4b403 100644
--- a/api/get-messages.html
+++ b/api/get-messages.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-starter-projects.html b/api/get-starter-projects.html
index dd658666d6..572bbf06c0 100644
--- a/api/get-starter-projects.html
+++ b/api/get-starter-projects.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-tags.html b/api/get-tags.html
index fe5bcea0f0..c0f2555821 100644
--- a/api/get-tags.html
+++ b/api/get-tags.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-task-status.html b/api/get-task-status.html
index b02d102d21..97f954512f 100644
--- a/api/get-task-status.html
+++ b/api/get-task-status.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-transactions.html b/api/get-transactions.html
index ffaedce224..d23d016da1 100644
--- a/api/get-transactions.html
+++ b/api/get-transactions.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-version.html b/api/get-version.html
index caa6f08dfe..1c563a1ef9 100644
--- a/api/get-version.html
+++ b/api/get-version.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/get-vertex-builds.html b/api/get-vertex-builds.html
index 0fc5a384d5..877c99ffbd 100644
--- a/api/get-vertex-builds.html
+++ b/api/get-vertex-builds.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/handle-messages.html b/api/handle-messages.html
index 47e76941d4..fc000d9894 100644
--- a/api/handle-messages.html
+++ b/api/handle-messages.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/handle-sse.html b/api/handle-sse.html
index 7fc5ef19de..6feb53376d 100644
--- a/api/handle-sse.html
+++ b/api/handle-sse.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/health-check.html b/api/health-check.html
index 250ed193e8..070d07cae5 100644
--- a/api/health-check.html
+++ b/api/health-check.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/health.html b/api/health.html
index ff3802fa9d..58e8a4190c 100644
--- a/api/health.html
+++ b/api/health.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/like-component.html b/api/like-component.html
index 99330300ba..957b37b6bf 100644
--- a/api/like-component.html
+++ b/api/like-component.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/list-files.html b/api/list-files.html
index 7fad4374a2..9c8d79af7f 100644
--- a/api/list-files.html
+++ b/api/list-files.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/list-profile-pictures.html b/api/list-profile-pictures.html
index d066d175ce..77c31a1616 100644
--- a/api/list-profile-pictures.html
+++ b/api/list-profile-pictures.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/login-to-get-access-token.html b/api/login-to-get-access-token.html
index 044e64ecda..c367e3b657 100644
--- a/api/login-to-get-access-token.html
+++ b/api/login-to-get-access-token.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/logout.html b/api/logout.html
index 76189741e8..c8343b1272 100644
--- a/api/logout.html
+++ b/api/logout.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/logs.html b/api/logs.html
index d038cd565d..201031f525 100644
--- a/api/logs.html
+++ b/api/logs.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/patch-user.html b/api/patch-user.html
index 0ad97689fc..147a275fb3 100644
--- a/api/patch-user.html
+++ b/api/patch-user.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/post-validate-code.html b/api/post-validate-code.html
index 2b4c11f777..07025dfbaa 100644
--- a/api/post-validate-code.html
+++ b/api/post-validate-code.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/post-validate-prompt.html b/api/post-validate-prompt.html
index 32bc0eb877..6d82500865 100644
--- a/api/post-validate-prompt.html
+++ b/api/post-validate-prompt.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/process-1.html b/api/process-1.html
index 02b06cf4aa..592cea82f1 100644
--- a/api/process-1.html
+++ b/api/process-1.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/process.html b/api/process.html
index fc9a48e0b3..f9f49eac90 100644
--- a/api/process.html
+++ b/api/process.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/read-all-users.html b/api/read-all-users.html
index 8758bae210..f6e5e1b0c0 100644
--- a/api/read-all-users.html
+++ b/api/read-all-users.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/read-basic-examples.html b/api/read-basic-examples.html
index ce56fe376d..12ecd35672 100644
--- a/api/read-basic-examples.html
+++ b/api/read-basic-examples.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/read-current-user.html b/api/read-current-user.html
index 2620ee6319..e378eac667 100644
--- a/api/read-current-user.html
+++ b/api/read-current-user.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/read-flow.html b/api/read-flow.html
index f3a1ec599f..6fd0f233a6 100644
--- a/api/read-flow.html
+++ b/api/read-flow.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/read-flows.html b/api/read-flows.html
index afed8033a9..74131a6124 100644
--- a/api/read-flows.html
+++ b/api/read-flows.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/read-folder.html b/api/read-folder.html
index db5dedc5b7..84db332ca9 100644
--- a/api/read-folder.html
+++ b/api/read-folder.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/read-folders.html b/api/read-folders.html
index 440338d9d6..c71b106ede 100644
--- a/api/read-folders.html
+++ b/api/read-folders.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/read-variables.html b/api/read-variables.html
index 63fc5bbd42..4850107467 100644
--- a/api/read-variables.html
+++ b/api/read-variables.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/refresh-token.html b/api/refresh-token.html
index 895756c52b..b8a04406c8 100644
--- a/api/refresh-token.html
+++ b/api/refresh-token.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/reset-password.html b/api/reset-password.html
index d35f97185c..400166802c 100644
--- a/api/reset-password.html
+++ b/api/reset-password.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/retrieve-vertices-order.html b/api/retrieve-vertices-order.html
index e21b84bd18..d69d6a6ac1 100644
--- a/api/retrieve-vertices-order.html
+++ b/api/retrieve-vertices-order.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/save-store-api-key.html b/api/save-store-api-key.html
index e8f602f51b..a16bd22049 100644
--- a/api/save-store-api-key.html
+++ b/api/save-store-api-key.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/share-component.html b/api/share-component.html
index 37e2ee5cb5..6870f70975 100644
--- a/api/share-component.html
+++ b/api/share-component.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/simplified-run-flow.html b/api/simplified-run-flow.html
index 41cfd287b9..5193dff4e9 100644
--- a/api/simplified-run-flow.html
+++ b/api/simplified-run-flow.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/stream-logs.html b/api/stream-logs.html
index f39ffcd4e6..ca733f0bc7 100644
--- a/api/stream-logs.html
+++ b/api/stream-logs.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/update-flow.html b/api/update-flow.html
index 4456234abc..f722ecc42d 100644
--- a/api/update-flow.html
+++ b/api/update-flow.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/update-folder.html b/api/update-folder.html
index 3997c26056..47a199bca2 100644
--- a/api/update-folder.html
+++ b/api/update-folder.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/update-message.html b/api/update-message.html
index 8db5a010f5..fe7e86011f 100644
--- a/api/update-message.html
+++ b/api/update-message.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/update-session-id.html b/api/update-session-id.html
index 4fc77023d8..9532fe1256 100644
--- a/api/update-session-id.html
+++ b/api/update-session-id.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/update-shared-component.html b/api/update-shared-component.html
index 81c8cd4cbf..5538483094 100644
--- a/api/update-shared-component.html
+++ b/api/update-shared-component.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/update-variable.html b/api/update-variable.html
index e57e469b50..2221ebaf59 100644
--- a/api/update-variable.html
+++ b/api/update-variable.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/upload-file-1.html b/api/upload-file-1.html
index 6fcc964659..890937b49c 100644
--- a/api/upload-file-1.html
+++ b/api/upload-file-1.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/upload-file-2.html b/api/upload-file-2.html
index 7c8e84357d..3acb3b50ab 100644
--- a/api/upload-file-2.html
+++ b/api/upload-file-2.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/upload-file.html b/api/upload-file.html
index b746bfc640..1c17ab3fe2 100644
--- a/api/upload-file.html
+++ b/api/upload-file.html
@@ -16,7 +16,7 @@
-
+
diff --git a/api/webhook-run-flow.html b/api/webhook-run-flow.html
index be8cebed7f..ce59f14c5f 100644
--- a/api/webhook-run-flow.html
+++ b/api/webhook-run-flow.html
@@ -16,7 +16,7 @@
-
+
diff --git a/assets/js/2ab0d4f5.fd0aac36.js b/assets/js/2ab0d4f5.8ad681f9.js
similarity index 50%
rename from assets/js/2ab0d4f5.fd0aac36.js
rename to assets/js/2ab0d4f5.8ad681f9.js
index 3506401505..c7515314f0 100644
--- a/assets/js/2ab0d4f5.fd0aac36.js
+++ b/assets/js/2ab0d4f5.8ad681f9.js
@@ -1 +1 @@
-"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1845],{28453:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>o});var i=t(96540);const s={},r=i.createContext(s);function a(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),i.createElement(r.Provider,{value:n},e.children)}},83640:(e,n,t)=>{t.r(n),t.d(n,{contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>l});const i=JSON.parse('{"type":"api","id":"simplified-run-flow","title":"Simplified Run Flow","description":"","slug":"/simplified-run-flow","frontMatter":{},"api":{"tags":["Base"],"description":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","operationId":"simplified_run_flow_api_v1_run__flow_id_or_name__post","security":[{"API key query":[]},{"API key header":[]}],"parameters":[{"name":"flow_id_or_name","in":"path","required":true,"schema":{"type":"string","title":"Flow Id Or Name"}},{"name":"stream","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Stream"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"properties":{"input_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Value","description":"The input value"},"input_type":{"anyOf":[{"type":"string","enum":["chat","text","any"]},{"type":"null"}],"title":"Input Type","description":"The input type","default":"chat"},"output_type":{"anyOf":[{"type":"string","enum":["chat","text","any","debug"]},{"type":"null"}],"title":"Output Type","description":"The output type","default":"chat"},"output_component":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Component","description":"If there are multiple output components, you can specify the component to get the output from.","default":""},"tweaks":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"object","title":"Tweaks","description":"A dictionary of tweaks to adjust the flow\'s execution. Allows customizing flow behavior dynamically. All tweaks are overridden by the input values.","examples":[{"Component Name":{"parameter_name":"value"},"component_id":{"parameter_name":"value"},"parameter_name":"value"}]},{"type":"null"}],"description":"The tweaks"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id","description":"The session id"}},"type":"object","title":"SimplifiedAPIRequest"},{"type":"null"}],"title":"Input Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}},"method":"post","path":"/api/v1/run/{flow_id_or_name}","securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"api/v1/login"}}},"API key query":{"type":"apiKey","in":"query","name":"x-api-key"},"API key header":{"type":"apiKey","in":"header","name":"x-api-key"}},"info":{"title":"Langflow","version":"1.1.4"},"postman":{"name":"Simplified Run Flow","description":{"content":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","type":"text/plain"},"url":{"path":["api","v1","run",":flow_id_or_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"stream","value":"false"},{"disabled":false,"key":"user_id","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"flow_id_or_name"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\\n \\"input_value\\": \\"\\",\\n \\"input_type\\": \\"\\",\\n \\"output_type\\": \\"\\",\\n \\"output_component\\": \\"\\",\\n \\"tweaks\\": {\\n \\"dolor_16\\": \\"\\",\\n \\"anim__\\": \\"\\",\\n \\"cupidatatc_0\\": \\"\\",\\n \\"Duis_4f\\": \\"\\"\\n },\\n \\"session_id\\": \\"\\"\\n}","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"{{apiKey}}","key":"value"},{"type":"any","value":"query","key":"in"}]}}},"source":"@site/openapi.json","sourceDirName":".","permalink":"/api/simplified-run-flow","previous":{"title":"Get All","permalink":"/api/get-all"},"next":{"title":"Webhook Run Flow","permalink":"/api/webhook-run-flow"}}');var s=t(74848),r=t(28453);const a={},o="Simplified Run Flow",l=[];function d(e){const n={h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"simplified-run-flow",children:"Simplified Run Flow"})}),"\n",(0,s.jsx)(n.p,{children:"Executes a specified flow by ID with support for streaming and telemetry."}),"\n",(0,s.jsx)(n.p,{children:"This endpoint executes a flow identified by ID or name, with options for streaming the response\nand tracking execution metrics. It handles both streaming and non-streaming execution modes."}),"\n",(0,s.jsx)(n.p,{children:"Args:\nbackground_tasks (BackgroundTasks): FastAPI background task manager\nflow (FlowRead | None): The flow to execute, loaded via dependency\ninput_request (SimplifiedAPIRequest | None): Input parameters for the flow\nstream (bool): Whether to stream the response\napi_key_user (UserRead): Authenticated user from API key\nrequest (Request): The incoming HTTP request"}),"\n",(0,s.jsx)(n.p,{children:"Returns:\nUnion[StreamingResponse, RunResponse]: Either a streaming response for real-time results\nor a RunResponse with the complete execution results"}),"\n",(0,s.jsx)(n.p,{children:"Raises:\nHTTPException: For flow not found (404) or invalid input (400)\nAPIException: For internal execution errors (500)"}),"\n",(0,s.jsx)(n.p,{children:"Notes:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Supports both streaming and non-streaming execution modes"}),"\n",(0,s.jsx)(n.li,{children:"Tracks execution time and success/failure via telemetry"}),"\n",(0,s.jsx)(n.li,{children:"Handles graceful client disconnection in streaming mode"}),"\n",(0,s.jsx)(n.li,{children:"Provides detailed error handling with appropriate HTTP status codes"}),"\n",(0,s.jsxs)(n.li,{children:["In streaming mode, uses EventManager to handle events:","\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:'"add_message": New messages during execution'}),"\n",(0,s.jsx)(n.li,{children:'"token": Individual tokens during streaming'}),"\n",(0,s.jsx)(n.li,{children:'"end": Final execution result'}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("th",{style:{textAlign:"left"},children:"Path Parameters"})})}),(0,s.jsx)("tbody",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"flow_id_or_name"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" Flow Id Or Name"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,s.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-required)"},children:" REQUIRED"})]})})})]}),"\n",(0,s.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("th",{style:{textAlign:"left"},children:"Query Parameters"})})}),(0,s.jsxs)("tbody",{children:[(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"stream"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" Stream"})]})}),(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"user_id"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" User Id"})]})})]})]}),"\n",(0,s.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("th",{style:{textAlign:"left"},children:[(0,s.jsx)("span",{children:"Request Body "}),(0,s.jsx)("div",{})]})})}),(0,s.jsx)("tbody",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("td",{children:(0,s.jsx)("span",{style:{opacity:"0.6"},children:" undefined"})})})})]}),"\n",(0,s.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("th",{style:{textAlign:"left"},children:"Responses"})})}),(0,s.jsxs)("tbody",{children:[(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsx)("div",{style:{marginRight:"var(--ifm-table-cell-padding)"},children:(0,s.jsx)("code",{children:"200"})}),(0,s.jsx)("div",{children:(0,s.jsx)(n.p,{children:"Successful Response"})})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("th",{style:{textAlign:"left"},children:[(0,s.jsx)("span",{children:"Schema "}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,s.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,s.jsx)("div",{})]})})}),(0,s.jsx)("tbody",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("td",{children:(0,s.jsx)("span",{style:{opacity:"0.6"},children:" undefined"})})})})]})})]})}),(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsx)("div",{style:{marginRight:"var(--ifm-table-cell-padding)"},children:(0,s.jsx)("code",{children:"422"})}),(0,s.jsx)("div",{children:(0,s.jsx)(n.p,{children:"Validation Error"})})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("th",{style:{textAlign:"left"},children:[(0,s.jsx)("span",{children:"Schema "}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,s.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,s.jsx)("div",{})]})})}),(0,s.jsx)("tbody",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"detail"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" object[]"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,s.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,s.jsx)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:(0,s.jsxs)("tbody",{children:[(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"loc"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" undefined[]"})]})}),(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"msg"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" Message"})]})}),(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"type"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" Error Type"})]})})]})})]})})})]})})]})})]})]})]})}function c(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1845],{28453:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>o});var i=t(96540);const s={},r=i.createContext(s);function a(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),i.createElement(r.Provider,{value:n},e.children)}},83640:(e,n,t)=>{t.r(n),t.d(n,{contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>l});const i=JSON.parse('{"type":"api","id":"simplified-run-flow","title":"Simplified Run Flow","description":"","slug":"/simplified-run-flow","frontMatter":{},"api":{"tags":["Base"],"description":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","operationId":"simplified_run_flow_api_v1_run__flow_id_or_name__post","security":[{"API key query":[]},{"API key header":[]}],"parameters":[{"name":"flow_id_or_name","in":"path","required":true,"schema":{"type":"string","title":"Flow Id Or Name"}},{"name":"stream","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Stream"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"properties":{"input_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Value","description":"The input value"},"input_type":{"anyOf":[{"type":"string","enum":["chat","text","any"]},{"type":"null"}],"title":"Input Type","description":"The input type","default":"chat"},"output_type":{"anyOf":[{"type":"string","enum":["chat","text","any","debug"]},{"type":"null"}],"title":"Output Type","description":"The output type","default":"chat"},"output_component":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Component","description":"If there are multiple output components, you can specify the component to get the output from.","default":""},"tweaks":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"object","title":"Tweaks","description":"A dictionary of tweaks to adjust the flow\'s execution. Allows customizing flow behavior dynamically. All tweaks are overridden by the input values.","examples":[{"Component Name":{"parameter_name":"value"},"component_id":{"parameter_name":"value"},"parameter_name":"value"}]},{"type":"null"}],"description":"The tweaks"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id","description":"The session id"}},"type":"object","title":"SimplifiedAPIRequest"},{"type":"null"}],"title":"Input Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}},"method":"post","path":"/api/v1/run/{flow_id_or_name}","securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"api/v1/login"}}},"API key query":{"type":"apiKey","in":"query","name":"x-api-key"},"API key header":{"type":"apiKey","in":"header","name":"x-api-key"}},"info":{"title":"Langflow","version":"1.1.4"},"postman":{"name":"Simplified Run Flow","description":{"content":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","type":"text/plain"},"url":{"path":["api","v1","run",":flow_id_or_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"stream","value":"false"},{"disabled":false,"key":"user_id","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"flow_id_or_name"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\\n \\"input_value\\": \\"\\",\\n \\"input_type\\": \\"\\",\\n \\"output_type\\": \\"\\",\\n \\"output_component\\": \\"\\",\\n \\"tweaks\\": {\\n \\"magna_b\\": \\"\\"\\n },\\n \\"session_id\\": \\"\\"\\n}","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"{{apiKey}}","key":"value"},{"type":"any","value":"query","key":"in"}]}}},"source":"@site/openapi.json","sourceDirName":".","permalink":"/api/simplified-run-flow","previous":{"title":"Get All","permalink":"/api/get-all"},"next":{"title":"Webhook Run Flow","permalink":"/api/webhook-run-flow"}}');var s=t(74848),r=t(28453);const a={},o="Simplified Run Flow",l=[];function d(e){const n={h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"simplified-run-flow",children:"Simplified Run Flow"})}),"\n",(0,s.jsx)(n.p,{children:"Executes a specified flow by ID with support for streaming and telemetry."}),"\n",(0,s.jsx)(n.p,{children:"This endpoint executes a flow identified by ID or name, with options for streaming the response\nand tracking execution metrics. It handles both streaming and non-streaming execution modes."}),"\n",(0,s.jsx)(n.p,{children:"Args:\nbackground_tasks (BackgroundTasks): FastAPI background task manager\nflow (FlowRead | None): The flow to execute, loaded via dependency\ninput_request (SimplifiedAPIRequest | None): Input parameters for the flow\nstream (bool): Whether to stream the response\napi_key_user (UserRead): Authenticated user from API key\nrequest (Request): The incoming HTTP request"}),"\n",(0,s.jsx)(n.p,{children:"Returns:\nUnion[StreamingResponse, RunResponse]: Either a streaming response for real-time results\nor a RunResponse with the complete execution results"}),"\n",(0,s.jsx)(n.p,{children:"Raises:\nHTTPException: For flow not found (404) or invalid input (400)\nAPIException: For internal execution errors (500)"}),"\n",(0,s.jsx)(n.p,{children:"Notes:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Supports both streaming and non-streaming execution modes"}),"\n",(0,s.jsx)(n.li,{children:"Tracks execution time and success/failure via telemetry"}),"\n",(0,s.jsx)(n.li,{children:"Handles graceful client disconnection in streaming mode"}),"\n",(0,s.jsx)(n.li,{children:"Provides detailed error handling with appropriate HTTP status codes"}),"\n",(0,s.jsxs)(n.li,{children:["In streaming mode, uses EventManager to handle events:","\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:'"add_message": New messages during execution'}),"\n",(0,s.jsx)(n.li,{children:'"token": Individual tokens during streaming'}),"\n",(0,s.jsx)(n.li,{children:'"end": Final execution result'}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("th",{style:{textAlign:"left"},children:"Path Parameters"})})}),(0,s.jsx)("tbody",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"flow_id_or_name"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" Flow Id Or Name"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,s.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-required)"},children:" REQUIRED"})]})})})]}),"\n",(0,s.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("th",{style:{textAlign:"left"},children:"Query Parameters"})})}),(0,s.jsxs)("tbody",{children:[(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"stream"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" Stream"})]})}),(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"user_id"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" User Id"})]})})]})]}),"\n",(0,s.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("th",{style:{textAlign:"left"},children:[(0,s.jsx)("span",{children:"Request Body "}),(0,s.jsx)("div",{})]})})}),(0,s.jsx)("tbody",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("td",{children:(0,s.jsx)("span",{style:{opacity:"0.6"},children:" undefined"})})})})]}),"\n",(0,s.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("th",{style:{textAlign:"left"},children:"Responses"})})}),(0,s.jsxs)("tbody",{children:[(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsx)("div",{style:{marginRight:"var(--ifm-table-cell-padding)"},children:(0,s.jsx)("code",{children:"200"})}),(0,s.jsx)("div",{children:(0,s.jsx)(n.p,{children:"Successful Response"})})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("th",{style:{textAlign:"left"},children:[(0,s.jsx)("span",{children:"Schema "}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,s.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,s.jsx)("div",{})]})})}),(0,s.jsx)("tbody",{children:(0,s.jsx)("tr",{children:(0,s.jsx)("td",{children:(0,s.jsx)("span",{style:{opacity:"0.6"},children:" undefined"})})})})]})})]})}),(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsx)("div",{style:{marginRight:"var(--ifm-table-cell-padding)"},children:(0,s.jsx)("code",{children:"422"})}),(0,s.jsx)("div",{children:(0,s.jsx)(n.p,{children:"Validation Error"})})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("th",{style:{textAlign:"left"},children:[(0,s.jsx)("span",{children:"Schema "}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,s.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,s.jsx)("div",{})]})})}),(0,s.jsx)("tbody",{children:(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"detail"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" object[]"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,s.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,s.jsx)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:(0,s.jsxs)("tbody",{children:[(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"loc"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" undefined[]"})]})}),(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"msg"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" Message"})]})}),(0,s.jsx)("tr",{children:(0,s.jsxs)("td",{children:[(0,s.jsx)("code",{children:"type"}),(0,s.jsx)("span",{style:{opacity:"0.6"},children:" Error Type"})]})})]})})]})})})]})})]})})]})]})]})}function c(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}}}]);
\ No newline at end of file
diff --git a/assets/js/9822a706.273286e1.js b/assets/js/9822a706.273286e1.js
new file mode 100644
index 0000000000..2da38fa769
--- /dev/null
+++ b/assets/js/9822a706.273286e1.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[5634],{19680:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/starter-flow-simple-agent-71d0dec218a5da8e3110c51716f1c91e.png"},90172:(e,t,n)=>{n.r(t),n.d(t,{CH:()=>d,assets:()=>l,chCodeConfig:()=>h,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>o,toc:()=>p});const o=JSON.parse('{"id":"Starter-Projects/starter-projects-simple-agent","title":"Simple agent","description":"Build a Simple Agent flow for an agentic application using the Tool-calling agent component.","source":"@site/docs/Starter-Projects/starter-projects-simple-agent.md","sourceDirName":"Starter-Projects","slug":"/starter-projects-simple-agent","permalink":"/starter-projects-simple-agent","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Simple agent","slug":"/starter-projects-simple-agent"},"sidebar":"docs","previous":{"title":"Vector store RAG","permalink":"/starter-projects-vector-store-rag"},"next":{"title":"Blog writer","permalink":"/tutorials-blog-writer"}}');var s=n(74848),r=n(28453),i=n(24754);const a={title:"Simple agent",slug:"/starter-projects-simple-agent"},c=void 0,l={},d={annotations:i.hk,Code:i.Cy},h={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},p=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Open Langflow and start a new flow",id:"open-langflow-and-start-a-new-flow",level:2},{value:"Simple Agent flow",id:"simple-agent-flow",level:2},{value:"Run the Simple Agent flow",id:"run-the-simple-agent-flow",level:2}];function g(e){const t={code:"code",h2:"h2",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return d||f("CH",!1),d.Code||f("CH.Code",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n",(0,s.jsxs)(t.p,{children:["Build a ",(0,s.jsx)(t.strong,{children:"Simple Agent"})," flow for an agentic application using the ",(0,s.jsx)(t.strong,{children:"Tool-calling agent"})," component."]}),"\n",(0,s.jsxs)(t.p,{children:["An ",(0,s.jsx)(t.strong,{children:"agent"}),' uses an LLM as its "brain" to select among the connected tools and complete its tasks.']}),"\n",(0,s.jsxs)(t.p,{children:["In this flow, the ",(0,s.jsx)(t.strong,{children:"Tool-calling agent"})," reasons using an ",(0,s.jsx)(t.strong,{children:"Open AI"})," LLM.\nThe agent selects the ",(0,s.jsx)(t.strong,{children:"Calculator"})," tool for simple math problems and the ",(0,s.jsx)(t.strong,{children:"URL"})," tool to search a URL for content."]}),"\n",(0,s.jsx)(t.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,s.jsx)(t.p,{children:"To use this flow, you need an OpenAI API key."}),"\n",(0,s.jsx)(t.h2,{id:"open-langflow-and-start-a-new-flow",children:"Open Langflow and start a new flow"}),"\n",(0,s.jsxs)(t.p,{children:["Click ",(0,s.jsx)(t.strong,{children:"New Flow"}),", and then select the ",(0,s.jsx)(t.strong,{children:"Simple Agent"})," flow."]}),"\n",(0,s.jsx)(t.p,{children:"This opens a starter flow with the necessary components to run an agentic application using the Tool-calling agent."}),"\n",(0,s.jsx)(t.h2,{id:"simple-agent-flow",children:"Simple Agent flow"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"Simple agent starter flow",src:n(19680).A+"",width:"1732",height:"1748"})}),"\n",(0,s.jsxs)(t.p,{children:["The ",(0,s.jsx)(t.strong,{children:"Simple Agent"})," flow consists of these components:"]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["The ",(0,s.jsx)(t.strong,{children:"Tool calling agent"})," component uses the connected LLM to reason through the user's input and select among the connected tools to complete its task."]}),"\n",(0,s.jsxs)(t.li,{children:["The ",(0,s.jsx)(t.strong,{children:"URL"})," tool component searches a list of URLs for content."]}),"\n",(0,s.jsxs)(t.li,{children:["The ",(0,s.jsx)(t.strong,{children:"Calculator"})," component performs basic arithmetic operations."]}),"\n",(0,s.jsxs)(t.li,{children:["The ",(0,s.jsx)(t.strong,{children:"Chat Input"})," component accepts user input to the chat."]}),"\n",(0,s.jsxs)(t.li,{children:["The ",(0,s.jsx)(t.strong,{children:"Prompt"})," component combines the user input with a user-defined prompt."]}),"\n",(0,s.jsxs)(t.li,{children:["The ",(0,s.jsx)(t.strong,{children:"Chat Output"})," component prints the flow's output to the chat."]}),"\n",(0,s.jsxs)(t.li,{children:["The ",(0,s.jsx)(t.strong,{children:"OpenAI"})," model component sends the user input and prompt to the OpenAI API and receives a response."]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"run-the-simple-agent-flow",children:"Run the Simple Agent flow"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsx)(t.li,{children:"Add your credentials to the Open AI component."}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Playground"})," to start a chat session."]}),"\n",(0,s.jsxs)(t.li,{children:["To confirm the tools are connected, ask the agent, ",(0,s.jsx)(t.code,{children:"What tools are available to you?"}),"\nThe response is similar to the following:"]}),"\n"]}),"\n",(0,s.jsx)(d.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"I have access to the following tools:",props:{}}]},{tokens:[{content:"Calculator: Perform basic arithmetic operations.",props:{}}]},{tokens:[{content:"fetch_content: Load and retrieve data from specified URLs.",props:{}}]},{tokens:[{content:"fetch_content_text: Load and retrieve text data from specified URLs.",props:{}}]},{tokens:[{content:"as_dataframe: Load and retrieve data in a structured format (dataframe) from specified URLs.",props:{}}]},{tokens:[{content:"get_current_date: Returns the current date and time in a selected timezone.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(t.ol,{start:"4",children:["\n",(0,s.jsxs)(t.li,{children:["Ask the agent a question. For example, ask it to create a tabletop character using your favorite rules set.\nThe agent will tell you when it's using the ",(0,s.jsx)(t.code,{children:"URL-fetch_content_text"})," tool to search for rules information, and when it's using ",(0,s.jsx)(t.code,{children:"CalculatorComponent-evaluate_expression"})," to generate attributes with dice rolls.\nThe final output should be similar to this:"]}),"\n"]}),"\n",(0,s.jsx)(d.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"Final Attributes",props:{}}]},{tokens:[{content:"Strength (STR): 10",props:{}}]},{tokens:[{content:"Constitution (CON): 12",props:{}}]},{tokens:[{content:"Size (SIZ): 14",props:{}}]},{tokens:[{content:"Dexterity (DEX): 9",props:{}}]},{tokens:[{content:"Intelligence (INT): 11",props:{}}]},{tokens:[{content:"Power (POW): 13",props:{}}]},{tokens:[{content:"Charisma (CHA): 8",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(t.p,{children:["Now that your query has completed the journey from ",(0,s.jsx)(t.strong,{children:"Chat input"})," to ",(0,s.jsx)(t.strong,{children:"Chat output"}),", you have completed the ",(0,s.jsx)(t.strong,{children:"Simple Agent"})," flow."]})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}function f(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}}}]);
\ No newline at end of file
diff --git a/assets/js/9822a706.b7885256.js b/assets/js/9822a706.b7885256.js
deleted file mode 100644
index cced80c23a..0000000000
--- a/assets/js/9822a706.b7885256.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[5634],{90172:(e,t,n)=>{n.r(t),n.d(t,{CH:()=>d,assets:()=>l,chCodeConfig:()=>h,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>o,toc:()=>p});const o=JSON.parse('{"id":"Starter-Projects/starter-projects-simple-agent","title":"Simple agent","description":"Build a Simple Agent flow for an agentic application using the Tool-calling agent component.","source":"@site/docs/Starter-Projects/starter-projects-simple-agent.md","sourceDirName":"Starter-Projects","slug":"/starter-projects-simple-agent","permalink":"/starter-projects-simple-agent","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Simple agent","slug":"/starter-projects-simple-agent"},"sidebar":"docs","previous":{"title":"Vector store RAG","permalink":"/starter-projects-vector-store-rag"},"next":{"title":"Blog writer","permalink":"/tutorials-blog-writer"}}');var r=n(74848),s=n(28453),i=n(24754);const a={title:"Simple agent",slug:"/starter-projects-simple-agent"},c=void 0,l={},d={annotations:i.hk,Code:i.Cy},h={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},p=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Open Langflow and start a new flow",id:"open-langflow-and-start-a-new-flow",level:2},{value:"Simple Agent flow",id:"simple-agent-flow",level:2},{value:"Run the Simple Agent flow",id:"run-the-simple-agent-flow",level:2}];function g(e){const t={code:"code",h2:"h2",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return d||f("CH",!1),d.Code||f("CH.Code",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n",(0,r.jsxs)(t.p,{children:["Build a ",(0,r.jsx)(t.strong,{children:"Simple Agent"})," flow for an agentic application using the ",(0,r.jsx)(t.strong,{children:"Tool-calling agent"})," component."]}),"\n",(0,r.jsxs)(t.p,{children:["An ",(0,r.jsx)(t.strong,{children:"agent"}),' uses an LLM as its "brain" to select among the connected tools and complete its tasks.']}),"\n",(0,r.jsxs)(t.p,{children:["In this flow, the ",(0,r.jsx)(t.strong,{children:"Tool-calling agent"})," reasons using an ",(0,r.jsx)(t.strong,{children:"Open AI"})," LLM.\nThe agent selects the ",(0,r.jsx)(t.strong,{children:"Calculator"})," tool for simple math problems and the ",(0,r.jsx)(t.strong,{children:"URL"})," tool to search a URL for content."]}),"\n",(0,r.jsx)(t.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,r.jsx)(t.p,{children:"To use this flow, you need an OpenAI API key."}),"\n",(0,r.jsx)(t.h2,{id:"open-langflow-and-start-a-new-flow",children:"Open Langflow and start a new flow"}),"\n",(0,r.jsxs)(t.p,{children:["Click ",(0,r.jsx)(t.strong,{children:"New Flow"}),", and then select the ",(0,r.jsx)(t.strong,{children:"Simple Agent"})," flow."]}),"\n",(0,r.jsx)(t.p,{children:"This opens a starter flow with the necessary components to run an agentic application using the Tool-calling agent."}),"\n",(0,r.jsx)(t.h2,{id:"simple-agent-flow",children:"Simple Agent flow"}),"\n",(0,r.jsx)("img",{src:"/img/starter-flow-simple-agent.png",alt:"Starter flow simple agent",width:"75%"}),"\n",(0,r.jsxs)(t.p,{children:["The ",(0,r.jsx)(t.strong,{children:"Simple Agent"})," flow consists of these components:"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:["The ",(0,r.jsx)(t.strong,{children:"Tool calling agent"})," component uses the connected LLM to reason through the user's input and select among the connected tools to complete its task."]}),"\n",(0,r.jsxs)(t.li,{children:["The ",(0,r.jsx)(t.strong,{children:"URL"})," tool component searches a list of URLs for content."]}),"\n",(0,r.jsxs)(t.li,{children:["The ",(0,r.jsx)(t.strong,{children:"Calculator"})," component performs basic arithmetic operations."]}),"\n",(0,r.jsxs)(t.li,{children:["The ",(0,r.jsx)(t.strong,{children:"Chat Input"})," component accepts user input to the chat."]}),"\n",(0,r.jsxs)(t.li,{children:["The ",(0,r.jsx)(t.strong,{children:"Prompt"})," component combines the user input with a user-defined prompt."]}),"\n",(0,r.jsxs)(t.li,{children:["The ",(0,r.jsx)(t.strong,{children:"Chat Output"})," component prints the flow's output to the chat."]}),"\n",(0,r.jsxs)(t.li,{children:["The ",(0,r.jsx)(t.strong,{children:"OpenAI"})," model component sends the user input and prompt to the OpenAI API and receives a response."]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"run-the-simple-agent-flow",children:"Run the Simple Agent flow"}),"\n",(0,r.jsxs)(t.ol,{children:["\n",(0,r.jsx)(t.li,{children:"Add your credentials to the Open AI component."}),"\n",(0,r.jsxs)(t.li,{children:["Click ",(0,r.jsx)(t.strong,{children:"Playground"})," to start a chat session."]}),"\n",(0,r.jsxs)(t.li,{children:["To confirm the tools are connected, ask the agent, ",(0,r.jsx)(t.code,{children:"What tools are available to you?"}),"\nThe response is similar to the following:"]}),"\n"]}),"\n",(0,r.jsx)(d.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"I have access to the following tools:",props:{}}]},{tokens:[{content:"Calculator: Perform basic arithmetic operations.",props:{}}]},{tokens:[{content:"fetch_content: Load and retrieve data from specified URLs.",props:{}}]},{tokens:[{content:"fetch_content_text: Load and retrieve text data from specified URLs.",props:{}}]},{tokens:[{content:"as_dataframe: Load and retrieve data in a structured format (dataframe) from specified URLs.",props:{}}]},{tokens:[{content:"get_current_date: Returns the current date and time in a selected timezone.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,r.jsxs)(t.ol,{start:"4",children:["\n",(0,r.jsxs)(t.li,{children:["Ask the agent a question. For example, ask it to create a tabletop character using your favorite rules set.\nThe agent will tell you when it's using the ",(0,r.jsx)(t.code,{children:"URL-fetch_content_text"})," tool to search for rules information, and when it's using ",(0,r.jsx)(t.code,{children:"CalculatorComponent-evaluate_expression"})," to generate attributes with dice rolls.\nThe final output should be similar to this:"]}),"\n"]}),"\n",(0,r.jsx)(d.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"Final Attributes",props:{}}]},{tokens:[{content:"Strength (STR): 10",props:{}}]},{tokens:[{content:"Constitution (CON): 12",props:{}}]},{tokens:[{content:"Size (SIZ): 14",props:{}}]},{tokens:[{content:"Dexterity (DEX): 9",props:{}}]},{tokens:[{content:"Intelligence (INT): 11",props:{}}]},{tokens:[{content:"Power (POW): 13",props:{}}]},{tokens:[{content:"Charisma (CHA): 8",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,r.jsxs)(t.p,{children:["Now that your query has completed the journey from ",(0,r.jsx)(t.strong,{children:"Chat input"})," to ",(0,r.jsx)(t.strong,{children:"Chat output"}),", you have completed the ",(0,r.jsx)(t.strong,{children:"Simple Agent"})," flow."]})]})}function u(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(g,{...e})}):g(e)}function f(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}}}]);
\ No newline at end of file
diff --git a/assets/js/a83bc7c0.42cb06ac.js b/assets/js/a83bc7c0.42cb06ac.js
deleted file mode 100644
index 88e274d042..0000000000
--- a/assets/js/a83bc7c0.42cb06ac.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[5628],{28453:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>i});var r=n(96540);const s={},o=r.createContext(s);function a(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(o.Provider,{value:t},e.children)}},60228:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>u,frontMatter:()=>i,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"Starter-Projects/starter-projects-vector-store-rag","title":"Vector store RAG","description":"Retrieval Augmented Generation, or RAG, is a pattern for training LLMs on your data and querying it.","source":"@site/docs/Starter-Projects/starter-projects-vector-store-rag.md","sourceDirName":"Starter-Projects","slug":"/starter-projects-vector-store-rag","permalink":"/starter-projects-vector-store-rag","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Vector store RAG","slug":"/starter-projects-vector-store-rag"},"sidebar":"docs","previous":{"title":"Basic prompting","permalink":"/starter-projects-basic-prompting"},"next":{"title":"Simple agent","permalink":"/starter-projects-simple-agent"}}');var s=n(74848),o=n(28453),a=n(84443);const i={title:"Vector store RAG",slug:"/starter-projects-vector-store-rag"},l=void 0,c={},d=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Open Langflow and start a new project",id:"open-langflow-and-start-a-new-project",level:2},{value:"Build the vector RAG flow",id:"build-the-vector-rag-flow",level:2},{value:"Run the Vector Store RAG flow",id:"run-the-vector-store-rag-flow",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Retrieval Augmented Generation, or RAG, is a pattern for training LLMs on your data and querying it."}),"\n",(0,s.jsxs)(t.p,{children:["RAG is backed by a\xa0",(0,s.jsx)(t.strong,{children:"vector store"}),", a vector database which stores embeddings of the ingested data."]}),"\n",(0,s.jsxs)(t.p,{children:["This enables\xa0",(0,s.jsx)(t.strong,{children:"vector search"}),", a more powerful and context-aware search."]}),"\n",(0,s.jsxs)(t.p,{children:["We've chosen\xa0",(0,s.jsx)(t.a,{href:"https://astra.datastax.com/signup?utm_source=langflow-pre-release&utm_medium=referral&utm_campaign=langflow-announcement&utm_content=create-a-free-astra-db-account",children:"Astra DB"}),"\xa0as the vector database for this starter flow, but you can follow along with any of Langflow's vector database options."]}),"\n",(0,s.jsx)(t.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://platform.openai.com/",children:"An OpenAI API key"})}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/get-started/quickstart.html",children:"An Astra DB vector database"}),"\xa0with:","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"An Astra DB application token"}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection",children:"A collection in Astra"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"open-langflow-and-start-a-new-project",children:"Open Langflow and start a new project"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["From the Langflow dashboard, click\xa0",(0,s.jsx)(t.strong,{children:"New Flow"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["Select\xa0",(0,s.jsx)(t.strong,{children:"Vector Store RAG"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["The\xa0",(0,s.jsx)(t.strong,{children:"Vector Store RAG"}),"\xa0flow is created."]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"build-the-vector-rag-flow",children:"Build the vector RAG flow"}),"\n",(0,s.jsx)(t.p,{children:"The vector store RAG flow is built of two separate flows for ingestion and query."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{src:n(85410).A+"",width:"2740",height:"1550"})}),"\n",(0,s.jsxs)(t.p,{children:["The\xa0",(0,s.jsx)(t.strong,{children:"Load Data Flow"})," (bottom of the screen) creates a searchable index to be queried for contextual similarity.\nThis flow populates the vector store with data from a local file.\nIt ingests data from a local file, splits it into chunks, indexes it in Astra DB, and computes embeddings for the chunks using the OpenAI embeddings model."]}),"\n",(0,s.jsxs)(t.p,{children:["The\xa0",(0,s.jsx)(t.strong,{children:"Retriever Flow"})," (top of the screen) embeds the user's queries into vectors, which are compared to the vector store data from the ",(0,s.jsx)(t.strong,{children:"Load Data Flow"})," for contextual similarity."]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Chat Input"})," receives user input from the ",(0,s.jsx)(t.strong,{children:"Playground"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"OpenAI Embeddings"})," converts the user query into vector form."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Astra DB"})," performs similarity search using the query vector."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Parse Data"})," processes the retrieved chunks."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Prompt"})," combines the user query with relevant context."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"OpenAI"})," generates the response using the prompt."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Chat Output"})," returns the response to the ",(0,s.jsx)(t.strong,{children:"Playground"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Configure the ",(0,s.jsx)(t.strong,{children:"OpenAI"})," model component.","\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["To create a global variable for the\xa0",(0,s.jsx)(t.strong,{children:"OpenAI"}),"\xa0component, in the\xa0",(0,s.jsx)(t.strong,{children:"OpenAI API Key"}),"\xa0field, click the\xa0",(0,s.jsx)(a.A,{name:"Globe","aria-label":"Globe"})," ",(0,s.jsx)(t.strong,{children:"Globe"}),"\xa0button, and then click\xa0",(0,s.jsx)(t.strong,{children:"Add New Variable"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["In the\xa0",(0,s.jsx)(t.strong,{children:"Variable Name"}),"\xa0field, enter\xa0",(0,s.jsx)(t.code,{children:"openai_api_key"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["In the\xa0",(0,s.jsx)(t.strong,{children:"Value"}),"\xa0field, paste your OpenAI API Key (",(0,s.jsx)(t.code,{children:"sk-..."}),")."]}),"\n",(0,s.jsxs)(t.li,{children:["Click\xa0",(0,s.jsx)(t.strong,{children:"Save Variable"}),"."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["Configure the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component.","\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["In the ",(0,s.jsx)(t.strong,{children:"Astra DB Application Token"})," field, add your ",(0,s.jsx)(t.strong,{children:"Astra DB"})," application token.\nThe component connects to your database and populates the menus with existing databases and collections."]}),"\n",(0,s.jsxs)(t.li,{children:["Select your ",(0,s.jsx)(t.strong,{children:"Database"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["Select your ",(0,s.jsx)(t.strong,{children:"Collection"}),". Collections are created in your ",(0,s.jsx)(t.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"})," for storing vector data.\nIf you don't have a collection, see the ",(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection",children:"DataStax Astra DB Serverless documentation"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["Select ",(0,s.jsx)(t.strong,{children:"Embedding Model"})," to bring your own embeddings model, which is the connected ",(0,s.jsx)(t.strong,{children:"OpenAI Embeddings"})," component.\nThe ",(0,s.jsx)(t.strong,{children:"Dimensions"})," value must match the dimensions of your collection. You can find this value in the ",(0,s.jsx)(t.strong,{children:"Collection"})," in your ",(0,s.jsx)(t.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"}),"."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["If you used Langflow's ",(0,s.jsx)(t.strong,{children:"Global Variables"})," feature, the RAG application flow components are already configured with the necessary credentials."]}),"\n",(0,s.jsx)(t.h2,{id:"run-the-vector-store-rag-flow",children:"Run the Vector Store RAG flow"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Click the\xa0",(0,s.jsx)(t.strong,{children:"Playground"}),"\xa0button. Here you can chat with the AI that uses context from the database you created."]}),"\n",(0,s.jsx)(t.li,{children:'Type a message and press Enter. (Try something like "What topics do you know about?")'}),"\n",(0,s.jsx)(t.li,{children:"The bot will respond with a summary of the data you've embedded."}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},84443:(e,t,n)=>{n.d(t,{A:()=>o});n(96540);var r=n(64058),s=n(74848);function o(e){let{name:t,...n}=e;const o=r[t];return o?(0,s.jsx)(o,{...n}):null}},85410:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/starter-flow-vector-rag-d83743e5e049082b9c7a37aaa7b930e9.png"}}]);
\ No newline at end of file
diff --git a/assets/js/a83bc7c0.c592eecf.js b/assets/js/a83bc7c0.c592eecf.js
new file mode 100644
index 0000000000..296dceee50
--- /dev/null
+++ b/assets/js/a83bc7c0.c592eecf.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[5628],{28453:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>a});var r=t(96540);const s={},o=r.createContext(s);function i(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:n},e.children)}},60228:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>l,default:()=>g,frontMatter:()=>a,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"Starter-Projects/starter-projects-vector-store-rag","title":"Vector store RAG","description":"Retrieval Augmented Generation, or RAG, is a pattern for training LLMs on your data and querying it.","source":"@site/docs/Starter-Projects/starter-projects-vector-store-rag.md","sourceDirName":"Starter-Projects","slug":"/starter-projects-vector-store-rag","permalink":"/starter-projects-vector-store-rag","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Vector store RAG","slug":"/starter-projects-vector-store-rag"},"sidebar":"docs","previous":{"title":"Basic prompting","permalink":"/starter-projects-basic-prompting"},"next":{"title":"Simple agent","permalink":"/starter-projects-simple-agent"}}');var s=t(74848),o=t(28453),i=t(84443);const a={title:"Vector store RAG",slug:"/starter-projects-vector-store-rag"},l=void 0,c={},d=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Open Langflow and start a new project",id:"open-langflow-and-start-a-new-project",level:2},{value:"Build the vector RAG flow",id:"build-the-vector-rag-flow",level:2},{value:"Run the Vector Store RAG flow",id:"run-the-vector-store-rag-flow",level:2}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:"Retrieval Augmented Generation, or RAG, is a pattern for training LLMs on your data and querying it."}),"\n",(0,s.jsxs)(n.p,{children:["RAG is backed by a\xa0",(0,s.jsx)(n.strong,{children:"vector store"}),", a vector database which stores embeddings of the ingested data."]}),"\n",(0,s.jsxs)(n.p,{children:["This enables\xa0",(0,s.jsx)(n.strong,{children:"vector search"}),", a more powerful and context-aware search."]}),"\n",(0,s.jsxs)(n.p,{children:["We've chosen\xa0",(0,s.jsx)(n.a,{href:"https://astra.datastax.com/signup?utm_source=langflow-pre-release&utm_medium=referral&utm_campaign=langflow-announcement&utm_content=create-a-free-astra-db-account",children:"Astra DB"}),"\xa0as the vector database for this starter flow, but you can follow along with any of Langflow's vector database options."]}),"\n",(0,s.jsx)(n.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://platform.openai.com/",children:"An OpenAI API key"})}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://docs.datastax.com/en/astra-db-serverless/get-started/quickstart.html",children:"An Astra DB vector database"}),"\xa0with the following:","\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"An Astra DB application token scoped to read and write to the database"}),"\n",(0,s.jsxs)(n.li,{children:["A collection created in ",(0,s.jsx)(n.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection",children:"Astra"})," or a new collection created in the ",(0,s.jsx)(n.strong,{children:"Astra DB"})," component"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"open-langflow-and-start-a-new-project",children:"Open Langflow and start a new project"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["From the Langflow dashboard, click\xa0",(0,s.jsx)(n.strong,{children:"New Flow"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["Select\xa0",(0,s.jsx)(n.strong,{children:"Vector Store RAG"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["The\xa0",(0,s.jsx)(n.strong,{children:"Vector Store RAG"}),"\xa0flow is created."]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"build-the-vector-rag-flow",children:"Build the vector RAG flow"}),"\n",(0,s.jsx)(n.p,{children:"The vector store RAG flow is built of two separate flows for ingestion and query."}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:t(85410).A+"",width:"2740",height:"1550"})}),"\n",(0,s.jsxs)(n.p,{children:["The\xa0",(0,s.jsx)(n.strong,{children:"Load Data Flow"})," (bottom of the screen) creates a searchable index to be queried for contextual similarity.\nThis flow populates the vector store with data from a local file.\nIt ingests data from a local file, splits it into chunks, indexes it in Astra DB, and computes embeddings for the chunks using the OpenAI embeddings model."]}),"\n",(0,s.jsxs)(n.p,{children:["The\xa0",(0,s.jsx)(n.strong,{children:"Retriever Flow"})," (top of the screen) embeds the user's queries into vectors, which are compared to the vector store data from the ",(0,s.jsx)(n.strong,{children:"Load Data Flow"})," for contextual similarity."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Chat Input"})," receives user input from the ",(0,s.jsx)(n.strong,{children:"Playground"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"OpenAI Embeddings"})," converts the user query into vector form."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Astra DB"})," performs similarity search using the query vector."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Parse Data"})," processes the retrieved chunks."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Prompt"})," combines the user query with relevant context."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"OpenAI"})," generates the response using the prompt."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Chat Output"})," returns the response to the ",(0,s.jsx)(n.strong,{children:"Playground"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["Configure the ",(0,s.jsx)(n.strong,{children:"OpenAI"})," model component."]}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["To create a global variable for the\xa0",(0,s.jsx)(n.strong,{children:"OpenAI"}),"\xa0component, in the\xa0",(0,s.jsx)(n.strong,{children:"OpenAI API Key"}),"\xa0field, click the\xa0",(0,s.jsx)(i.A,{name:"Globe","aria-label":"Globe"})," ",(0,s.jsx)(n.strong,{children:"Globe"}),"\xa0button, and then click\xa0",(0,s.jsx)(n.strong,{children:"Add New Variable"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["In the\xa0",(0,s.jsx)(n.strong,{children:"Variable Name"}),"\xa0field, enter\xa0",(0,s.jsx)(n.code,{children:"openai_api_key"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["In the\xa0",(0,s.jsx)(n.strong,{children:"Value"}),"\xa0field, paste your OpenAI API Key (",(0,s.jsx)(n.code,{children:"sk-..."}),")."]}),"\n",(0,s.jsxs)(n.li,{children:["Click\xa0",(0,s.jsx)(n.strong,{children:"Save Variable"}),"."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["Configure the ",(0,s.jsx)(n.strong,{children:"Astra DB"})," component."]}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["In the ",(0,s.jsx)(n.strong,{children:"Astra DB Application Token"})," field, add your ",(0,s.jsx)(n.strong,{children:"Astra DB"})," application token.\nThe component connects to your database and populates the menus with existing databases and collections."]}),"\n",(0,s.jsxs)(n.li,{children:["Select your ",(0,s.jsx)(n.strong,{children:"Database"}),".\nIf you don't have a collection, select ",(0,s.jsx)(n.strong,{children:"New database"}),".\nComplete the ",(0,s.jsx)(n.strong,{children:"Name"}),", ",(0,s.jsx)(n.strong,{children:"Cloud provider"}),", and ",(0,s.jsx)(n.strong,{children:"Region"})," fields, and then click ",(0,s.jsx)(n.strong,{children:"Create"}),". ",(0,s.jsx)(n.strong,{children:"Database creation takes a few minutes"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["Select your ",(0,s.jsx)(n.strong,{children:"Collection"}),". Collections are created in your ",(0,s.jsx)(n.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"})," for storing vector data."]}),"\n"]}),"\n",(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsxs)(n.p,{children:["If you select a collection embedded with Nvidia through Astra's vectorize service, the ",(0,s.jsx)(n.strong,{children:"Embedding Model"})," port is removed, because you have already generated embeddings for this collection with the Nvidia ",(0,s.jsx)(n.code,{children:"NV-Embed-QA"})," model. The component fetches the data from the collection, and uses the same embeddings for queries."]})}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"If you don't have a collection, create a new one within the component."}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["Select ",(0,s.jsx)(n.strong,{children:"New collection"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["Complete the ",(0,s.jsx)(n.strong,{children:"Name"}),", ",(0,s.jsx)(n.strong,{children:"Embedding generation method"}),", ",(0,s.jsx)(n.strong,{children:"Embedding model"}),", and ",(0,s.jsx)(n.strong,{children:"Dimensions"})," fields, and then click ",(0,s.jsx)(n.strong,{children:"Create"}),"."]}),"\n",(0,s.jsxs)(n.p,{children:["Your choice for the ",(0,s.jsx)(n.strong,{children:"Embedding generation method"})," and ",(0,s.jsx)(n.strong,{children:"Embedding model"})," depends on whether you want to use embeddings generated by a provider through Astra's vectorize service, or generated by a component in Langflow."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["To use embeddings generated by a provider through Astra's vectorize service, select the model from the ",(0,s.jsx)(n.strong,{children:"Embedding generation method"})," dropdown menu, and then select the model from the ",(0,s.jsx)(n.strong,{children:"Embedding model"})," dropdown menu."]}),"\n",(0,s.jsxs)(n.li,{children:["To use embeddings generated by a component in Langflow, select ",(0,s.jsx)(n.strong,{children:"Bring your own"})," for both the ",(0,s.jsx)(n.strong,{children:"Embedding generation method"})," and ",(0,s.jsx)(n.strong,{children:"Embedding model"})," fields. In this starter project, the option for the embeddings method and model is the ",(0,s.jsx)(n.strong,{children:"OpenAI Embeddings"})," component connected to the ",(0,s.jsx)(n.strong,{children:"Astra DB"})," component."]}),"\n",(0,s.jsxs)(n.li,{children:["The ",(0,s.jsx)(n.strong,{children:"Dimensions"})," value must match the dimensions of your collection. This field is ",(0,s.jsx)(n.strong,{children:"not required"})," if you use embeddings generated through Astra's vectorize service. You can find this value in the ",(0,s.jsx)(n.strong,{children:"Collection"})," in your ",(0,s.jsx)(n.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For more information, see the ",(0,s.jsx)(n.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html",children:"DataStax Astra DB Serverless documentation"}),"."]}),"\n"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["If you used Langflow's ",(0,s.jsx)(n.strong,{children:"Global Variables"})," feature, the RAG application flow components are already configured with the necessary credentials."]}),"\n",(0,s.jsx)(n.h2,{id:"run-the-vector-store-rag-flow",children:"Run the Vector Store RAG flow"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["Click the\xa0",(0,s.jsx)(n.strong,{children:"Playground"}),"\xa0button. Here you can chat with the AI that uses context from the database you created."]}),"\n",(0,s.jsx)(n.li,{children:'Type a message and press Enter. (Try something like "What topics do you know about?")'}),"\n",(0,s.jsx)(n.li,{children:"The bot will respond with a summary of the data you've embedded."}),"\n"]})]})}function g(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},84443:(e,n,t)=>{t.d(n,{A:()=>o});t(96540);var r=t(64058),s=t(74848);function o(e){let{name:n,...t}=e;const o=r[n];return o?(0,s.jsx)(o,{...t}):null}},85410:(e,n,t)=>{t.d(n,{A:()=>r});const r=t.p+"assets/images/starter-flow-vector-rag-d83743e5e049082b9c7a37aaa7b930e9.png"}}]);
\ No newline at end of file
diff --git a/assets/js/a9b4f8aa.c45c6703.js b/assets/js/a9b4f8aa.c45c6703.js
deleted file mode 100644
index d8800b698f..0000000000
--- a/assets/js/a9b4f8aa.c45c6703.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[4931],{15459:(e,t,n)=>{n.r(t),n.d(t,{CH:()=>h,assets:()=>d,chCodeConfig:()=>p,contentTitle:()=>l,default:()=>x,frontMatter:()=>a,metadata:()=>o,toc:()=>u});const o=JSON.parse('{"id":"Get-Started/get-started-quickstart","title":"Quickstart","description":"Get to know Langflow by building an OpenAI-powered chatbot application. After you\'ve constructed a chatbot, add Retrieval Augmented Generation (RAG) to chat with your own data.","source":"@site/docs/Get-Started/get-started-quickstart.md","sourceDirName":"Get-Started","slug":"/get-started-quickstart","permalink":"/get-started-quickstart","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Quickstart","slug":"/get-started-quickstart"},"sidebar":"docs","previous":{"title":"Install Langflow","permalink":"/get-started-installation"},"next":{"title":"Basic prompting","permalink":"/starter-projects-basic-prompting"}}');var s=n(74848),r=n(28453),i=n(24754),c=n(84443);const a={title:"Quickstart",slug:"/get-started-quickstart"},l=void 0,d={},h={annotations:i.hk,Code:i.Cy},p={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},u=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Open Langflow and start a new project",id:"open-langflow-and-start-a-new-project",level:2},{value:"Build the basic prompting flow",id:"build-the-basic-prompting-flow",level:2},{value:"Run the Basic Prompting flow",id:"run-basic-prompting-flow",level:3},{value:"Add vector RAG to your application",id:"add-vector-rag-to-your-application",level:2},{value:"Add vector RAG with the Astra DB component",id:"add-vector-rag-with-the-astra-db-component",level:2},{value:"Run the chatbot with retrieved context",id:"run-the-chatbot-with-retrieved-context",level:3},{value:"Next steps",id:"next-steps",level:2}];function g(e){const t={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return h||m("CH",!1),h.Code||m("CH.Code",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n","\n",(0,s.jsx)(t.p,{children:"Get to know Langflow by building an OpenAI-powered chatbot application. After you've constructed a chatbot, add Retrieval Augmented Generation (RAG) to chat with your own data."}),"\n",(0,s.jsx)(t.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://platform.openai.com/",children:"An OpenAI API key"})}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/get-started/quickstart.html",children:"An Astra DB vector database"}),"\xa0with:","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"An AstraDB application token"}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection",children:"A collection in Astra"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"open-langflow-and-start-a-new-project",children:"Open Langflow and start a new project"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["From the Langflow dashboard, click\xa0",(0,s.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,s.jsx)(t.strong,{children:"Blank Flow"}),". A blank workspace opens where you can build your flow."]}),"\n"]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["If you don't want to create a blank flow, click ",(0,s.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,s.jsx)(t.strong,{children:"Basic Prompting"})," for a pre-built flow.\nContinue to ",(0,s.jsx)(t.a,{href:"#run-basic-prompting-flow",children:"Run the basic prompting flow"}),"."]})}),"\n",(0,s.jsxs)(t.ol,{start:"2",children:["\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Select\xa0",(0,s.jsx)(t.strong,{children:"Basic Prompting"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["The\xa0",(0,s.jsx)(t.strong,{children:"Basic Prompting"}),"\xa0flow is created."]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"build-the-basic-prompting-flow",children:"Build the basic prompting flow"}),"\n",(0,s.jsx)(t.p,{children:"The Basic Prompting flow will look like this when it's completed:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{src:n(90567).A+"",width:"2500",height:"1528"})}),"\n",(0,s.jsxs)(t.p,{children:["To build the ",(0,s.jsx)(t.strong,{children:"Basic Prompting"})," flow, follow these steps:"]}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Inputs"}),", select the ",(0,s.jsx)(t.strong,{children:"Chat Input"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-io#chat-input",children:"Chat Input"})," component accepts user input to the chat."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Prompt"}),", select the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-prompts",children:"Prompt"})," component combines the user input with a user-defined prompt."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Outputs"}),", select the ",(0,s.jsx)(t.strong,{children:"Chat Output"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-io#chat-output",children:"Chat Output"})," component prints the flow's output to the chat."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Models"}),", select the ",(0,s.jsx)(t.strong,{children:"OpenAI"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"components-models#openai",children:"OpenAI"})," model component sends the user input and prompt to the OpenAI API and receives a response."]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"You should now have a flow that looks like this:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{src:n(32358).A+"",width:"2528",height:"1530"})}),"\n",(0,s.jsxs)(t.p,{children:["With no connections between them, the components won't interact with each other.\nYou want data to flow from ",(0,s.jsx)(t.strong,{children:"Chat Input"})," to ",(0,s.jsx)(t.strong,{children:"Chat Output"})," through the connections between the components.\nEach component accepts inputs on its left side, and sends outputs on its right side.\nHover over the connection ports to see the data types that the component accepts.\nFor more on component inputs and outputs, see ",(0,s.jsx)(t.a,{href:"/concepts-components",children:"Components overview"}),"."]}),"\n",(0,s.jsxs)(t.ol,{start:"5",children:["\n",(0,s.jsxs)(t.li,{children:["To connect the ",(0,s.jsx)(t.strong,{children:"Chat Input"})," component to the OpenAI model component, click and drag a line from the blue ",(0,s.jsx)(t.strong,{children:"Message"})," port to the OpenAI model component's ",(0,s.jsx)(t.strong,{children:"Input"})," port."]}),"\n",(0,s.jsxs)(t.li,{children:["To connect the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component to the OpenAI model component, click and drag a line from the blue ",(0,s.jsx)(t.strong,{children:"Prompt Message"})," port to the OpenAI model component's ",(0,s.jsx)(t.strong,{children:"System Message"})," port."]}),"\n",(0,s.jsxs)(t.li,{children:["To connect the ",(0,s.jsx)(t.strong,{children:"OpenAI"})," model component to the ",(0,s.jsx)(t.strong,{children:"Chat Output"}),", click and drag a line from the blue ",(0,s.jsx)(t.strong,{children:"Text"})," port to the ",(0,s.jsx)(t.strong,{children:"Chat Output"})," component's ",(0,s.jsx)(t.strong,{children:"Text"})," port."]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Your finished basic prompting flow should look like this:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{src:n(90567).A+"",width:"2500",height:"1528"})}),"\n",(0,s.jsx)(t.h3,{id:"run-basic-prompting-flow",children:"Run the Basic Prompting flow"}),"\n",(0,s.jsx)(t.p,{children:"Add your OpenAI API key to the OpenAI model component, and add a prompt to the Prompt component to instruct the model how to respond."}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Add your credentials to the OpenAI component. The fastest way to complete these fields is with Langflow\u2019s ",(0,s.jsx)(t.a,{href:"/configuration-global-variables",children:"Global Variables"}),"."]}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["In the OpenAI component\u2019s OpenAI API Key field, click the ",(0,s.jsx)(c.A,{name:"Globe","aria-label":"Globe"})," ",(0,s.jsx)(t.strong,{children:"Globe"}),"\xa0button, and then click ",(0,s.jsx)(t.strong,{children:"Add New Variable"}),".\nAlternatively, click your username in the top right corner, and then click ",(0,s.jsx)(t.strong,{children:"Settings"}),", ",(0,s.jsx)(t.strong,{children:"Global Variables"}),", and then ",(0,s.jsx)(t.strong,{children:"Add New"}),"."]}),"\n",(0,s.jsx)(t.li,{children:"Name your variable. Paste your OpenAI API key (sk-\u2026\u200b) in the Value field."}),"\n",(0,s.jsxs)(t.li,{children:["In the ",(0,s.jsx)(t.strong,{children:"Apply To Fields"})," field, select the OpenAI API Key field to apply this variable to all OpenAI Embeddings components."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["To add a prompt to the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component, click the ",(0,s.jsx)(t.strong,{children:"Template"})," field, and then enter your prompt.\nThe prompt guides the bot's responses to input.\nIf you're unsure, use ",(0,s.jsx)(t.code,{children:"Answer the user as if you were a GenAI expert, enthusiastic about helping them get started building something fresh."})]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Click ",(0,s.jsx)(t.strong,{children:"Playground"})," to start a chat session."]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Enter a query, and then make sure the bot responds according to the prompt you set in the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component."]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"You have successfully created a chatbot application using OpenAI in the Langflow Workspace."}),"\n",(0,s.jsx)(t.h2,{id:"add-vector-rag-to-your-application",children:"Add vector RAG to your application"}),"\n",(0,s.jsx)(t.p,{children:"You created a chatbot application with Langflow, but let's try an experiment."}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Ask the bot: ",(0,s.jsx)(t.code,{children:"Who won the Oscar in 2024 for best movie?"})]}),"\n",(0,s.jsx)(t.li,{children:"The bot's response is similar to this:"}),"\n"]}),"\n",(0,s.jsx)(h.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"I'm sorry, but I don't have information on events or awards that occurred after",props:{}}]},{tokens:[{content:"October 2023, including the Oscars in 2024.",props:{}}]},{tokens:[{content:"You may want to check the latest news or the official Oscars website",props:{}}]},{tokens:[{content:"for the most current information.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(t.p,{children:["Well, that's unfortunate, but you can load more up-to-date data with ",(0,s.jsx)(t.strong,{children:"Retrieval Augmented Generation"}),", or ",(0,s.jsx)(t.strong,{children:"RAG"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"Vector RAG allows you to load your own data and chat with it, unlocking a wider range of possibilities for your chatbot application."}),"\n",(0,s.jsx)(t.h2,{id:"add-vector-rag-with-the-astra-db-component",children:"Add vector RAG with the Astra DB component"}),"\n",(0,s.jsxs)(t.p,{children:["Build on the basic prompting flow and add vector RAG to your chatbot application with the ",(0,s.jsx)(t.strong,{children:"Astra DB Vector Store"})," component."]}),"\n",(0,s.jsxs)(t.p,{children:["Add document ingestion to your basic prompting flow, with the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component as the vector store."]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["If you don't want to create a blank flow, click ",(0,s.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,s.jsx)(t.strong,{children:"Vector RAG"})," for a pre-built flow."]})}),"\n",(0,s.jsx)(t.p,{children:"Adding vector RAG to the basic prompting flow will look like this when completed:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{src:n(69645).A+"",width:"2848",height:"1324"})}),"\n",(0,s.jsx)(t.p,{children:"To build the flow, follow these steps:"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Disconnect the ",(0,s.jsx)(t.strong,{children:"Chat Input"})," component from the ",(0,s.jsx)(t.strong,{children:"OpenAI"})," component by double-clicking on the connecting line."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Vector Stores"}),", select the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-vector-stores#astra-db-vector-store",children:"Astra DB vector store"})," component connects to your ",(0,s.jsx)(t.strong,{children:"Astra DB"})," database."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Data"}),", select the ",(0,s.jsx)(t.strong,{children:"File"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-data#file",children:"File"})," component loads files from your local machine."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Processing"}),", select the ",(0,s.jsx)(t.strong,{children:"Split Text"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-processing#split-text",children:"Split Text"})," component splits the loaded text into smaller chunks."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Processing"}),", select the ",(0,s.jsx)(t.strong,{children:"Parse Data"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-processing#data-to-message",children:"Data to Message"})," component converts the data from the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component into plain text."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Embeddings"}),", select the ",(0,s.jsx)(t.strong,{children:"OpenAI Embeddings"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-embedding-models#openai-embeddings",children:"OpenAI Embeddings"})," component generates embeddings for the user's input, which are compared to the vector data in the database."]}),"\n",(0,s.jsx)(t.li,{children:"Connect the new components into the existing flow, so your flow looks like this:"}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{src:n(69645).A+"",width:"2848",height:"1324"})}),"\n",(0,s.jsxs)(t.ol,{start:"8",children:["\n",(0,s.jsxs)(t.li,{children:["Configure the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component.","\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["In the ",(0,s.jsx)(t.strong,{children:"Astra DB Application Token"})," field, add your ",(0,s.jsx)(t.strong,{children:"Astra DB"})," application token.\nThe component connects to your database and populates the menus with existing databases and collections."]}),"\n",(0,s.jsxs)(t.li,{children:["Select your ",(0,s.jsx)(t.strong,{children:"Database"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["Select your ",(0,s.jsx)(t.strong,{children:"Collection"}),". Collections are created in your ",(0,s.jsx)(t.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"})," for storing vector data.\nIf you don't have a collection, see the ",(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection",children:"DataStax Astra DB Serverless documentation"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["Select ",(0,s.jsx)(t.strong,{children:"Embedding Model"})," to bring your own embeddings model, which is the connected ",(0,s.jsx)(t.strong,{children:"OpenAI Embeddings"})," component.\nThe ",(0,s.jsx)(t.strong,{children:"Dimensions"})," value must match the dimensions of your collection. This value can be found in your ",(0,s.jsx)(t.strong,{children:"Collection"})," in your ",(0,s.jsx)(t.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"}),"."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["If you used Langflow's ",(0,s.jsx)(t.strong,{children:"Global Variables"})," feature, the RAG application flow components are already configured with the necessary credentials."]}),"\n",(0,s.jsx)(t.h3,{id:"run-the-chatbot-with-retrieved-context",children:"Run the chatbot with retrieved context"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Modify the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component to contain variables for both ",(0,s.jsx)(t.code,{children:"{user_question}"})," and ",(0,s.jsx)(t.code,{children:"{context}"}),".\nThe ",(0,s.jsx)(t.code,{children:"{context}"})," variable gives the bot additional context for answering ",(0,s.jsx)(t.code,{children:"{user_question}"})," beyond what the LLM was trained on."]}),"\n"]}),"\n",(0,s.jsx)(h.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"Given the context",props:{}}]},{tokens:[{content:"{context}",props:{}}]},{tokens:[{content:"Answer the question",props:{}}]},{tokens:[{content:"{user_question}",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(t.ol,{start:"2",children:["\n",(0,s.jsxs)(t.li,{children:["In the ",(0,s.jsx)(t.strong,{children:"File"})," component, upload a text file from your local machine with data you want to ingest into the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component database.\nThis example uploads an up-to-date CSV about Oscar winners."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Playground"})," to start a chat session."]}),"\n",(0,s.jsxs)(t.li,{children:["Ask the bot: ",(0,s.jsx)(t.code,{children:"Who won the Oscar in 2024 for best movie?"})]}),"\n",(0,s.jsx)(t.li,{children:"The bot's response should be similar to this:"}),"\n"]}),"\n",(0,s.jsx)(h.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:'The Oscar for Best Picture in 2024 was awarded to "Oppenheimer,"',props:{}}]},{tokens:[{content:"produced by Emma Thomas, Charles Roven, and Christopher Nolan.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(t.p,{children:["Adding an ",(0,s.jsx)(t.strong,{children:"Astra DB"})," vector store brought your chatbot all the way into 2024.\nYou have successfully added RAG to your chatbot application using the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component."]}),"\n",(0,s.jsx)(t.h2,{id:"next-steps",children:"Next steps"}),"\n",(0,s.jsx)(t.p,{children:"This example used movie data, but the RAG pattern can be used with any data you want to load and chat with."}),"\n",(0,s.jsxs)(t.p,{children:["Make the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," database the brain that ",(0,s.jsx)(t.a,{href:"/agents-overview",children:"Agents"})," use to make decisions."]}),"\n",(0,s.jsxs)(t.p,{children:["Expose this flow as an ",(0,s.jsx)(t.a,{href:"/concepts-api",children:"API"})," and call it from your external applications."]}),"\n",(0,s.jsxs)(t.p,{children:["For more on the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component, see ",(0,s.jsx)(t.a,{href:"/components-vector-stores#astra-db-vector-store",children:"Astra DB vector store"}),"."]})]})}function x(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}function m(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},32358:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/quickstart-basic-prompt-no-connections-f5887f67c3448c39b74f7e28b65a0b18.png"},69645:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/quickstart-add-document-ingestion-5f9756b0a4b7e232b1507e12f335b15e.png"},84443:(e,t,n)=>{n.d(t,{A:()=>r});n(96540);var o=n(64058),s=n(74848);function r(e){let{name:t,...n}=e;const r=o[t];return r?(0,s.jsx)(r,{...n}):null}},90567:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/starter-flow-basic-prompting-09331815d7282bd6a3feedf84838ba20.png"}}]);
\ No newline at end of file
diff --git a/assets/js/a9b4f8aa.e12cb2aa.js b/assets/js/a9b4f8aa.e12cb2aa.js
new file mode 100644
index 0000000000..a37914c5f3
--- /dev/null
+++ b/assets/js/a9b4f8aa.e12cb2aa.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[4931],{15459:(e,t,n)=>{n.r(t),n.d(t,{CH:()=>h,assets:()=>l,chCodeConfig:()=>p,contentTitle:()=>d,default:()=>m,frontMatter:()=>a,metadata:()=>o,toc:()=>g});const o=JSON.parse('{"id":"Get-Started/get-started-quickstart","title":"Quickstart","description":"Get to know Langflow by building an OpenAI-powered chatbot application. After you\'ve constructed a chatbot, add Retrieval Augmented Generation (RAG) to chat with your own data.","source":"@site/docs/Get-Started/get-started-quickstart.md","sourceDirName":"Get-Started","slug":"/get-started-quickstart","permalink":"/get-started-quickstart","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Quickstart","slug":"/get-started-quickstart"},"sidebar":"docs","previous":{"title":"Install Langflow","permalink":"/get-started-installation"},"next":{"title":"Basic prompting","permalink":"/starter-projects-basic-prompting"}}');var s=n(74848),r=n(28453),i=n(24754),c=n(84443);const a={title:"Quickstart",slug:"/get-started-quickstart"},d=void 0,l={},h={annotations:i.hk,Code:i.Cy},p={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},g=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Open Langflow and start a new project",id:"open-langflow-and-start-a-new-project",level:2},{value:"Build the basic prompting flow",id:"build-the-basic-prompting-flow",level:2},{value:"Run the Basic Prompting flow",id:"run-basic-prompting-flow",level:3},{value:"Add vector RAG to your application",id:"add-vector-rag-to-your-application",level:2},{value:"Add vector RAG with the Astra DB component",id:"add-vector-rag-with-the-astra-db-component",level:2},{value:"Run the chatbot with retrieved context",id:"run-the-chatbot-with-retrieved-context",level:3},{value:"Next steps",id:"next-steps",level:2}];function u(e){const t={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return h||x("CH",!1),h.Code||x("CH.Code",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n","\n",(0,s.jsx)(t.p,{children:"Get to know Langflow by building an OpenAI-powered chatbot application. After you've constructed a chatbot, add Retrieval Augmented Generation (RAG) to chat with your own data."}),"\n",(0,s.jsx)(t.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://platform.openai.com/",children:"An OpenAI API key"})}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/get-started/quickstart.html",children:"An Astra DB vector database"}),"\xa0with:","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"An Astra DB application token scoped to read and write to the database"}),"\n",(0,s.jsxs)(t.li,{children:["A collection created in ",(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection",children:"Astra"})," or a new collection created in the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"open-langflow-and-start-a-new-project",children:"Open Langflow and start a new project"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["From the Langflow dashboard, click\xa0",(0,s.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,s.jsx)(t.strong,{children:"Blank Flow"}),". A blank workspace opens where you can build your flow."]}),"\n"]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["If you don't want to create a blank flow, click ",(0,s.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,s.jsx)(t.strong,{children:"Basic Prompting"})," for a pre-built flow.\nContinue to ",(0,s.jsx)(t.a,{href:"#run-basic-prompting-flow",children:"Run the basic prompting flow"}),"."]})}),"\n",(0,s.jsxs)(t.ol,{start:"2",children:["\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Select\xa0",(0,s.jsx)(t.strong,{children:"Basic Prompting"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["The\xa0",(0,s.jsx)(t.strong,{children:"Basic Prompting"}),"\xa0flow is created."]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"build-the-basic-prompting-flow",children:"Build the basic prompting flow"}),"\n",(0,s.jsx)(t.p,{children:"The Basic Prompting flow will look like this when it's completed:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"Completed basic prompting flow",src:n(90567).A+"",width:"2500",height:"1528"})}),"\n",(0,s.jsxs)(t.p,{children:["To build the ",(0,s.jsx)(t.strong,{children:"Basic Prompting"})," flow, follow these steps:"]}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Inputs"}),", select the ",(0,s.jsx)(t.strong,{children:"Chat Input"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-io#chat-input",children:"Chat Input"})," component accepts user input to the chat."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Prompt"}),", select the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-prompts",children:"Prompt"})," component combines the user input with a user-defined prompt."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Outputs"}),", select the ",(0,s.jsx)(t.strong,{children:"Chat Output"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-io#chat-output",children:"Chat Output"})," component prints the flow's output to the chat."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Models"}),", select the ",(0,s.jsx)(t.strong,{children:"OpenAI"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"components-models#openai",children:"OpenAI"})," model component sends the user input and prompt to the OpenAI API and receives a response."]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"You should now have a flow that looks like this:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"Basic prompting flow with no connections",src:n(32358).A+"",width:"2528",height:"1530"})}),"\n",(0,s.jsxs)(t.p,{children:["With no connections between them, the components won't interact with each other.\nYou want data to flow from ",(0,s.jsx)(t.strong,{children:"Chat Input"})," to ",(0,s.jsx)(t.strong,{children:"Chat Output"})," through the connections between the components.\nEach component accepts inputs on its left side, and sends outputs on its right side.\nHover over the connection ports to see the data types that the component accepts.\nFor more on component inputs and outputs, see ",(0,s.jsx)(t.a,{href:"/concepts-components",children:"Components overview"}),"."]}),"\n",(0,s.jsxs)(t.ol,{start:"5",children:["\n",(0,s.jsxs)(t.li,{children:["To connect the ",(0,s.jsx)(t.strong,{children:"Chat Input"})," component to the OpenAI model component, click and drag a line from the blue ",(0,s.jsx)(t.strong,{children:"Message"})," port to the OpenAI model component's ",(0,s.jsx)(t.strong,{children:"Input"})," port."]}),"\n",(0,s.jsxs)(t.li,{children:["To connect the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component to the OpenAI model component, click and drag a line from the blue ",(0,s.jsx)(t.strong,{children:"Prompt Message"})," port to the OpenAI model component's ",(0,s.jsx)(t.strong,{children:"System Message"})," port."]}),"\n",(0,s.jsxs)(t.li,{children:["To connect the ",(0,s.jsx)(t.strong,{children:"OpenAI"})," model component to the ",(0,s.jsx)(t.strong,{children:"Chat Output"}),", click and drag a line from the blue ",(0,s.jsx)(t.strong,{children:"Text"})," port to the ",(0,s.jsx)(t.strong,{children:"Chat Output"})," component's ",(0,s.jsx)(t.strong,{children:"Text"})," port."]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Your finished basic prompting flow should look like this:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{src:n(90567).A+"",width:"2500",height:"1528"})}),"\n",(0,s.jsx)(t.h3,{id:"run-basic-prompting-flow",children:"Run the Basic Prompting flow"}),"\n",(0,s.jsx)(t.p,{children:"Add your OpenAI API key to the OpenAI model component, and add a prompt to the Prompt component to instruct the model how to respond."}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Add your credentials to the OpenAI component. The fastest way to complete these fields is with Langflow\u2019s ",(0,s.jsx)(t.a,{href:"/configuration-global-variables",children:"Global Variables"}),"."]}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["In the OpenAI component\u2019s OpenAI API Key field, click the ",(0,s.jsx)(c.A,{name:"Globe","aria-label":"Globe"})," ",(0,s.jsx)(t.strong,{children:"Globe"}),"\xa0button, and then click ",(0,s.jsx)(t.strong,{children:"Add New Variable"}),".\nAlternatively, click your username in the top right corner, and then click ",(0,s.jsx)(t.strong,{children:"Settings"}),", ",(0,s.jsx)(t.strong,{children:"Global Variables"}),", and then ",(0,s.jsx)(t.strong,{children:"Add New"}),"."]}),"\n",(0,s.jsx)(t.li,{children:"Name your variable. Paste your OpenAI API key (sk-\u2026\u200b) in the Value field."}),"\n",(0,s.jsxs)(t.li,{children:["In the ",(0,s.jsx)(t.strong,{children:"Apply To Fields"})," field, select the OpenAI API Key field to apply this variable to all OpenAI Embeddings components."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["To add a prompt to the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component, click the ",(0,s.jsx)(t.strong,{children:"Template"})," field, and then enter your prompt.\nThe prompt guides the bot's responses to input.\nIf you're unsure, use ",(0,s.jsx)(t.code,{children:"Answer the user as if you were a GenAI expert, enthusiastic about helping them get started building something fresh."})]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Click ",(0,s.jsx)(t.strong,{children:"Playground"})," to start a chat session."]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Enter a query, and then make sure the bot responds according to the prompt you set in the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component."]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"You have successfully created a chatbot application using OpenAI in the Langflow Workspace."}),"\n",(0,s.jsx)(t.h2,{id:"add-vector-rag-to-your-application",children:"Add vector RAG to your application"}),"\n",(0,s.jsx)(t.p,{children:"You created a chatbot application with Langflow, but let's try an experiment."}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Ask the bot: ",(0,s.jsx)(t.code,{children:"Who won the Oscar in 2024 for best movie?"})]}),"\n",(0,s.jsx)(t.li,{children:"The bot's response is similar to this:"}),"\n"]}),"\n",(0,s.jsx)(h.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"I'm sorry, but I don't have information on events or awards that occurred after",props:{}}]},{tokens:[{content:"October 2023, including the Oscars in 2024.",props:{}}]},{tokens:[{content:"You may want to check the latest news or the official Oscars website",props:{}}]},{tokens:[{content:"for the most current information.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(t.p,{children:["Well, that's unfortunate, but you can load more up-to-date data with ",(0,s.jsx)(t.strong,{children:"Retrieval Augmented Generation"}),", or ",(0,s.jsx)(t.strong,{children:"RAG"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"Vector RAG allows you to load your own data and chat with it, unlocking a wider range of possibilities for your chatbot application."}),"\n",(0,s.jsx)(t.h2,{id:"add-vector-rag-with-the-astra-db-component",children:"Add vector RAG with the Astra DB component"}),"\n",(0,s.jsxs)(t.p,{children:["Build on the basic prompting flow and add vector RAG to your chatbot application with the ",(0,s.jsx)(t.strong,{children:"Astra DB Vector Store"})," component."]}),"\n",(0,s.jsxs)(t.p,{children:["Add document ingestion to your basic prompting flow, with the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component as the vector store."]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["If you don't want to create a blank flow, click ",(0,s.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,s.jsx)(t.strong,{children:"Vector RAG"})," for a pre-built flow."]})}),"\n",(0,s.jsx)(t.p,{children:"Adding vector RAG to the basic prompting flow will look like this when completed:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"Add document ingestion to the basic prompting flow",src:n(69645).A+"",width:"2848",height:"1324"})}),"\n",(0,s.jsx)(t.p,{children:"To build the flow, follow these steps:"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Disconnect the ",(0,s.jsx)(t.strong,{children:"Chat Input"})," component from the ",(0,s.jsx)(t.strong,{children:"OpenAI"})," component by double-clicking on the connecting line."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Vector Stores"}),", select the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-vector-stores#astra-db-vector-store",children:"Astra DB vector store"})," component connects to your ",(0,s.jsx)(t.strong,{children:"Astra DB"})," database."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Data"}),", select the ",(0,s.jsx)(t.strong,{children:"File"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-data#file",children:"File"})," component loads files from your local machine."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Processing"}),", select the ",(0,s.jsx)(t.strong,{children:"Split Text"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-processing#split-text",children:"Split Text"})," component splits the loaded text into smaller chunks."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Processing"}),", select the ",(0,s.jsx)(t.strong,{children:"Parse Data"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-processing#data-to-message",children:"Data to Message"})," component converts the data from the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component into plain text."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Embeddings"}),", select the ",(0,s.jsx)(t.strong,{children:"OpenAI Embeddings"})," component, and then drag it to the canvas.\nThe ",(0,s.jsx)(t.a,{href:"/components-embedding-models#openai-embeddings",children:"OpenAI Embeddings"})," component generates embeddings for the user's input, which are compared to the vector data in the database."]}),"\n",(0,s.jsx)(t.li,{children:"Connect the new components into the existing flow, so your flow looks like this:"}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"Add document ingestion to the basic prompting flow",src:n(69645).A+"",width:"2848",height:"1324"})}),"\n",(0,s.jsxs)(t.ol,{start:"8",children:["\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Configure the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component."]}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["In the ",(0,s.jsx)(t.strong,{children:"Astra DB Application Token"})," field, add your ",(0,s.jsx)(t.strong,{children:"Astra DB"})," application token.\nThe component connects to your database and populates the menus with existing databases and collections."]}),"\n",(0,s.jsxs)(t.li,{children:["Select your ",(0,s.jsx)(t.strong,{children:"Database"}),".\nIf you don't have a collection, select ",(0,s.jsx)(t.strong,{children:"New database"}),".\nComplete the ",(0,s.jsx)(t.strong,{children:"Name"}),", ",(0,s.jsx)(t.strong,{children:"Cloud provider"}),", and ",(0,s.jsx)(t.strong,{children:"Region"})," fields, and then click ",(0,s.jsx)(t.strong,{children:"Create"}),". ",(0,s.jsx)(t.strong,{children:"Database creation takes a few minutes"}),"."]}),"\n",(0,s.jsxs)(t.li,{children:["Select your ",(0,s.jsx)(t.strong,{children:"Collection"}),". Collections are created in your ",(0,s.jsx)(t.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"})," for storing vector data."]}),"\n"]}),"\n",(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["If you select a collection embedded with NVIDIA through Astra's vectorize service, the ",(0,s.jsx)(t.strong,{children:"Embedding Model"})," port is removed, because you have already generated embeddings for this collection with the NVIDIA ",(0,s.jsx)(t.code,{children:"NV-Embed-QA"})," model. The component fetches the data from the collection, and uses the same embeddings for queries."]})}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsx)(t.p,{children:"If you don't have a collection, create a new one within the component."}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Select ",(0,s.jsx)(t.strong,{children:"New collection"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["\n",(0,s.jsxs)(t.p,{children:["Complete the ",(0,s.jsx)(t.strong,{children:"Name"}),", ",(0,s.jsx)(t.strong,{children:"Embedding generation method"}),", ",(0,s.jsx)(t.strong,{children:"Embedding model"}),", and ",(0,s.jsx)(t.strong,{children:"Dimensions"})," fields, and then click ",(0,s.jsx)(t.strong,{children:"Create"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Your choice for the ",(0,s.jsx)(t.strong,{children:"Embedding generation method"})," and ",(0,s.jsx)(t.strong,{children:"Embedding model"})," depends on whether you want to use embeddings generated by a provider through Astra's vectorize service, or generated by a component in Langflow."]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["To use embeddings generated by a provider through Astra's vectorize service, select the model from the ",(0,s.jsx)(t.strong,{children:"Embedding generation method"})," dropdown menu, and then select the model from the ",(0,s.jsx)(t.strong,{children:"Embedding model"})," dropdown menu."]}),"\n",(0,s.jsxs)(t.li,{children:["To use embeddings generated by a component in Langflow, select ",(0,s.jsx)(t.strong,{children:"Bring your own"})," for both the ",(0,s.jsx)(t.strong,{children:"Embedding generation method"})," and ",(0,s.jsx)(t.strong,{children:"Embedding model"})," fields. In this starter project, the option for the embeddings method and model is the ",(0,s.jsx)(t.strong,{children:"OpenAI Embeddings"})," component connected to the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component."]}),"\n",(0,s.jsxs)(t.li,{children:["The ",(0,s.jsx)(t.strong,{children:"Dimensions"})," value must match the dimensions of your collection. This field is ",(0,s.jsx)(t.strong,{children:"not required"})," if you use embeddings generated through Astra's vectorize service. You can find this value in the ",(0,s.jsx)(t.strong,{children:"Collection"})," in your ",(0,s.jsx)(t.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["For more information, see the ",(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html",children:"DataStax Astra DB Serverless documentation"}),"."]}),"\n"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["If you used Langflow's ",(0,s.jsx)(t.strong,{children:"Global Variables"})," feature, the RAG application flow components are already configured with the necessary credentials."]}),"\n",(0,s.jsx)(t.h3,{id:"run-the-chatbot-with-retrieved-context",children:"Run the chatbot with retrieved context"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Modify the ",(0,s.jsx)(t.strong,{children:"Prompt"})," component to contain variables for both ",(0,s.jsx)(t.code,{children:"{user_question}"})," and ",(0,s.jsx)(t.code,{children:"{context}"}),".\nThe ",(0,s.jsx)(t.code,{children:"{context}"})," variable gives the bot additional context for answering ",(0,s.jsx)(t.code,{children:"{user_question}"})," beyond what the LLM was trained on."]}),"\n"]}),"\n",(0,s.jsx)(h.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"Given the context",props:{}}]},{tokens:[{content:"{context}",props:{}}]},{tokens:[{content:"Answer the question",props:{}}]},{tokens:[{content:"{user_question}",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(t.ol,{start:"2",children:["\n",(0,s.jsxs)(t.li,{children:["In the ",(0,s.jsx)(t.strong,{children:"File"})," component, upload a text file from your local machine with data you want to ingest into the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component database.\nThis example uploads an up-to-date CSV about Oscar winners."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.strong,{children:"Playground"})," to start a chat session."]}),"\n",(0,s.jsxs)(t.li,{children:["Ask the bot: ",(0,s.jsx)(t.code,{children:"Who won the Oscar in 2024 for best movie?"})]}),"\n",(0,s.jsx)(t.li,{children:"The bot's response should be similar to this:"}),"\n"]}),"\n",(0,s.jsx)(h.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:'The Oscar for Best Picture in 2024 was awarded to "Oppenheimer,"',props:{}}]},{tokens:[{content:"produced by Emma Thomas, Charles Roven, and Christopher Nolan.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(t.p,{children:["Adding an ",(0,s.jsx)(t.strong,{children:"Astra DB"})," vector store brought your chatbot all the way into 2024.\nYou have successfully added RAG to your chatbot application using the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component."]}),"\n",(0,s.jsx)(t.h2,{id:"next-steps",children:"Next steps"}),"\n",(0,s.jsx)(t.p,{children:"This example used movie data, but the RAG pattern can be used with any data you want to load and chat with."}),"\n",(0,s.jsxs)(t.p,{children:["Make the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," database the brain that ",(0,s.jsx)(t.a,{href:"/agents-overview",children:"Agents"})," use to make decisions."]}),"\n",(0,s.jsxs)(t.p,{children:["Expose this flow as an ",(0,s.jsx)(t.a,{href:"/concepts-api",children:"API"})," and call it from your external applications."]}),"\n",(0,s.jsxs)(t.p,{children:["For more on the ",(0,s.jsx)(t.strong,{children:"Astra DB"})," component, see ",(0,s.jsx)(t.a,{href:"/components-vector-stores#astra-db-vector-store",children:"Astra DB vector store"}),"."]})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}function x(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},32358:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/quickstart-basic-prompt-no-connections-f5887f67c3448c39b74f7e28b65a0b18.png"},69645:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/quickstart-add-document-ingestion-5f9756b0a4b7e232b1507e12f335b15e.png"},84443:(e,t,n)=>{n.d(t,{A:()=>r});n(96540);var o=n(64058),s=n(74848);function r(e){let{name:t,...n}=e;const r=o[t];return r?(0,s.jsx)(r,{...n}):null}},90567:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/starter-flow-basic-prompting-09331815d7282bd6a3feedf84838ba20.png"}}]);
\ No newline at end of file
diff --git a/assets/js/e6c6a4d2.3eb76ad5.js b/assets/js/e6c6a4d2.d6665d23.js
similarity index 55%
rename from assets/js/e6c6a4d2.3eb76ad5.js
rename to assets/js/e6c6a4d2.d6665d23.js
index a9b8cbb63f..a41c0bed25 100644
--- a/assets/js/e6c6a4d2.3eb76ad5.js
+++ b/assets/js/e6c6a4d2.d6665d23.js
@@ -1 +1 @@
-"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[8504],{28453:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>l});var s=n(96540);const i={},o=s.createContext(i);function a(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(o.Provider,{value:t},e.children)}},94910:(e,t,n)=>{n.r(t),n.d(t,{contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>r});const s=JSON.parse('{"type":"api","id":"experimental-run-flow","title":"Experimental Run Flow","description":"","slug":"/experimental-run-flow","frontMatter":{},"api":{"tags":["Base"],"description":"Executes a specified flow by ID with optional input values, output selection, tweaks, and streaming capability.\\n\\nThis endpoint supports running flows with caching to enhance performance and efficiency.\\n\\n### Parameters:\\n- `flow_id` (str): The unique identifier of the flow to be executed.\\n- `inputs` (List[InputValueRequest], optional): A list of inputs specifying the input values and components\\n for the flow. Each input can target specific components and provide custom values.\\n- `outputs` (List[str], optional): A list of output names to retrieve from the executed flow.\\n If not provided, all outputs are returned.\\n- `tweaks` (Optional[Tweaks], optional): A dictionary of tweaks to customize the flow execution.\\n The tweaks can be used to modify the flow\'s parameters and components.\\n Tweaks can be overridden by the input values.\\n- `stream` (bool, optional): Specifies whether the results should be streamed. Defaults to False.\\n- `session_id` (Union[None, str], optional): An optional session ID to utilize existing session data for the flow\\n execution.\\n- `api_key_user` (User): The user associated with the current API key. Automatically resolved from the API key.\\n\\n### Returns:\\nA `RunResponse` object containing the selected outputs (or all if not specified) of the executed flow\\nand the session ID.\\nThe structure of the response accommodates multiple inputs, providing a nested list of outputs for each input.\\n\\n### Raises:\\nHTTPException: Indicates issues with finding the specified flow, invalid input formats, or internal errors during\\nflow execution.\\n\\n### Example usage:\\n```json\\nPOST /run/{flow_id}\\nx-api-key: YOUR_API_KEY\\nPayload:\\n{\\n \\"inputs\\": [\\n {\\"components\\": [\\"component1\\"], \\"input_value\\": \\"value1\\"},\\n {\\"components\\": [\\"component3\\"], \\"input_value\\": \\"value2\\"}\\n ],\\n \\"outputs\\": [\\"Component Name\\", \\"component_id\\"],\\n \\"tweaks\\": {\\"parameter_name\\": \\"value\\", \\"Component Name\\": {\\"parameter_name\\": \\"value\\"}, \\"component_id\\": {\\"parameter_name\\": \\"value\\"}}\\n \\"stream\\": false\\n}\\n```\\n\\nThis endpoint facilitates complex flow executions with customized inputs, outputs, and configurations,\\ncatering to diverse application requirements.","operationId":"experimental_run_flow_api_v1_run_advanced__flow_id__post","security":[{"API key query":[]},{"API key header":[]}],"parameters":[{"name":"flow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Flow Id"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"inputs":{"anyOf":[{"items":{"properties":{"components":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Components","default":[]},"input_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Value"},"session":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session"},"type":{"anyOf":[{"type":"string","enum":["chat","text","any"]},{"type":"null"}],"title":"Type","description":"Defines on which components the input value should be applied. \'any\' applies to all input components.","default":"any"}},"additionalProperties":false,"type":"object","title":"InputValueRequest","examples":[{"components":["components_id","Component Name"],"input_value":"input_value","session":"session_id"},{"components":["Component Name"],"input_value":"input_value"},{"input_value":"input_value"},{"components":["Component Name"],"input_value":"input_value","session":"session_id"},{"input_value":"input_value","session":"session_id"},{"input_value":"input_value","type":"chat"},{"input_value":"{\\"key\\": \\"value\\"}","type":"json"}]},"type":"array"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Outputs"},"tweaks":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"object","title":"Tweaks","description":"A dictionary of tweaks to adjust the flow\'s execution. Allows customizing flow behavior dynamically. All tweaks are overridden by the input values.","examples":[{"Component Name":{"parameter_name":"value"},"component_id":{"parameter_name":"value"},"parameter_name":"value"}]},{"type":"null"}]},"stream":{"type":"boolean","title":"Stream","default":false},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},"type":"object","title":"Body_experimental_run_flow_api_v1_run_advanced__flow_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"outputs":{"anyOf":[{"items":{"properties":{"inputs":{"type":"object","title":"Inputs"},"outputs":{"items":{"anyOf":[{"properties":{"results":{"anyOf":[{},{"type":"null"}],"title":"Results"},"artifacts":{"anyOf":[{},{"type":"null"}],"title":"Artifacts"},"outputs":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Outputs"},"logs":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Logs"},"messages":{"anyOf":[{"items":{"properties":{"message":{"anyOf":[{"type":"string"},{"items":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"array"}],"title":"Message"},"sender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender","default":"Machine"},"sender_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Name","default":"AI"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"stream_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stream Url"},"component_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Component Id"},"files":{"items":{"properties":{"path":{"type":"string","title":"Path"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"}},"type":"object","required":["path","name","type"],"title":"File","description":"File schema."},"type":"array","title":"Files","default":[]},"type":{"type":"string","title":"Type"}},"type":"object","required":["message","type"],"title":"ChatOutputResponse","description":"Chat output response schema."},"type":"array"},{"type":"null"}],"title":"Messages"},"timedelta":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Timedelta"},"duration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duration"},"component_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Component Display Name"},"component_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Component Id"},"used_frozen_result":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Used Frozen Result","default":false}},"type":"object","title":"ResultData"},{"type":"null"}]},"type":"array","title":"Outputs"}},"type":"object","title":"RunOutputs"},"type":"array"},{"type":"null"}],"title":"Outputs","default":[]},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},"type":"object","title":"RunResponse","description":"Run response schema."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}},"method":"post","path":"/api/v1/run/advanced/{flow_id}","securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"api/v1/login"}}},"API key query":{"type":"apiKey","in":"query","name":"x-api-key"},"API key header":{"type":"apiKey","in":"header","name":"x-api-key"}},"jsonRequestBodyExample":{"stream":false},"info":{"title":"Langflow","version":"1.1.4"},"postman":{"name":"Experimental Run Flow","description":{"content":"Executes a specified flow by ID with optional input values, output selection, tweaks, and streaming capability.\\n\\nThis endpoint supports running flows with caching to enhance performance and efficiency.\\n\\n### Parameters:\\n- `flow_id` (str): The unique identifier of the flow to be executed.\\n- `inputs` (List[InputValueRequest], optional): A list of inputs specifying the input values and components\\n for the flow. Each input can target specific components and provide custom values.\\n- `outputs` (List[str], optional): A list of output names to retrieve from the executed flow.\\n If not provided, all outputs are returned.\\n- `tweaks` (Optional[Tweaks], optional): A dictionary of tweaks to customize the flow execution.\\n The tweaks can be used to modify the flow\'s parameters and components.\\n Tweaks can be overridden by the input values.\\n- `stream` (bool, optional): Specifies whether the results should be streamed. Defaults to False.\\n- `session_id` (Union[None, str], optional): An optional session ID to utilize existing session data for the flow\\n execution.\\n- `api_key_user` (User): The user associated with the current API key. Automatically resolved from the API key.\\n\\n### Returns:\\nA `RunResponse` object containing the selected outputs (or all if not specified) of the executed flow\\nand the session ID.\\nThe structure of the response accommodates multiple inputs, providing a nested list of outputs for each input.\\n\\n### Raises:\\nHTTPException: Indicates issues with finding the specified flow, invalid input formats, or internal errors during\\nflow execution.\\n\\n### Example usage:\\n```json\\nPOST /run/{flow_id}\\nx-api-key: YOUR_API_KEY\\nPayload:\\n{\\n \\"inputs\\": [\\n {\\"components\\": [\\"component1\\"], \\"input_value\\": \\"value1\\"},\\n {\\"components\\": [\\"component3\\"], \\"input_value\\": \\"value2\\"}\\n ],\\n \\"outputs\\": [\\"Component Name\\", \\"component_id\\"],\\n \\"tweaks\\": {\\"parameter_name\\": \\"value\\", \\"Component Name\\": {\\"parameter_name\\": \\"value\\"}, \\"component_id\\": {\\"parameter_name\\": \\"value\\"}}\\n \\"stream\\": false\\n}\\n```\\n\\nThis endpoint facilitates complex flow executions with customized inputs, outputs, and configurations,\\ncatering to diverse application requirements.","type":"text/plain"},"url":{"path":["api","v1","run","advanced",":flow_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"flow_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\\n \\"inputs\\": [\\n {\\n \\"components\\": [\\n \\"\\",\\n \\"\\"\\n ],\\n \\"input_value\\": \\"\\",\\n \\"session\\": \\"\\",\\n \\"type\\": \\"\\"\\n },\\n {\\n \\"components\\": [\\n \\"\\",\\n \\"\\"\\n ],\\n \\"input_value\\": \\"\\",\\n \\"session\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"outputs\\": [\\n \\"\\",\\n \\"\\"\\n ],\\n \\"tweaks\\": {\\n \\"aliqua00b\\": \\"\\"\\n },\\n \\"stream\\": false,\\n \\"session_id\\": \\"\\"\\n}","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"{{apiKey}}","key":"value"},{"type":"any","value":"query","key":"in"}]}}},"source":"@site/openapi.json","sourceDirName":".","permalink":"/api/experimental-run-flow","previous":{"title":"Webhook Run Flow","permalink":"/api/webhook-run-flow"},"next":{"title":"Process","permalink":"/api/process"}}');var i=n(74848),o=n(28453);const a={},l="Experimental Run Flow",r=[{value:"Parameters:",id:"parameters",level:3},{value:"Returns:",id:"returns",level:3},{value:"Raises:",id:"raises",level:3},{value:"Example usage:",id:"example-usage",level:3}];function p(e){const t={code:"code",h1:"h1",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"experimental-run-flow",children:"Experimental Run Flow"})}),"\n",(0,i.jsx)(t.p,{children:"Executes a specified flow by ID with optional input values, output selection, tweaks, and streaming capability."}),"\n",(0,i.jsx)(t.p,{children:"This endpoint supports running flows with caching to enhance performance and efficiency."}),"\n",(0,i.jsx)(t.h3,{id:"parameters",children:"Parameters:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"flow_id"})," (str): The unique identifier of the flow to be executed."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"inputs"})," (List[InputValueRequest], optional): A list of inputs specifying the input values and components\nfor the flow. Each input can target specific components and provide custom values."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"outputs"})," (List[str], optional): A list of output names to retrieve from the executed flow.\nIf not provided, all outputs are returned."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"tweaks"})," (Optional[Tweaks], optional): A dictionary of tweaks to customize the flow execution.\nThe tweaks can be used to modify the flow's parameters and components.\nTweaks can be overridden by the input values."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"stream"})," (bool, optional): Specifies whether the results should be streamed. Defaults to False."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"session_id"})," (Union[None, str], optional): An optional session ID to utilize existing session data for the flow\nexecution."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"api_key_user"})," (User): The user associated with the current API key. Automatically resolved from the API key."]}),"\n"]}),"\n",(0,i.jsx)(t.h3,{id:"returns",children:"Returns:"}),"\n",(0,i.jsxs)(t.p,{children:["A ",(0,i.jsx)(t.code,{children:"RunResponse"})," object containing the selected outputs (or all if not specified) of the executed flow\nand the session ID.\nThe structure of the response accommodates multiple inputs, providing a nested list of outputs for each input."]}),"\n",(0,i.jsx)(t.h3,{id:"raises",children:"Raises:"}),"\n",(0,i.jsx)(t.p,{children:"HTTPException: Indicates issues with finding the specified flow, invalid input formats, or internal errors during\nflow execution."}),"\n",(0,i.jsx)(t.h3,{id:"example-usage",children:"Example usage:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-json",children:'POST /run/{flow_id}\nx-api-key: YOUR_API_KEY\nPayload:\n{\n "inputs": [\n {"components": ["component1"], "input_value": "value1"},\n {"components": ["component3"], "input_value": "value2"}\n ],\n "outputs": ["Component Name", "component_id"],\n "tweaks": {"parameter_name": "value", "Component Name": {"parameter_name": "value"}, "component_id": {"parameter_name": "value"}}\n "stream": false\n}\n'})}),"\n",(0,i.jsx)(t.p,{children:"This endpoint facilitates complex flow executions with customized inputs, outputs, and configurations,\ncatering to diverse application requirements."}),"\n",(0,i.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsx)("th",{style:{textAlign:"left"},children:"Path Parameters"})})}),(0,i.jsx)("tbody",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"flow_id"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" uuid"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-required)"},children:" REQUIRED"})]})})})]}),"\n",(0,i.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("th",{style:{textAlign:"left"},children:[(0,i.jsx)("span",{children:"Request Body "}),(0,i.jsx)("div",{})]})})}),(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"inputs"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Inputs"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"outputs"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Outputs"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"tweaks"}),(0,i.jsx)("span",{style:{opacity:"0.6"}})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"stream"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Stream"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"session_id"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Session Id"})]})})]})]}),"\n",(0,i.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsx)("th",{style:{textAlign:"left"},children:"Responses"})})}),(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsx)("div",{style:{marginRight:"var(--ifm-table-cell-padding)"},children:(0,i.jsx)("code",{children:"200"})}),(0,i.jsx)("div",{children:(0,i.jsx)(t.p,{children:"Successful Response"})})]}),(0,i.jsx)("div",{children:(0,i.jsxs)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("th",{style:{textAlign:"left"},children:[(0,i.jsx)("span",{children:"Schema "}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,i.jsx)("div",{})]})})}),(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"outputs"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Outputs"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"session_id"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Session Id"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"})]})})]})]})})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsx)("div",{style:{marginRight:"var(--ifm-table-cell-padding)"},children:(0,i.jsx)("code",{children:"422"})}),(0,i.jsx)("div",{children:(0,i.jsx)(t.p,{children:"Validation Error"})})]}),(0,i.jsx)("div",{children:(0,i.jsxs)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("th",{style:{textAlign:"left"},children:[(0,i.jsx)("span",{children:"Schema "}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,i.jsx)("div",{})]})})}),(0,i.jsx)("tbody",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"detail"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" object[]"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,i.jsx)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"loc"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" undefined[]"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"msg"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Message"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"type"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Error Type"})]})})]})})]})})})]})})]})})]})]})]})}function d(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[8504],{28453:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>l});var s=n(96540);const i={},o=s.createContext(i);function a(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(o.Provider,{value:t},e.children)}},94910:(e,t,n)=>{n.r(t),n.d(t,{contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>r});const s=JSON.parse('{"type":"api","id":"experimental-run-flow","title":"Experimental Run Flow","description":"","slug":"/experimental-run-flow","frontMatter":{},"api":{"tags":["Base"],"description":"Executes a specified flow by ID with optional input values, output selection, tweaks, and streaming capability.\\n\\nThis endpoint supports running flows with caching to enhance performance and efficiency.\\n\\n### Parameters:\\n- `flow_id` (str): The unique identifier of the flow to be executed.\\n- `inputs` (List[InputValueRequest], optional): A list of inputs specifying the input values and components\\n for the flow. Each input can target specific components and provide custom values.\\n- `outputs` (List[str], optional): A list of output names to retrieve from the executed flow.\\n If not provided, all outputs are returned.\\n- `tweaks` (Optional[Tweaks], optional): A dictionary of tweaks to customize the flow execution.\\n The tweaks can be used to modify the flow\'s parameters and components.\\n Tweaks can be overridden by the input values.\\n- `stream` (bool, optional): Specifies whether the results should be streamed. Defaults to False.\\n- `session_id` (Union[None, str], optional): An optional session ID to utilize existing session data for the flow\\n execution.\\n- `api_key_user` (User): The user associated with the current API key. Automatically resolved from the API key.\\n\\n### Returns:\\nA `RunResponse` object containing the selected outputs (or all if not specified) of the executed flow\\nand the session ID.\\nThe structure of the response accommodates multiple inputs, providing a nested list of outputs for each input.\\n\\n### Raises:\\nHTTPException: Indicates issues with finding the specified flow, invalid input formats, or internal errors during\\nflow execution.\\n\\n### Example usage:\\n```json\\nPOST /run/{flow_id}\\nx-api-key: YOUR_API_KEY\\nPayload:\\n{\\n \\"inputs\\": [\\n {\\"components\\": [\\"component1\\"], \\"input_value\\": \\"value1\\"},\\n {\\"components\\": [\\"component3\\"], \\"input_value\\": \\"value2\\"}\\n ],\\n \\"outputs\\": [\\"Component Name\\", \\"component_id\\"],\\n \\"tweaks\\": {\\"parameter_name\\": \\"value\\", \\"Component Name\\": {\\"parameter_name\\": \\"value\\"}, \\"component_id\\": {\\"parameter_name\\": \\"value\\"}}\\n \\"stream\\": false\\n}\\n```\\n\\nThis endpoint facilitates complex flow executions with customized inputs, outputs, and configurations,\\ncatering to diverse application requirements.","operationId":"experimental_run_flow_api_v1_run_advanced__flow_id__post","security":[{"API key query":[]},{"API key header":[]}],"parameters":[{"name":"flow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Flow Id"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"inputs":{"anyOf":[{"items":{"properties":{"components":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Components","default":[]},"input_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Value"},"session":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session"},"type":{"anyOf":[{"type":"string","enum":["chat","text","any"]},{"type":"null"}],"title":"Type","description":"Defines on which components the input value should be applied. \'any\' applies to all input components.","default":"any"}},"additionalProperties":false,"type":"object","title":"InputValueRequest","examples":[{"components":["components_id","Component Name"],"input_value":"input_value","session":"session_id"},{"components":["Component Name"],"input_value":"input_value"},{"input_value":"input_value"},{"components":["Component Name"],"input_value":"input_value","session":"session_id"},{"input_value":"input_value","session":"session_id"},{"input_value":"input_value","type":"chat"},{"input_value":"{\\"key\\": \\"value\\"}","type":"json"}]},"type":"array"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Outputs"},"tweaks":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"object","title":"Tweaks","description":"A dictionary of tweaks to adjust the flow\'s execution. Allows customizing flow behavior dynamically. All tweaks are overridden by the input values.","examples":[{"Component Name":{"parameter_name":"value"},"component_id":{"parameter_name":"value"},"parameter_name":"value"}]},{"type":"null"}]},"stream":{"type":"boolean","title":"Stream","default":false},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},"type":"object","title":"Body_experimental_run_flow_api_v1_run_advanced__flow_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"outputs":{"anyOf":[{"items":{"properties":{"inputs":{"type":"object","title":"Inputs"},"outputs":{"items":{"anyOf":[{"properties":{"results":{"anyOf":[{},{"type":"null"}],"title":"Results"},"artifacts":{"anyOf":[{},{"type":"null"}],"title":"Artifacts"},"outputs":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Outputs"},"logs":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Logs"},"messages":{"anyOf":[{"items":{"properties":{"message":{"anyOf":[{"type":"string"},{"items":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"array"}],"title":"Message"},"sender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender","default":"Machine"},"sender_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Name","default":"AI"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"stream_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stream Url"},"component_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Component Id"},"files":{"items":{"properties":{"path":{"type":"string","title":"Path"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"}},"type":"object","required":["path","name","type"],"title":"File","description":"File schema."},"type":"array","title":"Files","default":[]},"type":{"type":"string","title":"Type"}},"type":"object","required":["message","type"],"title":"ChatOutputResponse","description":"Chat output response schema."},"type":"array"},{"type":"null"}],"title":"Messages"},"timedelta":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Timedelta"},"duration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duration"},"component_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Component Display Name"},"component_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Component Id"},"used_frozen_result":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Used Frozen Result","default":false}},"type":"object","title":"ResultData"},{"type":"null"}]},"type":"array","title":"Outputs"}},"type":"object","title":"RunOutputs"},"type":"array"},{"type":"null"}],"title":"Outputs","default":[]},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},"type":"object","title":"RunResponse","description":"Run response schema."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}},"method":"post","path":"/api/v1/run/advanced/{flow_id}","securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"api/v1/login"}}},"API key query":{"type":"apiKey","in":"query","name":"x-api-key"},"API key header":{"type":"apiKey","in":"header","name":"x-api-key"}},"jsonRequestBodyExample":{"stream":false},"info":{"title":"Langflow","version":"1.1.4"},"postman":{"name":"Experimental Run Flow","description":{"content":"Executes a specified flow by ID with optional input values, output selection, tweaks, and streaming capability.\\n\\nThis endpoint supports running flows with caching to enhance performance and efficiency.\\n\\n### Parameters:\\n- `flow_id` (str): The unique identifier of the flow to be executed.\\n- `inputs` (List[InputValueRequest], optional): A list of inputs specifying the input values and components\\n for the flow. Each input can target specific components and provide custom values.\\n- `outputs` (List[str], optional): A list of output names to retrieve from the executed flow.\\n If not provided, all outputs are returned.\\n- `tweaks` (Optional[Tweaks], optional): A dictionary of tweaks to customize the flow execution.\\n The tweaks can be used to modify the flow\'s parameters and components.\\n Tweaks can be overridden by the input values.\\n- `stream` (bool, optional): Specifies whether the results should be streamed. Defaults to False.\\n- `session_id` (Union[None, str], optional): An optional session ID to utilize existing session data for the flow\\n execution.\\n- `api_key_user` (User): The user associated with the current API key. Automatically resolved from the API key.\\n\\n### Returns:\\nA `RunResponse` object containing the selected outputs (or all if not specified) of the executed flow\\nand the session ID.\\nThe structure of the response accommodates multiple inputs, providing a nested list of outputs for each input.\\n\\n### Raises:\\nHTTPException: Indicates issues with finding the specified flow, invalid input formats, or internal errors during\\nflow execution.\\n\\n### Example usage:\\n```json\\nPOST /run/{flow_id}\\nx-api-key: YOUR_API_KEY\\nPayload:\\n{\\n \\"inputs\\": [\\n {\\"components\\": [\\"component1\\"], \\"input_value\\": \\"value1\\"},\\n {\\"components\\": [\\"component3\\"], \\"input_value\\": \\"value2\\"}\\n ],\\n \\"outputs\\": [\\"Component Name\\", \\"component_id\\"],\\n \\"tweaks\\": {\\"parameter_name\\": \\"value\\", \\"Component Name\\": {\\"parameter_name\\": \\"value\\"}, \\"component_id\\": {\\"parameter_name\\": \\"value\\"}}\\n \\"stream\\": false\\n}\\n```\\n\\nThis endpoint facilitates complex flow executions with customized inputs, outputs, and configurations,\\ncatering to diverse application requirements.","type":"text/plain"},"url":{"path":["api","v1","run","advanced",":flow_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"flow_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\\n \\"inputs\\": [\\n {\\n \\"components\\": [\\n \\"\\",\\n \\"\\"\\n ],\\n \\"input_value\\": \\"\\",\\n \\"session\\": \\"\\",\\n \\"type\\": \\"\\"\\n },\\n {\\n \\"components\\": [\\n \\"\\",\\n \\"\\"\\n ],\\n \\"input_value\\": \\"\\",\\n \\"session\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"outputs\\": [\\n \\"\\",\\n \\"\\"\\n ],\\n \\"tweaks\\": {\\n \\"nostrud_3\\": \\"\\",\\n \\"culpa_e\\": \\"\\",\\n \\"fugiat2\\": \\"\\"\\n },\\n \\"stream\\": false,\\n \\"session_id\\": \\"\\"\\n}","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"{{apiKey}}","key":"value"},{"type":"any","value":"query","key":"in"}]}}},"source":"@site/openapi.json","sourceDirName":".","permalink":"/api/experimental-run-flow","previous":{"title":"Webhook Run Flow","permalink":"/api/webhook-run-flow"},"next":{"title":"Process","permalink":"/api/process"}}');var i=n(74848),o=n(28453);const a={},l="Experimental Run Flow",r=[{value:"Parameters:",id:"parameters",level:3},{value:"Returns:",id:"returns",level:3},{value:"Raises:",id:"raises",level:3},{value:"Example usage:",id:"example-usage",level:3}];function p(e){const t={code:"code",h1:"h1",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"experimental-run-flow",children:"Experimental Run Flow"})}),"\n",(0,i.jsx)(t.p,{children:"Executes a specified flow by ID with optional input values, output selection, tweaks, and streaming capability."}),"\n",(0,i.jsx)(t.p,{children:"This endpoint supports running flows with caching to enhance performance and efficiency."}),"\n",(0,i.jsx)(t.h3,{id:"parameters",children:"Parameters:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"flow_id"})," (str): The unique identifier of the flow to be executed."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"inputs"})," (List[InputValueRequest], optional): A list of inputs specifying the input values and components\nfor the flow. Each input can target specific components and provide custom values."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"outputs"})," (List[str], optional): A list of output names to retrieve from the executed flow.\nIf not provided, all outputs are returned."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"tweaks"})," (Optional[Tweaks], optional): A dictionary of tweaks to customize the flow execution.\nThe tweaks can be used to modify the flow's parameters and components.\nTweaks can be overridden by the input values."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"stream"})," (bool, optional): Specifies whether the results should be streamed. Defaults to False."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"session_id"})," (Union[None, str], optional): An optional session ID to utilize existing session data for the flow\nexecution."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"api_key_user"})," (User): The user associated with the current API key. Automatically resolved from the API key."]}),"\n"]}),"\n",(0,i.jsx)(t.h3,{id:"returns",children:"Returns:"}),"\n",(0,i.jsxs)(t.p,{children:["A ",(0,i.jsx)(t.code,{children:"RunResponse"})," object containing the selected outputs (or all if not specified) of the executed flow\nand the session ID.\nThe structure of the response accommodates multiple inputs, providing a nested list of outputs for each input."]}),"\n",(0,i.jsx)(t.h3,{id:"raises",children:"Raises:"}),"\n",(0,i.jsx)(t.p,{children:"HTTPException: Indicates issues with finding the specified flow, invalid input formats, or internal errors during\nflow execution."}),"\n",(0,i.jsx)(t.h3,{id:"example-usage",children:"Example usage:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-json",children:'POST /run/{flow_id}\nx-api-key: YOUR_API_KEY\nPayload:\n{\n "inputs": [\n {"components": ["component1"], "input_value": "value1"},\n {"components": ["component3"], "input_value": "value2"}\n ],\n "outputs": ["Component Name", "component_id"],\n "tweaks": {"parameter_name": "value", "Component Name": {"parameter_name": "value"}, "component_id": {"parameter_name": "value"}}\n "stream": false\n}\n'})}),"\n",(0,i.jsx)(t.p,{children:"This endpoint facilitates complex flow executions with customized inputs, outputs, and configurations,\ncatering to diverse application requirements."}),"\n",(0,i.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsx)("th",{style:{textAlign:"left"},children:"Path Parameters"})})}),(0,i.jsx)("tbody",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"flow_id"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" uuid"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-required)"},children:" REQUIRED"})]})})})]}),"\n",(0,i.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("th",{style:{textAlign:"left"},children:[(0,i.jsx)("span",{children:"Request Body "}),(0,i.jsx)("div",{})]})})}),(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"inputs"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Inputs"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"outputs"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Outputs"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"tweaks"}),(0,i.jsx)("span",{style:{opacity:"0.6"}})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"stream"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Stream"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"session_id"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Session Id"})]})})]})]}),"\n",(0,i.jsxs)("table",{style:{display:"table",width:"100%"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsx)("th",{style:{textAlign:"left"},children:"Responses"})})}),(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsx)("div",{style:{marginRight:"var(--ifm-table-cell-padding)"},children:(0,i.jsx)("code",{children:"200"})}),(0,i.jsx)("div",{children:(0,i.jsx)(t.p,{children:"Successful Response"})})]}),(0,i.jsx)("div",{children:(0,i.jsxs)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("th",{style:{textAlign:"left"},children:[(0,i.jsx)("span",{children:"Schema "}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,i.jsx)("div",{})]})})}),(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"outputs"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Outputs"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"session_id"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Session Id"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"})]})})]})]})})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsx)("div",{style:{marginRight:"var(--ifm-table-cell-padding)"},children:(0,i.jsx)("code",{children:"422"})}),(0,i.jsx)("div",{children:(0,i.jsx)(t.p,{children:"Validation Error"})})]}),(0,i.jsx)("div",{children:(0,i.jsxs)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("th",{style:{textAlign:"left"},children:[(0,i.jsx)("span",{children:"Schema "}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,i.jsx)("div",{})]})})}),(0,i.jsx)("tbody",{children:(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"detail"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" object[]"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" \u2014 "}),(0,i.jsx)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-optional)"},children:" OPTIONAL"}),(0,i.jsx)("table",{style:{display:"table",width:"100%",marginTop:"var(--ifm-table-cell-padding)",marginBottom:"0px"},children:(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"loc"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" undefined[]"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"msg"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Message"})]})}),(0,i.jsx)("tr",{children:(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:"type"}),(0,i.jsx)("span",{style:{opacity:"0.6"},children:" Error Type"})]})})]})})]})})})]})})]})})]})]})]})}function d(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}}}]);
\ No newline at end of file
diff --git a/assets/js/f66238ae.82391c24.js b/assets/js/f66238ae.82391c24.js
deleted file mode 100644
index b6f8ee0090..0000000000
--- a/assets/js/f66238ae.82391c24.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[3391],{28453:(e,t,r)=>{r.d(t,{R:()=>n,x:()=>c});var s=r(96540);const d={},i=s.createContext(d);function n(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:n(e.components),s.createElement(i.Provider,{value:t},e.children)}},45175:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>h,contentTitle:()=>c,default:()=>o,frontMatter:()=>n,metadata:()=>s,toc:()=>l});const s=JSON.parse('{"id":"Components/components-vector-stores","title":"Vector stores","description":"Vector databases store vector data, which backs AI workloads like chatbots and Retrieval Augmented Generation.","source":"@site/docs/Components/components-vector-stores.md","sourceDirName":"Components","slug":"/components-vector-stores","permalink":"/components-vector-stores","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Vector stores","slug":"/components-vector-stores"},"sidebar":"docs","previous":{"title":"Tools","permalink":"/components-tools"},"next":{"title":"Agents overview","permalink":"/agents-overview"}}');var d=r(74848),i=r(28453);const n={title:"Vector stores",slug:"/components-vector-stores"},c="Vector store components in Langflow",h={},l=[{value:"Use a vector store component in a flow",id:"use-a-vector-store-component-in-a-flow",level:2},{value:"Astra DB Vector Store",id:"astra-db-vector-store",level:2},{value:"Inputs",id:"inputs",level:3},{value:"Outputs",id:"outputs",level:3},{value:"AstraDB Graph vector store",id:"astradb-graph-vector-store",level:2},{value:"Inputs",id:"inputs-1",level:3},{value:"Outputs",id:"outputs-1",level:3},{value:"Cassandra",id:"cassandra",level:2},{value:"Inputs",id:"inputs-2",level:3},{value:"Outputs",id:"outputs-2",level:3},{value:"Cassandra Graph Vector Store",id:"cassandra-graph-vector-store",level:2},{value:"Inputs",id:"inputs-3",level:3},{value:"Outputs",id:"outputs-3",level:3},{value:"Chroma DB",id:"chroma-db",level:2},{value:"Inputs",id:"inputs-4",level:3},{value:"Outputs",id:"outputs-4",level:3},{value:"Clickhouse",id:"clickhouse",level:2},{value:"Inputs",id:"inputs-5",level:3},{value:"Outputs",id:"outputs-5",level:3},{value:"Couchbase",id:"couchbase",level:2},{value:"Inputs",id:"inputs-6",level:3},{value:"Outputs",id:"outputs-6",level:3},{value:"Elasticsearch",id:"elasticsearch",level:2},{value:"Inputs",id:"inputs-7",level:3},{value:"Outputs",id:"outputs-7",level:3},{value:"FAISS",id:"faiss",level:2},{value:"Inputs",id:"inputs-8",level:3},{value:"Outputs",id:"outputs-8",level:3},{value:"Hyper-Converged Database (HCD) Vector Store",id:"hyper-converged-database-hcd-vector-store",level:2},{value:"Inputs",id:"inputs-9",level:3},{value:"Outputs",id:"outputs-9",level:3},{value:"Milvus",id:"milvus",level:2},{value:"Inputs",id:"inputs-10",level:3},{value:"Outputs",id:"outputs-10",level:3},{value:"MongoDB Atlas",id:"mongodb-atlas",level:2},{value:"Inputs",id:"inputs-11",level:3},{value:"Outputs",id:"outputs-11",level:3},{value:"Opensearch",id:"opensearch",level:2},{value:"Inputs",id:"inputs-12",level:3},{value:"Outputs",id:"outputs-12",level:3},{value:"PGVector",id:"pgvector",level:2},{value:"Inputs",id:"inputs-13",level:3},{value:"Outputs",id:"outputs-13",level:3},{value:"Pinecone",id:"pinecone",level:2},{value:"Inputs",id:"inputs-14",level:3},{value:"Outputs",id:"outputs-14",level:3},{value:"Qdrant",id:"qdrant",level:2},{value:"Inputs",id:"inputs-15",level:3},{value:"Outputs",id:"outputs-15",level:3},{value:"Redis",id:"redis",level:2},{value:"Inputs",id:"inputs-16",level:3},{value:"Outputs",id:"outputs-16",level:3},{value:"Supabase",id:"supabase",level:2},{value:"Inputs",id:"inputs-17",level:3},{value:"Outputs",id:"outputs-17",level:3},{value:"Upstash",id:"upstash",level:2},{value:"Inputs",id:"inputs-18",level:3},{value:"Outputs",id:"outputs-18",level:3},{value:"Vectara",id:"vectara",level:2},{value:"Inputs",id:"inputs-19",level:3},{value:"Outputs",id:"outputs-19",level:3},{value:"Vectara Search",id:"vectara-search",level:2},{value:"Inputs",id:"inputs-20",level:3},{value:"Outputs",id:"outputs-20",level:3},{value:"Vectara RAG",id:"vectara-rag",level:2},{value:"Inputs",id:"inputs-21",level:3},{value:"Outputs",id:"outputs-21",level:3},{value:"Weaviate",id:"weaviate",level:2},{value:"Inputs",id:"inputs-22",level:3},{value:"Outputs",id:"outputs-22",level:3},{value:"Weaviate Search",id:"weaviate-search",level:2},{value:"Inputs",id:"inputs-23",level:3},{value:"Outputs",id:"outputs-23",level:3}];function a(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.header,{children:(0,d.jsx)(t.h1,{id:"vector-store-components-in-langflow",children:"Vector store components in Langflow"})}),"\n",(0,d.jsx)(t.p,{children:"Vector databases store vector data, which backs AI workloads like chatbots and Retrieval Augmented Generation."}),"\n",(0,d.jsx)(t.p,{children:"Vector database components establish connections to existing vector databases or create in-memory vector stores for storing and retrieving vector data."}),"\n",(0,d.jsxs)(t.p,{children:["Vector database components are distinct from ",(0,d.jsx)(t.a,{href:"/components-memories",children:"memory components"}),", which are built specifically for storing and retrieving chat messages from external databases."]}),"\n",(0,d.jsx)(t.h2,{id:"use-a-vector-store-component-in-a-flow",children:"Use a vector store component in a flow"}),"\n",(0,d.jsxs)(t.p,{children:["This example uses the ",(0,d.jsx)(t.strong,{children:"Astra DB vector store"})," component. Your vector store component's parameters and authentication may be different, but the document ingestion workflow is the same. A document is loaded from a local machine and chunked. The Astra DB vector store generates embeddings with the connected ",(0,d.jsx)(t.a,{href:"/components-models",children:"model"})," component, and stores them in the connected Astra DB database."]}),"\n",(0,d.jsx)(t.p,{children:"This vector data can then be retrieved for workloads like Retrieval Augmented Generation."}),"\n",(0,d.jsx)(t.p,{children:(0,d.jsx)(t.img,{src:r(67719).A+"",width:"2898",height:"1110"})}),"\n",(0,d.jsxs)(t.p,{children:["The user's chat input is embedded and compared to the vectors embedded during document ingestion for a similarity search.\nThe results are output from the vector database component as a ",(0,d.jsx)(t.a,{href:"/concepts-objects",children:"Data"})," object and parsed into text.\nThis text fills the ",(0,d.jsx)(t.code,{children:"{context}"})," variable in the ",(0,d.jsx)(t.strong,{children:"Prompt"})," component, which informs the ",(0,d.jsx)(t.strong,{children:"Open AI model"})," component's responses."]}),"\n",(0,d.jsxs)(t.p,{children:["Alternatively, connect the vector database component's ",(0,d.jsx)(t.strong,{children:"Retriever"})," port to a ",(0,d.jsx)(t.a,{href:"components-tools#retriever-tool",children:"retriever tool"}),", and then to an ",(0,d.jsx)(t.a,{href:"/components-agents",children:"agent"})," component. This enables the agent to use your vector database as a tool and make decisions based on the available data."]}),"\n",(0,d.jsx)(t.p,{children:(0,d.jsx)(t.img,{src:r(59072).A+"",width:"2414",height:"1602"})}),"\n",(0,d.jsx)(t.h2,{id:"astra-db-vector-store",children:"Astra DB Vector Store"}),"\n",(0,d.jsx)(t.p,{children:"This component implements a Vector Store using Astra DB with search capabilities."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/create-database.html",children:"DataStax documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"Collection Name"}),(0,d.jsx)(t.td,{children:"The name of the collection within Astra DB where the vectors will be stored (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"token"}),(0,d.jsx)(t.td,{children:"Astra DB Application Token"}),(0,d.jsx)(t.td,{children:"Authentication token for accessing Astra DB (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_endpoint"}),(0,d.jsx)(t.td,{children:"API Endpoint"}),(0,d.jsx)(t.td,{children:"API endpoint URL for the Astra DB service (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_input"}),(0,d.jsx)(t.td,{children:"Search Input"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"Namespace"}),(0,d.jsx)(t.td,{children:"Optional namespace within Astra DB to use for the collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding_choice"}),(0,d.jsx)(t.td,{children:"Embedding Model or Astra Vectorize"}),(0,d.jsx)(t.td,{children:"Determines whether to use an Embedding Model or Astra Vectorize for the collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding Model"}),(0,d.jsx)(t.td,{children:"Allows an embedding model configuration (when using Embedding Model)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"provider"}),(0,d.jsx)(t.td,{children:"Vectorize Provider"}),(0,d.jsx)(t.td,{children:"Provider for Astra Vectorize (when using Astra Vectorize)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:"Metric"}),(0,d.jsx)(t.td,{children:"Optional distance metric for vector comparisons"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"batch_size"}),(0,d.jsx)(t.td,{children:"Batch Size"}),(0,d.jsx)(t.td,{children:"Optional number of data to process in a single batch"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"Setup Mode"}),(0,d.jsx)(t.td,{children:'Configuration mode for setting up the vector store (options: "Sync", "Async", "Off", default: "Sync")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pre_delete_collection"}),(0,d.jsx)(t.td,{children:"Pre Delete Collection"}),(0,d.jsx)(t.td,{children:"Boolean flag to determine whether to delete the collection before creating a new one"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"Search Type"}),(0,d.jsx)(t.td,{children:'Search type to use (options: "Similarity", "Similarity with score threshold", "MMR (Max Marginal Relevance)")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Search Score Threshold"}),(0,d.jsx)(t.td,{children:"Minimum similarity score threshold for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Search Metadata Filter"}),(0,d.jsx)(t.td,{children:"Optional dictionary of filters to apply to the search query"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsx)(t.td,{children:"Astra DB vector store instance configured with the specified parameters."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"astradb-graph-vector-store",children:"AstraDB Graph vector store"}),"\n",(0,d.jsxs)(t.p,{children:["This component implements a Vector Store using AstraDB with graph capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/tutorials/graph-rag.html",children:"Astra DB Serverless documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-1",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"Collection Name"}),(0,d.jsx)(t.td,{children:"The name of the collection within AstraDB where the vectors will be stored (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"token"}),(0,d.jsx)(t.td,{children:"Astra DB Application Token"}),(0,d.jsx)(t.td,{children:"Authentication token for accessing AstraDB (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_endpoint"}),(0,d.jsx)(t.td,{children:"API Endpoint"}),(0,d.jsx)(t.td,{children:"API endpoint URL for the AstraDB service (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_input"}),(0,d.jsx)(t.td,{children:"Search Input"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"Namespace"}),(0,d.jsx)(t.td,{children:"Optional namespace within AstraDB to use for the collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding Model"}),(0,d.jsx)(t.td,{children:"Embedding model to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:"Metric"}),(0,d.jsx)(t.td,{children:'Distance metric for vector comparisons (options: "cosine", "euclidean", "dot_product")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"Setup Mode"}),(0,d.jsx)(t.td,{children:'Configuration mode for setting up the vector store (options: "Sync", "Async", "Off")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pre_delete_collection"}),(0,d.jsx)(t.td,{children:"Pre Delete Collection"}),(0,d.jsx)(t.td,{children:"Boolean flag to determine whether to delete the collection before creating a new one"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"Search Type"}),(0,d.jsx)(t.td,{children:'Search type to use (options: "Similarity", "Graph Traversal", "Hybrid")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"traversal_depth"}),(0,d.jsx)(t.td,{children:"Traversal Depth"}),(0,d.jsx)(t.td,{children:"Maximum depth for graph traversal searches (default: 1)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Search Score Threshold"}),(0,d.jsx)(t.td,{children:"Minimum similarity score threshold for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Search Metadata Filter"}),(0,d.jsx)(t.td,{children:"Optional dictionary of filters to apply to the search query"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-1",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsx)(t.td,{children:"Astra DB graph vector store instance configured with the specified parameters."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"cassandra",children:"Cassandra"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Cassandra Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://cassandra.apache.org/doc/latest/cassandra/vector-search/overview.html",children:"Cassandra documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-2",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"database_ref"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Contact points for the database or AstraDB database ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Username for the database (leave empty for AstraDB)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"token"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"User password for the database or AstraDB token"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"keyspace"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Table Keyspace or AstraDB namespace"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"table_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the table or AstraDB collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ttl_seconds"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Time-to-live for added texts"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"batch_size"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of data to process in a single batch"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Configuration mode for setting up the Cassandra table"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"cluster_kwargs"}),(0,d.jsx)(t.td,{children:"Dict"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the Cassandra cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Type of search to perform"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Minimum similarity score for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Dict"}),(0,d.jsx)(t.td,{children:"Metadata filters for search query"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"body_search"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Document textual search terms"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"enable_body_search"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Flag to enable body search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-2",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Cassandra"}),(0,d.jsx)(t.td,{children:"A Cassandra vector store instance configured with the specified parameters."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"cassandra-graph-vector-store",children:"Cassandra Graph Vector Store"}),"\n",(0,d.jsx)(t.p,{children:"This component implements a Cassandra Graph Vector Store with search capabilities."}),"\n",(0,d.jsx)(t.h3,{id:"inputs-3",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"database_ref"}),(0,d.jsx)(t.td,{children:"Contact Points / Astra Database ID"}),(0,d.jsx)(t.td,{children:"Contact points for the database or AstraDB database ID (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"Username"}),(0,d.jsx)(t.td,{children:"Username for the database (leave empty for AstraDB)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"token"}),(0,d.jsx)(t.td,{children:"Password / AstraDB Token"}),(0,d.jsx)(t.td,{children:"User password for the database or AstraDB token (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"keyspace"}),(0,d.jsx)(t.td,{children:"Keyspace"}),(0,d.jsx)(t.td,{children:"Table Keyspace or AstraDB namespace (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"table_name"}),(0,d.jsx)(t.td,{children:"Table Name"}),(0,d.jsx)(t.td,{children:"The name of the table or AstraDB collection where vectors will be stored (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"Setup Mode"}),(0,d.jsx)(t.td,{children:'Configuration mode for setting up the Cassandra table (options: "Sync", "Off", default: "Sync")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"cluster_kwargs"}),(0,d.jsx)(t.td,{children:"Cluster arguments"}),(0,d.jsx)(t.td,{children:"Optional dictionary of additional keyword arguments for the Cassandra cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"Search Query"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store (list of Data objects)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding"}),(0,d.jsx)(t.td,{children:"Embedding model to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"Search Type"}),(0,d.jsx)(t.td,{children:'Search type to use (options: "Traversal", "MMR traversal", "Similarity", "Similarity with score threshold", "MMR (Max Marginal Relevance)", default: "Traversal")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"depth"}),(0,d.jsx)(t.td,{children:"Depth of traversal"}),(0,d.jsx)(t.td,{children:'The maximum depth of edges to traverse (for "Traversal" or "MMR traversal" search types, default: 1)'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Search Score Threshold"}),(0,d.jsx)(t.td,{children:'Minimum similarity score threshold for search results (for "Similarity with score threshold" search type)'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Search Metadata Filter"}),(0,d.jsx)(t.td,{children:"Optional dictionary of filters to apply to the search query"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-3",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsx)(t.td,{children:"A Cassandra Graph vector store instance configured with the specified parameters."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"chroma-db",children:"Chroma DB"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Chroma Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.trychroma.com/",children:"Chroma documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-4",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The name of the Chroma collection. Default: "langflow".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"persist_directory"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The directory to persist the Chroma database."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_cors_allow_origins"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"CORS allow origins for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_host"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Host for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_http_port"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"HTTP port for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_grpc_port"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"gRPC port for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_ssl_enabled"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Enable SSL for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"allow_duplicates"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Allow duplicate documents in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Type of search to perform: "Similarity" or "MMR".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return from the search. Default: 10."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"limit"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Limit the number of records to compare when Allow Duplicates is False."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-4",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Chroma"}),(0,d.jsx)(t.td,{children:"Chroma vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"clickhouse",children:"Clickhouse"}),"\n",(0,d.jsxs)(t.p,{children:["This component implements a Clickhouse Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://clickhouse.com/docs/en/intro",children:"CLickhouse Documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-5",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"host"}),(0,d.jsx)(t.td,{children:"hostname"}),(0,d.jsx)(t.td,{children:'Clickhouse server hostname (required, default: "localhost")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"port"}),(0,d.jsx)(t.td,{children:"port"}),(0,d.jsx)(t.td,{children:"Clickhouse server port (required, default: 8123)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"database"}),(0,d.jsx)(t.td,{children:"database"}),(0,d.jsx)(t.td,{children:"Clickhouse database name (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"table"}),(0,d.jsx)(t.td,{children:"Table name"}),(0,d.jsx)(t.td,{children:"Clickhouse table name (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"The ClickHouse user name."}),(0,d.jsx)(t.td,{children:"Username for authentication (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"password"}),(0,d.jsx)(t.td,{children:"The password for username."}),(0,d.jsx)(t.td,{children:"Password for authentication (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_type"}),(0,d.jsx)(t.td,{children:"index_type"}),(0,d.jsx)(t.td,{children:'Type of the index (options: "annoy", "vector_similarity", default: "annoy")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:'Metric to compute distance (options: "angular", "euclidean", "manhattan", "hamming", "dot", default: "angular")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"secure"}),(0,d.jsx)(t.td,{children:"Use https/TLS"}),(0,d.jsx)(t.td,{children:"Overrides inferred values from the interface or port arguments (default: false)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_param"}),(0,d.jsx)(t.td,{children:"Param of the index"}),(0,d.jsx)(t.td,{children:"Index parameters (default: \"'L2Distance',100\")"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_query_params"}),(0,d.jsx)(t.td,{children:"index query params"}),(0,d.jsx)(t.td,{children:"Additional index query parameters"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"Search Query"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding"}),(0,d.jsx)(t.td,{children:"Embedding model to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"score_threshold"}),(0,d.jsx)(t.td,{children:"Score threshold"}),(0,d.jsx)(t.td,{children:"Threshold for similarity scores"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-5",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsx)(t.td,{children:"Built Clickhouse vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsx)(t.td,{children:"Results of the similarity search as a list of Data objects"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"couchbase",children:"Couchbase"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Couchbase Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.couchbase.com/home/index.html",children:"Couchbase documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-6",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"couchbase_connection_string"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Couchbase Cluster connection string (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"couchbase_username"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Couchbase username (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"couchbase_password"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Couchbase password (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"bucket_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Couchbase bucket (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"scope_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Couchbase scope (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Couchbase collection (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Couchbase index (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return from the search. Default: 4 (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-6",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"CouchbaseVectorStore"}),(0,d.jsx)(t.td,{children:"A Couchbase vector store instance configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"elasticsearch",children:"Elasticsearch"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates an Elasticsearch Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html",children:"Elasticsearch documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-7",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"es_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Elasticsearch server URL"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"es_user"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Username for Elasticsearch authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"es_password"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Password for Elasticsearch authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Elasticsearch index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"strategy"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Strategy for vector search ("approximate_k_nearest_neighbors" or "script_scoring")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"distance_strategy"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Strategy for distance calculation ("COSINE", "EUCLIDEAN_DISTANCE", "DOT_PRODUCT")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search (default: 4)"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-7",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"ElasticsearchStore"}),(0,d.jsx)(t.td,{children:"Elasticsearch vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"faiss",children:"FAISS"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a FAISS Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://faiss.ai/index.html",children:"FAISS documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-8",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The name of the FAISS index. Default: "langflow_index".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"persist_directory"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Path to save the FAISS index. It will be relative to where Langflow is running."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects or documents)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"allow_dangerous_deserialization"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Set to True to allow loading pickle files from untrusted sources. Default: True (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return from the search. Default: 4 (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-8",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"FAISS"}),(0,d.jsx)(t.td,{children:"A FAISS vector store instance configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"hyper-converged-database-hcd-vector-store",children:"Hyper-Converged Database (HCD) Vector Store"}),"\n",(0,d.jsx)(t.p,{children:"This component implements a Vector Store using HCD."}),"\n",(0,d.jsx)(t.h3,{id:"inputs-9",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"Collection Name"}),(0,d.jsx)(t.td,{children:"The name of the collection within HCD where the vectors will be stored (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"HCD Username"}),(0,d.jsx)(t.td,{children:'Authentication username for accessing HCD (default: "hcd-superuser", required)'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"password"}),(0,d.jsx)(t.td,{children:"HCD Password"}),(0,d.jsx)(t.td,{children:"Authentication password for accessing HCD (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_endpoint"}),(0,d.jsx)(t.td,{children:"HCD API Endpoint"}),(0,d.jsx)(t.td,{children:"API endpoint URL for the HCD service (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_input"}),(0,d.jsx)(t.td,{children:"Search Input"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"Namespace"}),(0,d.jsx)(t.td,{children:'Optional namespace within HCD to use for the collection (default: "default_namespace")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ca_certificate"}),(0,d.jsx)(t.td,{children:"CA Certificate"}),(0,d.jsx)(t.td,{children:"Optional CA certificate for TLS connections to HCD"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:"Metric"}),(0,d.jsx)(t.td,{children:'Optional distance metric for vector comparisons (options: "cosine", "dot_product", "euclidean")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"batch_size"}),(0,d.jsx)(t.td,{children:"Batch Size"}),(0,d.jsx)(t.td,{children:"Optional number of data to process in a single batch"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"bulk_insert_batch_concurrency"}),(0,d.jsx)(t.td,{children:"Bulk Insert Batch Concurrency"}),(0,d.jsx)(t.td,{children:"Optional concurrency level for bulk insert operations"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"bulk_insert_overwrite_concurrency"}),(0,d.jsx)(t.td,{children:"Bulk Insert Overwrite Concurrency"}),(0,d.jsx)(t.td,{children:"Optional concurrency level for bulk insert operations that overwrite existing data"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"bulk_delete_concurrency"}),(0,d.jsx)(t.td,{children:"Bulk Delete Concurrency"}),(0,d.jsx)(t.td,{children:"Optional concurrency level for bulk delete operations"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"Setup Mode"}),(0,d.jsx)(t.td,{children:'Configuration mode for setting up the vector store (options: "Sync", "Async", "Off", default: "Sync")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pre_delete_collection"}),(0,d.jsx)(t.td,{children:"Pre Delete Collection"}),(0,d.jsx)(t.td,{children:"Boolean flag to determine whether to delete the collection before creating a new one"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metadata_indexing_include"}),(0,d.jsx)(t.td,{children:"Metadata Indexing Include"}),(0,d.jsx)(t.td,{children:"Optional list of metadata fields to include in the indexing"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding or Astra Vectorize"}),(0,d.jsx)(t.td,{children:"Allows either an embedding model or an Astra Vectorize configuration"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metadata_indexing_exclude"}),(0,d.jsx)(t.td,{children:"Metadata Indexing Exclude"}),(0,d.jsx)(t.td,{children:"Optional list of metadata fields to exclude from the indexing"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_indexing_policy"}),(0,d.jsx)(t.td,{children:"Collection Indexing Policy"}),(0,d.jsx)(t.td,{children:"Optional dictionary defining the indexing policy for the collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"Search Type"}),(0,d.jsx)(t.td,{children:'Search type to use (options: "Similarity", "Similarity with score threshold", "MMR (Max Marginal Relevance)", default: "Similarity")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Search Score Threshold"}),(0,d.jsx)(t.td,{children:"Minimum similarity score threshold for search results (default: 0)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Search Metadata Filter"}),(0,d.jsx)(t.td,{children:"Optional dictionary of filters to apply to the search query"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-9",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsxs)(t.td,{children:["An HCD vector store instance The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"milvus",children:"Milvus"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Milvus Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://milvus.io/docs",children:"Milvus documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-10",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Milvus collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_description"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Description of the Milvus collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"uri"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Connection URI for Milvus"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"password"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Password for Milvus"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Username for Milvus"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"batch_size"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of data to process in a single batch"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Type of search to perform"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Minimum similarity score for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Dict"}),(0,d.jsx)(t.td,{children:"Metadata filters for search query"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Configuration mode for setting up the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_dimensions"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of dimensions of the vectors"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pre_delete_collection"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Whether to delete the collection before creating a new one"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-10",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Milvus"}),(0,d.jsx)(t.td,{children:"A Milvus vector store instance configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"mongodb-atlas",children:"MongoDB Atlas"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a MongoDB Atlas Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://www.mongodb.com/docs/atlas/atlas-vector-search/tutorials/vector-search-quick-start/",children:"MongoDB Atlas documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-11",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"mongodb_atlas_cluster_uri"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"MongoDB Atlas Cluster URI"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"db_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Database name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Collection name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Index name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-11",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"MongoDBAtlasVectorSearch"}),(0,d.jsx)(t.td,{children:"MongoDB Atlas vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"opensearch",children:"Opensearch"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates an Opensearch vector store with search capabilities\nFor more information, see ",(0,d.jsx)(t.a,{href:"https://opensearch.org/platform/search/vector-database.html",children:"Opensearch documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-12",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"opensearch_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["URL for OpenSearch cluster (e.g. ",(0,d.jsx)(t.a,{href:"https://192.168.1.1:9200",children:"https://192.168.1.1:9200"}),")"]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The index name where the vectors will be stored in OpenSearch cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_input"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Enter a search query. Leave empty to retrieve all documents or if hybrid search is being used"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Valid values are "similarity", "similarity_score_threshold", "mmr"'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Minimum similarity score threshold for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"username for the opensource cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"password"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"password for the opensource cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"use_ssl"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Use SSL"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"verify_certs"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Verify certificates"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"hybrid_search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Provide a custom hybrid search query in JSON format. This allows you to combine vector similarity and keyword matching"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-12",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"OpenSearchVectorSearch"}),(0,d.jsx)(t.td,{children:"OpenSearch vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"pgvector",children:"PGVector"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a PGVector Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://github.com/pgvector/pgvector",children:"PGVector documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-13",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pg_server_url"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"PostgreSQL server connection string"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Table name for the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-13",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"PGVector"}),(0,d.jsx)(t.td,{children:"PGVector vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"pinecone",children:"Pinecone"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Pinecone Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.pinecone.io/home",children:"Pinecone documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-14",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Pinecone index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Namespace for the index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"distance_strategy"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Strategy for calculating distance between vectors"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pinecone_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"API key for Pinecone"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"text_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Key in the record to use as text"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-14",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Pinecone"}),(0,d.jsx)(t.td,{children:"Pinecone vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"qdrant",children:"Qdrant"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Qdrant Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://qdrant.tech/documentation/",children:"Qdrant documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-15",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Qdrant collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"host"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Qdrant server host"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"port"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Qdrant server port"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"grpc_port"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Qdrant gRPC port"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"API key for Qdrant"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"prefix"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Prefix for Qdrant"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"timeout"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Timeout for Qdrant operations"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"path"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Path for Qdrant"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"URL for Qdrant"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"distance_func"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Distance function for vector similarity"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"content_payload_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Key for content payload"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metadata_payload_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Key for metadata payload"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-15",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Qdrant"}),(0,d.jsx)(t.td,{children:"Qdrant vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"redis",children:"Redis"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Redis Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/vectors/",children:"Redis documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-16",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"redis_server_url"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Redis server connection string"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"redis_index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Redis index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"code"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Custom code for Redis (advanced)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"schema"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Schema for Redis index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-16",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Redis"}),(0,d.jsx)(t.td,{children:"Redis vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"supabase",children:"Supabase"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a connection to a Supabase Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://supabase.com/docs/guides/ai",children:"Supabase documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-17",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"supabase_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"URL of the Supabase instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"supabase_service_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Service key for Supabase authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"table_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the table in Supabase"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"query_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the query to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-17",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"SupabaseVectorStore"}),(0,d.jsx)(t.td,{children:"Supabase vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"upstash",children:"Upstash"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates an Upstash Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://upstash.com/docs/introduction",children:"Upstash documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-18",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The URL of the Upstash index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_token"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The token for the Upstash index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"text_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The key in the record to use as text"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Namespace for the index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metadata_filter"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Filters documents by metadata"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use (optional)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-18",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"UpstashVectorStore"}),(0,d.jsx)(t.td,{children:"Upstash vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"vectara",children:"Vectara"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Vectara Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-19",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_customer_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_corpus_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Vectara API key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use (optional)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"List[Document/Data]"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-19",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"VectaraVectorStore"}),(0,d.jsx)(t.td,{children:"Vectara vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"vectara-search",children:"Vectara Search"}),"\n",(0,d.jsxs)(t.p,{children:["This component searches a Vectara Vector Store for documents based on the provided input.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-20",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Type of search, such as "Similarity" or "MMR"'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"input_value"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Search query"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_customer_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_corpus_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Vectara API key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"files_url"}),(0,d.jsx)(t.td,{children:"List[String]"}),(0,d.jsx)(t.td,{children:"Optional URLs for file initialization"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-20",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"vectara-rag",children:"Vectara RAG"}),"\n",(0,d.jsxs)(t.p,{children:["This component leverages Vectara's Retrieval Augmented Generation (RAG) capabilities to search and summarize documents based on the provided input. For more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-21",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_customer_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_corpus_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Vectara API key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The query to receive an answer on"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"lexical_interpolation"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Hybrid search factor (0.005 to 0.1)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"filter"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Metadata filters to narrow the search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"reranker"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Reranker type (mmr, rerank_multilingual_v1, none)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"reranker_k"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to rerank (1 to 100)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"diversity_bias"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Diversity bias for MMR reranker (0 to 1)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Maximum number of search results to summarize (1 to 100)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"response_lang"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Language code for the response (for example, "eng", "auto")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"prompt"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Prompt name for summarization"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-21",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"answer"}),(0,d.jsx)(t.td,{children:"Message"}),(0,d.jsx)(t.td,{children:"Generated RAG response"})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"weaviate",children:"Weaviate"}),"\n",(0,d.jsxs)(t.p,{children:["This component facilitates a Weaviate Vector Store setup, optimizing text and document indexing and retrieval.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://weaviate.io/developers/weaviate",children:"Weaviate Documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-22",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"weaviate_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Default instance URL"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_by_text"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Indicates whether to search by text"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Optional API key for authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Optional index name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"text_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Default text extraction key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"input"}),(0,d.jsx)(t.td,{children:"Document"}),(0,d.jsx)(t.td,{children:"Document or record"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Model used"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"attributes"}),(0,d.jsx)(t.td,{children:"List[String]"}),(0,d.jsx)(t.td,{children:"Optional additional attributes"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-22",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"WeaviateVectorStore"}),(0,d.jsx)(t.td,{children:"Weaviate vector store instance"})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"weaviate-search",children:"Weaviate Search"}),"\n",(0,d.jsxs)(t.p,{children:["This component searches a Weaviate Vector Store for documents similar to the input.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://weaviate.io/developers/weaviate",children:"Weaviate Documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-23",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Type of search, such as "Similarity" or "MMR"'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"input_value"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Search query"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"weaviate_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Default instance URL"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_by_text"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Indicates whether to search by text"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Optional API key for authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Optional index name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"text_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Default text extraction key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Model used"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"attributes"}),(0,d.jsx)(t.td,{children:"List[String]"}),(0,d.jsx)(t.td,{children:"Optional additional attributes"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-23",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})})]})]})}function o(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},59072:(e,t,r)=>{r.d(t,{A:()=>s});const s=r.p+"assets/images/vector-store-agent-retrieval-tool-79066d11008a74c40390f55f7c73bd71.png"},67719:(e,t,r)=>{r.d(t,{A:()=>s});const s=r.p+"assets/images/vector-store-retrieval-452b8316c734a28f85fcddf9ff7a32e4.png"}}]);
\ No newline at end of file
diff --git a/assets/js/f66238ae.e53f27a5.js b/assets/js/f66238ae.e53f27a5.js
new file mode 100644
index 0000000000..e1b72965a1
--- /dev/null
+++ b/assets/js/f66238ae.e53f27a5.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[3391],{28453:(e,t,r)=>{r.d(t,{R:()=>i,x:()=>c});var s=r(96540);const d={},n=s.createContext(d);function i(e){const t=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),s.createElement(n.Provider,{value:t},e.children)}},45175:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>h,contentTitle:()=>c,default:()=>o,frontMatter:()=>i,metadata:()=>s,toc:()=>l});const s=JSON.parse('{"id":"Components/components-vector-stores","title":"Vector stores","description":"Vector databases store vector data, which backs AI workloads like chatbots and Retrieval Augmented Generation.","source":"@site/docs/Components/components-vector-stores.md","sourceDirName":"Components","slug":"/components-vector-stores","permalink":"/components-vector-stores","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Vector stores","slug":"/components-vector-stores"},"sidebar":"docs","previous":{"title":"Tools","permalink":"/components-tools"},"next":{"title":"Agents overview","permalink":"/agents-overview"}}');var d=r(74848),n=r(28453);const i={title:"Vector stores",slug:"/components-vector-stores"},c="Vector store components in Langflow",h={},l=[{value:"Use a vector store component in a flow",id:"use-a-vector-store-component-in-a-flow",level:2},{value:"Astra DB Vector Store",id:"astra-db-vector-store",level:2},{value:"Inputs",id:"inputs",level:3},{value:"Outputs",id:"outputs",level:3},{value:"Generate embeddings",id:"generate-embeddings",level:3},{value:"AstraDB Graph vector store",id:"astradb-graph-vector-store",level:2},{value:"Inputs",id:"inputs-1",level:3},{value:"Outputs",id:"outputs-1",level:3},{value:"Cassandra",id:"cassandra",level:2},{value:"Inputs",id:"inputs-2",level:3},{value:"Outputs",id:"outputs-2",level:3},{value:"Cassandra Graph Vector Store",id:"cassandra-graph-vector-store",level:2},{value:"Inputs",id:"inputs-3",level:3},{value:"Outputs",id:"outputs-3",level:3},{value:"Chroma DB",id:"chroma-db",level:2},{value:"Inputs",id:"inputs-4",level:3},{value:"Outputs",id:"outputs-4",level:3},{value:"Clickhouse",id:"clickhouse",level:2},{value:"Inputs",id:"inputs-5",level:3},{value:"Outputs",id:"outputs-5",level:3},{value:"Couchbase",id:"couchbase",level:2},{value:"Inputs",id:"inputs-6",level:3},{value:"Outputs",id:"outputs-6",level:3},{value:"Elasticsearch",id:"elasticsearch",level:2},{value:"Inputs",id:"inputs-7",level:3},{value:"Outputs",id:"outputs-7",level:3},{value:"FAISS",id:"faiss",level:2},{value:"Inputs",id:"inputs-8",level:3},{value:"Outputs",id:"outputs-8",level:3},{value:"Hyper-Converged Database (HCD) Vector Store",id:"hyper-converged-database-hcd-vector-store",level:2},{value:"Inputs",id:"inputs-9",level:3},{value:"Outputs",id:"outputs-9",level:3},{value:"Milvus",id:"milvus",level:2},{value:"Inputs",id:"inputs-10",level:3},{value:"Outputs",id:"outputs-10",level:3},{value:"MongoDB Atlas",id:"mongodb-atlas",level:2},{value:"Inputs",id:"inputs-11",level:3},{value:"Outputs",id:"outputs-11",level:3},{value:"Opensearch",id:"opensearch",level:2},{value:"Inputs",id:"inputs-12",level:3},{value:"Outputs",id:"outputs-12",level:3},{value:"PGVector",id:"pgvector",level:2},{value:"Inputs",id:"inputs-13",level:3},{value:"Outputs",id:"outputs-13",level:3},{value:"Pinecone",id:"pinecone",level:2},{value:"Inputs",id:"inputs-14",level:3},{value:"Outputs",id:"outputs-14",level:3},{value:"Qdrant",id:"qdrant",level:2},{value:"Inputs",id:"inputs-15",level:3},{value:"Outputs",id:"outputs-15",level:3},{value:"Redis",id:"redis",level:2},{value:"Inputs",id:"inputs-16",level:3},{value:"Outputs",id:"outputs-16",level:3},{value:"Supabase",id:"supabase",level:2},{value:"Inputs",id:"inputs-17",level:3},{value:"Outputs",id:"outputs-17",level:3},{value:"Upstash",id:"upstash",level:2},{value:"Inputs",id:"inputs-18",level:3},{value:"Outputs",id:"outputs-18",level:3},{value:"Vectara",id:"vectara",level:2},{value:"Inputs",id:"inputs-19",level:3},{value:"Outputs",id:"outputs-19",level:3},{value:"Vectara Search",id:"vectara-search",level:2},{value:"Inputs",id:"inputs-20",level:3},{value:"Outputs",id:"outputs-20",level:3},{value:"Vectara RAG",id:"vectara-rag",level:2},{value:"Inputs",id:"inputs-21",level:3},{value:"Outputs",id:"outputs-21",level:3},{value:"Weaviate",id:"weaviate",level:2},{value:"Inputs",id:"inputs-22",level:3},{value:"Outputs",id:"outputs-22",level:3},{value:"Weaviate Search",id:"weaviate-search",level:2},{value:"Inputs",id:"inputs-23",level:3},{value:"Outputs",id:"outputs-23",level:3}];function a(e){const t={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.header,{children:(0,d.jsx)(t.h1,{id:"vector-store-components-in-langflow",children:"Vector store components in Langflow"})}),"\n",(0,d.jsx)(t.p,{children:"Vector databases store vector data, which backs AI workloads like chatbots and Retrieval Augmented Generation."}),"\n",(0,d.jsx)(t.p,{children:"Vector database components establish connections to existing vector databases or create in-memory vector stores for storing and retrieving vector data."}),"\n",(0,d.jsxs)(t.p,{children:["Vector database components are distinct from ",(0,d.jsx)(t.a,{href:"/components-memories",children:"memory components"}),", which are built specifically for storing and retrieving chat messages from external databases."]}),"\n",(0,d.jsx)(t.h2,{id:"use-a-vector-store-component-in-a-flow",children:"Use a vector store component in a flow"}),"\n",(0,d.jsxs)(t.p,{children:["This example uses the ",(0,d.jsx)(t.strong,{children:"Astra DB vector store"})," component. Your vector store component's parameters and authentication may be different, but the document ingestion workflow is the same. A document is loaded from a local machine and chunked. The Astra DB vector store generates embeddings with the connected ",(0,d.jsx)(t.a,{href:"/components-models",children:"model"})," component, and stores them in the connected Astra DB database."]}),"\n",(0,d.jsx)(t.p,{children:"This vector data can then be retrieved for workloads like Retrieval Augmented Generation."}),"\n",(0,d.jsx)(t.p,{children:(0,d.jsx)(t.img,{src:r(67719).A+"",width:"2898",height:"1110"})}),"\n",(0,d.jsxs)(t.p,{children:["The user's chat input is embedded and compared to the vectors embedded during document ingestion for a similarity search.\nThe results are output from the vector database component as a ",(0,d.jsx)(t.a,{href:"/concepts-objects",children:"Data"})," object and parsed into text.\nThis text fills the ",(0,d.jsx)(t.code,{children:"{context}"})," variable in the ",(0,d.jsx)(t.strong,{children:"Prompt"})," component, which informs the ",(0,d.jsx)(t.strong,{children:"Open AI model"})," component's responses."]}),"\n",(0,d.jsxs)(t.p,{children:["Alternatively, connect the vector database component's ",(0,d.jsx)(t.strong,{children:"Retriever"})," port to a ",(0,d.jsx)(t.a,{href:"components-tools#retriever-tool",children:"retriever tool"}),", and then to an ",(0,d.jsx)(t.a,{href:"/components-agents",children:"agent"})," component. This enables the agent to use your vector database as a tool and make decisions based on the available data."]}),"\n",(0,d.jsx)(t.p,{children:(0,d.jsx)(t.img,{src:r(59072).A+"",width:"2414",height:"1602"})}),"\n",(0,d.jsx)(t.h2,{id:"astra-db-vector-store",children:"Astra DB Vector Store"}),"\n",(0,d.jsx)(t.p,{children:"This component implements a Vector Store using Astra DB with search capabilities."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/create-database.html",children:"DataStax documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"token"}),(0,d.jsx)(t.td,{children:"Astra DB Application Token"}),(0,d.jsx)(t.td,{children:"The authentication token for accessing Astra DB."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"environment"}),(0,d.jsx)(t.td,{children:"Environment"}),(0,d.jsxs)(t.td,{children:["The environment for the Astra DB API Endpoint. For example, ",(0,d.jsx)(t.code,{children:"dev"})," or ",(0,d.jsx)(t.code,{children:"prod"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"database_name"}),(0,d.jsx)(t.td,{children:"Database"}),(0,d.jsx)(t.td,{children:"The database name for the Astra DB instance."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_endpoint"}),(0,d.jsx)(t.td,{children:"Astra DB API Endpoint"}),(0,d.jsx)(t.td,{children:"The API endpoint for the Astra DB instance. This supersedes the database selection."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"Collection"}),(0,d.jsx)(t.td,{children:"The name of the collection within Astra DB where the vectors are stored."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"keyspace"}),(0,d.jsx)(t.td,{children:"Keyspace"}),(0,d.jsx)(t.td,{children:"An optional keyspace within Astra DB to use for the collection."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding_choice"}),(0,d.jsx)(t.td,{children:"Embedding Model or Astra Vectorize"}),(0,d.jsx)(t.td,{children:"Choose an embedding model or use Astra vectorize."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding_model"}),(0,d.jsx)(t.td,{children:"Embedding Model"}),(0,d.jsx)(t.td,{children:"Specify the embedding model. Not required for Astra vectorize collections."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Search Results"}),(0,d.jsxs)(t.td,{children:["The number of search results to return (default: ",(0,d.jsx)(t.code,{children:"4"}),")."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"Search Type"}),(0,d.jsxs)(t.td,{children:["The search type to use. The options are ",(0,d.jsx)(t.code,{children:"Similarity"}),", ",(0,d.jsx)(t.code,{children:"Similarity with score threshold"}),", and ",(0,d.jsx)(t.code,{children:"MMR (Max Marginal Relevance)"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Search Score Threshold"}),(0,d.jsxs)(t.td,{children:["The minimum similarity score threshold for search results when using the ",(0,d.jsx)(t.code,{children:"Similarity with score threshold"})," option."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"advanced_search_filter"}),(0,d.jsx)(t.td,{children:"Search Metadata Filter"}),(0,d.jsx)(t.td,{children:"An optional dictionary of filters to apply to the search query."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"autodetect_collection"}),(0,d.jsx)(t.td,{children:"Autodetect Collection"}),(0,d.jsx)(t.td,{children:"A boolean flag to determine whether to autodetect the collection."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"content_field"}),(0,d.jsx)(t.td,{children:"Content Field"}),(0,d.jsx)(t.td,{children:"A field to use as the text content field for the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"deletion_field"}),(0,d.jsx)(t.td,{children:"Deletion Based On Field"}),(0,d.jsx)(t.td,{children:"When provided, documents in the target collection with metadata field values matching the input metadata field value are deleted before new data is loaded."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ignore_invalid_documents"}),(0,d.jsx)(t.td,{children:"Ignore Invalid Documents"}),(0,d.jsx)(t.td,{children:"A boolean flag to determine whether to ignore invalid documents at runtime."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"astradb_vectorstore_kwargs"}),(0,d.jsx)(t.td,{children:"AstraDBVectorStore Parameters"}),(0,d.jsx)(t.td,{children:"An optional dictionary of additional parameters for the AstraDBVectorStore."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsx)(t.td,{children:"Astra DB vector store instance configured with the specified parameters."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.a,{href:"/concepts-objects#data-object",children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"generate-embeddings",children:"Generate embeddings"}),"\n",(0,d.jsxs)(t.p,{children:["The ",(0,d.jsx)(t.strong,{children:"Astra DB Vector Store"})," component offers two methods for generating embeddings."]}),"\n",(0,d.jsxs)(t.ol,{children:["\n",(0,d.jsxs)(t.li,{children:["\n",(0,d.jsxs)(t.p,{children:[(0,d.jsx)(t.strong,{children:"Embedding Model"}),": Use your own embedding model by connecting an ",(0,d.jsx)(t.a,{href:"/components-embedding-models",children:"Embeddings"})," component in Langflow."]}),"\n"]}),"\n",(0,d.jsxs)(t.li,{children:["\n",(0,d.jsxs)(t.p,{children:[(0,d.jsx)(t.strong,{children:"Astra Vectorize"}),": Use Astra DB's built-in embedding generation service. When creating a new collection, choose the embeddings provider and models, including NVIDIA's ",(0,d.jsx)(t.code,{children:"NV-Embed-QA"})," model hosted by Datastax."]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(t.admonition,{type:"important",children:(0,d.jsx)(t.p,{children:"The embedding model selection is made when creating a new collection and cannot be changed later."})}),"\n",(0,d.jsxs)(t.p,{children:["For an example of using the ",(0,d.jsx)(t.strong,{children:"Astra DB Vector Store"})," component with an embedding model, see the ",(0,d.jsx)(t.a,{href:"/starter-projects-vector-store-rag",children:"Vector Store RAG starter project"}),"."]}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html",children:"Astra DB Serverless documentation"}),"."]}),"\n",(0,d.jsx)(t.h2,{id:"astradb-graph-vector-store",children:"AstraDB Graph vector store"}),"\n",(0,d.jsxs)(t.p,{children:["This component implements a Vector Store using AstraDB with graph capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/tutorials/graph-rag.html",children:"Astra DB Serverless documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-1",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"Collection Name"}),(0,d.jsx)(t.td,{children:"The name of the collection within AstraDB where the vectors will be stored (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"token"}),(0,d.jsx)(t.td,{children:"Astra DB Application Token"}),(0,d.jsx)(t.td,{children:"Authentication token for accessing AstraDB (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_endpoint"}),(0,d.jsx)(t.td,{children:"API Endpoint"}),(0,d.jsx)(t.td,{children:"API endpoint URL for the AstraDB service (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_input"}),(0,d.jsx)(t.td,{children:"Search Input"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"Namespace"}),(0,d.jsx)(t.td,{children:"Optional namespace within AstraDB to use for the collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding Model"}),(0,d.jsx)(t.td,{children:"Embedding model to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:"Metric"}),(0,d.jsx)(t.td,{children:'Distance metric for vector comparisons (options: "cosine", "euclidean", "dot_product")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"Setup Mode"}),(0,d.jsx)(t.td,{children:'Configuration mode for setting up the vector store (options: "Sync", "Async", "Off")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pre_delete_collection"}),(0,d.jsx)(t.td,{children:"Pre Delete Collection"}),(0,d.jsx)(t.td,{children:"Boolean flag to determine whether to delete the collection before creating a new one"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"Search Type"}),(0,d.jsx)(t.td,{children:'Search type to use (options: "Similarity", "Graph Traversal", "Hybrid")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"traversal_depth"}),(0,d.jsx)(t.td,{children:"Traversal Depth"}),(0,d.jsx)(t.td,{children:"Maximum depth for graph traversal searches (default: 1)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Search Score Threshold"}),(0,d.jsx)(t.td,{children:"Minimum similarity score threshold for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Search Metadata Filter"}),(0,d.jsx)(t.td,{children:"Optional dictionary of filters to apply to the search query"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-1",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsx)(t.td,{children:"Astra DB graph vector store instance configured with the specified parameters."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"cassandra",children:"Cassandra"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Cassandra Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://cassandra.apache.org/doc/latest/cassandra/vector-search/overview.html",children:"Cassandra documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-2",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"database_ref"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Contact points for the database or AstraDB database ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Username for the database (leave empty for AstraDB)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"token"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"User password for the database or AstraDB token"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"keyspace"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Table Keyspace or AstraDB namespace"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"table_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the table or AstraDB collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ttl_seconds"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Time-to-live for added texts"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"batch_size"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of data to process in a single batch"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Configuration mode for setting up the Cassandra table"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"cluster_kwargs"}),(0,d.jsx)(t.td,{children:"Dict"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the Cassandra cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Type of search to perform"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Minimum similarity score for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Dict"}),(0,d.jsx)(t.td,{children:"Metadata filters for search query"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"body_search"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Document textual search terms"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"enable_body_search"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Flag to enable body search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-2",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Cassandra"}),(0,d.jsx)(t.td,{children:"A Cassandra vector store instance configured with the specified parameters."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"cassandra-graph-vector-store",children:"Cassandra Graph Vector Store"}),"\n",(0,d.jsx)(t.p,{children:"This component implements a Cassandra Graph Vector Store with search capabilities."}),"\n",(0,d.jsx)(t.h3,{id:"inputs-3",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"database_ref"}),(0,d.jsx)(t.td,{children:"Contact Points / Astra Database ID"}),(0,d.jsx)(t.td,{children:"Contact points for the database or AstraDB database ID (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"Username"}),(0,d.jsx)(t.td,{children:"Username for the database (leave empty for AstraDB)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"token"}),(0,d.jsx)(t.td,{children:"Password / AstraDB Token"}),(0,d.jsx)(t.td,{children:"User password for the database or AstraDB token (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"keyspace"}),(0,d.jsx)(t.td,{children:"Keyspace"}),(0,d.jsx)(t.td,{children:"Table Keyspace or AstraDB namespace (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"table_name"}),(0,d.jsx)(t.td,{children:"Table Name"}),(0,d.jsx)(t.td,{children:"The name of the table or AstraDB collection where vectors will be stored (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"Setup Mode"}),(0,d.jsx)(t.td,{children:'Configuration mode for setting up the Cassandra table (options: "Sync", "Off", default: "Sync")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"cluster_kwargs"}),(0,d.jsx)(t.td,{children:"Cluster arguments"}),(0,d.jsx)(t.td,{children:"Optional dictionary of additional keyword arguments for the Cassandra cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"Search Query"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store (list of Data objects)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding"}),(0,d.jsx)(t.td,{children:"Embedding model to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"Search Type"}),(0,d.jsx)(t.td,{children:'Search type to use (options: "Traversal", "MMR traversal", "Similarity", "Similarity with score threshold", "MMR (Max Marginal Relevance)", default: "Traversal")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"depth"}),(0,d.jsx)(t.td,{children:"Depth of traversal"}),(0,d.jsx)(t.td,{children:'The maximum depth of edges to traverse (for "Traversal" or "MMR traversal" search types, default: 1)'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Search Score Threshold"}),(0,d.jsx)(t.td,{children:'Minimum similarity score threshold for search results (for "Similarity with score threshold" search type)'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Search Metadata Filter"}),(0,d.jsx)(t.td,{children:"Optional dictionary of filters to apply to the search query"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-3",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsx)(t.td,{children:"A Cassandra Graph vector store instance configured with the specified parameters."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"chroma-db",children:"Chroma DB"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Chroma Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.trychroma.com/",children:"Chroma documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-4",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The name of the Chroma collection. Default: "langflow".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"persist_directory"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The directory to persist the Chroma database."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_cors_allow_origins"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"CORS allow origins for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_host"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Host for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_http_port"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"HTTP port for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_grpc_port"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"gRPC port for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"chroma_server_ssl_enabled"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Enable SSL for the Chroma server."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"allow_duplicates"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Allow duplicate documents in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Type of search to perform: "Similarity" or "MMR".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return from the search. Default: 10."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"limit"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Limit the number of records to compare when Allow Duplicates is False."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-4",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Chroma"}),(0,d.jsx)(t.td,{children:"Chroma vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"clickhouse",children:"Clickhouse"}),"\n",(0,d.jsxs)(t.p,{children:["This component implements a Clickhouse Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://clickhouse.com/docs/en/intro",children:"CLickhouse Documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-5",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"host"}),(0,d.jsx)(t.td,{children:"hostname"}),(0,d.jsx)(t.td,{children:'Clickhouse server hostname (required, default: "localhost")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"port"}),(0,d.jsx)(t.td,{children:"port"}),(0,d.jsx)(t.td,{children:"Clickhouse server port (required, default: 8123)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"database"}),(0,d.jsx)(t.td,{children:"database"}),(0,d.jsx)(t.td,{children:"Clickhouse database name (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"table"}),(0,d.jsx)(t.td,{children:"Table name"}),(0,d.jsx)(t.td,{children:"Clickhouse table name (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"The ClickHouse user name."}),(0,d.jsx)(t.td,{children:"Username for authentication (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"password"}),(0,d.jsx)(t.td,{children:"The password for username."}),(0,d.jsx)(t.td,{children:"Password for authentication (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_type"}),(0,d.jsx)(t.td,{children:"index_type"}),(0,d.jsx)(t.td,{children:'Type of the index (options: "annoy", "vector_similarity", default: "annoy")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:'Metric to compute distance (options: "angular", "euclidean", "manhattan", "hamming", "dot", default: "angular")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"secure"}),(0,d.jsx)(t.td,{children:"Use https/TLS"}),(0,d.jsx)(t.td,{children:"Overrides inferred values from the interface or port arguments (default: false)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_param"}),(0,d.jsx)(t.td,{children:"Param of the index"}),(0,d.jsx)(t.td,{children:"Index parameters (default: \"'L2Distance',100\")"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_query_params"}),(0,d.jsx)(t.td,{children:"index query params"}),(0,d.jsx)(t.td,{children:"Additional index query parameters"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"Search Query"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding"}),(0,d.jsx)(t.td,{children:"Embedding model to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"score_threshold"}),(0,d.jsx)(t.td,{children:"Score threshold"}),(0,d.jsx)(t.td,{children:"Threshold for similarity scores"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-5",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsx)(t.td,{children:"Built Clickhouse vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsx)(t.td,{children:"Results of the similarity search as a list of Data objects"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"couchbase",children:"Couchbase"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Couchbase Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.couchbase.com/home/index.html",children:"Couchbase documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-6",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"couchbase_connection_string"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Couchbase Cluster connection string (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"couchbase_username"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Couchbase username (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"couchbase_password"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Couchbase password (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"bucket_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Couchbase bucket (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"scope_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Couchbase scope (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Couchbase collection (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Couchbase index (required)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return from the search. Default: 4 (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-6",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"CouchbaseVectorStore"}),(0,d.jsx)(t.td,{children:"A Couchbase vector store instance configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"elasticsearch",children:"Elasticsearch"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates an Elasticsearch Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html",children:"Elasticsearch documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-7",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"es_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Elasticsearch server URL"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"es_user"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Username for Elasticsearch authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"es_password"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Password for Elasticsearch authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Elasticsearch index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"strategy"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Strategy for vector search ("approximate_k_nearest_neighbors" or "script_scoring")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"distance_strategy"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Strategy for distance calculation ("COSINE", "EUCLIDEAN_DISTANCE", "DOT_PRODUCT")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search (default: 4)"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-7",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"ElasticsearchStore"}),(0,d.jsx)(t.td,{children:"Elasticsearch vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"faiss",children:"FAISS"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a FAISS Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://faiss.ai/index.html",children:"FAISS documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-8",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The name of the FAISS index. Default: "langflow_index".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"persist_directory"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Path to save the FAISS index. It will be relative to where Langflow is running."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects or documents)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"allow_dangerous_deserialization"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Set to True to allow loading pickle files from untrusted sources. Default: True (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return from the search. Default: 4 (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-8",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"FAISS"}),(0,d.jsx)(t.td,{children:"A FAISS vector store instance configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"hyper-converged-database-hcd-vector-store",children:"Hyper-Converged Database (HCD) Vector Store"}),"\n",(0,d.jsx)(t.p,{children:"This component implements a Vector Store using HCD."}),"\n",(0,d.jsx)(t.h3,{id:"inputs-9",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"Collection Name"}),(0,d.jsx)(t.td,{children:"The name of the collection within HCD where the vectors will be stored (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"HCD Username"}),(0,d.jsx)(t.td,{children:'Authentication username for accessing HCD (default: "hcd-superuser", required)'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"password"}),(0,d.jsx)(t.td,{children:"HCD Password"}),(0,d.jsx)(t.td,{children:"Authentication password for accessing HCD (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_endpoint"}),(0,d.jsx)(t.td,{children:"HCD API Endpoint"}),(0,d.jsx)(t.td,{children:"API endpoint URL for the HCD service (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_input"}),(0,d.jsx)(t.td,{children:"Search Input"}),(0,d.jsx)(t.td,{children:"Query string for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Ingest Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"Namespace"}),(0,d.jsx)(t.td,{children:'Optional namespace within HCD to use for the collection (default: "default_namespace")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ca_certificate"}),(0,d.jsx)(t.td,{children:"CA Certificate"}),(0,d.jsx)(t.td,{children:"Optional CA certificate for TLS connections to HCD"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metric"}),(0,d.jsx)(t.td,{children:"Metric"}),(0,d.jsx)(t.td,{children:'Optional distance metric for vector comparisons (options: "cosine", "dot_product", "euclidean")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"batch_size"}),(0,d.jsx)(t.td,{children:"Batch Size"}),(0,d.jsx)(t.td,{children:"Optional number of data to process in a single batch"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"bulk_insert_batch_concurrency"}),(0,d.jsx)(t.td,{children:"Bulk Insert Batch Concurrency"}),(0,d.jsx)(t.td,{children:"Optional concurrency level for bulk insert operations"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"bulk_insert_overwrite_concurrency"}),(0,d.jsx)(t.td,{children:"Bulk Insert Overwrite Concurrency"}),(0,d.jsx)(t.td,{children:"Optional concurrency level for bulk insert operations that overwrite existing data"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"bulk_delete_concurrency"}),(0,d.jsx)(t.td,{children:"Bulk Delete Concurrency"}),(0,d.jsx)(t.td,{children:"Optional concurrency level for bulk delete operations"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"Setup Mode"}),(0,d.jsx)(t.td,{children:'Configuration mode for setting up the vector store (options: "Sync", "Async", "Off", default: "Sync")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pre_delete_collection"}),(0,d.jsx)(t.td,{children:"Pre Delete Collection"}),(0,d.jsx)(t.td,{children:"Boolean flag to determine whether to delete the collection before creating a new one"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metadata_indexing_include"}),(0,d.jsx)(t.td,{children:"Metadata Indexing Include"}),(0,d.jsx)(t.td,{children:"Optional list of metadata fields to include in the indexing"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embedding or Astra Vectorize"}),(0,d.jsx)(t.td,{children:"Allows either an embedding model or an Astra Vectorize configuration"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metadata_indexing_exclude"}),(0,d.jsx)(t.td,{children:"Metadata Indexing Exclude"}),(0,d.jsx)(t.td,{children:"Optional list of metadata fields to exclude from the indexing"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_indexing_policy"}),(0,d.jsx)(t.td,{children:"Collection Indexing Policy"}),(0,d.jsx)(t.td,{children:"Optional dictionary defining the indexing policy for the collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Number of Results"}),(0,d.jsx)(t.td,{children:"Number of results to return in similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"Search Type"}),(0,d.jsx)(t.td,{children:'Search type to use (options: "Similarity", "Similarity with score threshold", "MMR (Max Marginal Relevance)", default: "Similarity")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Search Score Threshold"}),(0,d.jsx)(t.td,{children:"Minimum similarity score threshold for search results (default: 0)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Search Metadata Filter"}),(0,d.jsx)(t.td,{children:"Optional dictionary of filters to apply to the search query"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-9",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store"}),(0,d.jsxs)(t.td,{children:["An HCD vector store instance The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"Search Results"}),(0,d.jsxs)(t.td,{children:["The results of the similarity search as a list of ",(0,d.jsx)(t.code,{children:"Data"})," objects."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"milvus",children:"Milvus"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Milvus Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://milvus.io/docs",children:"Milvus documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-10",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Milvus collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_description"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Description of the Milvus collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"uri"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Connection URI for Milvus"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"password"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Password for Milvus"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Username for Milvus"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"batch_size"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of data to process in a single batch"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Type of search to perform"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Minimum similarity score for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_filter"}),(0,d.jsx)(t.td,{children:"Dict"}),(0,d.jsx)(t.td,{children:"Metadata filters for search query"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"setup_mode"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Configuration mode for setting up the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_dimensions"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of dimensions of the vectors"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pre_delete_collection"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Whether to delete the collection before creating a new one"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-10",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Milvus"}),(0,d.jsx)(t.td,{children:"A Milvus vector store instance configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"mongodb-atlas",children:"MongoDB Atlas"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a MongoDB Atlas Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://www.mongodb.com/docs/atlas/atlas-vector-search/tutorials/vector-search-quick-start/",children:"MongoDB Atlas documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-11",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"mongodb_atlas_cluster_uri"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"MongoDB Atlas Cluster URI"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"db_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Database name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Collection name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Index name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-11",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"MongoDBAtlasVectorSearch"}),(0,d.jsx)(t.td,{children:"MongoDB Atlas vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"opensearch",children:"Opensearch"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates an Opensearch vector store with search capabilities\nFor more information, see ",(0,d.jsx)(t.a,{href:"https://opensearch.org/platform/search/vector-database.html",children:"Opensearch documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-12",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"opensearch_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["URL for OpenSearch cluster (e.g. ",(0,d.jsx)(t.a,{href:"https://192.168.1.1:9200",children:"https://192.168.1.1:9200"}),")"]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The index name where the vectors will be stored in OpenSearch cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_input"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Enter a search query. Leave empty to retrieve all documents or if hybrid search is being used"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Valid values are "similarity", "similarity_score_threshold", "mmr"'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_score_threshold"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Minimum similarity score threshold for search results"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"username"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"username for the opensource cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"password"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"password for the opensource cluster"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"use_ssl"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Use SSL"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"verify_certs"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Verify certificates"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"hybrid_search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Provide a custom hybrid search query in JSON format. This allows you to combine vector similarity and keyword matching"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-12",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"OpenSearchVectorSearch"}),(0,d.jsx)(t.td,{children:"OpenSearch vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"pgvector",children:"PGVector"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a PGVector Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://github.com/pgvector/pgvector",children:"PGVector documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-13",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pg_server_url"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"PostgreSQL server connection string"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Table name for the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-13",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"PGVector"}),(0,d.jsx)(t.td,{children:"PGVector vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"pinecone",children:"Pinecone"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Pinecone Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.pinecone.io/home",children:"Pinecone documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-14",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Pinecone index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Namespace for the index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"distance_strategy"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Strategy for calculating distance between vectors"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"pinecone_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"API key for Pinecone"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"text_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Key in the record to use as text"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-14",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Pinecone"}),(0,d.jsx)(t.td,{children:"Pinecone vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"qdrant",children:"Qdrant"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Qdrant Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://qdrant.tech/documentation/",children:"Qdrant documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-15",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"collection_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Qdrant collection"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"host"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Qdrant server host"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"port"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Qdrant server port"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"grpc_port"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Qdrant gRPC port"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"API key for Qdrant"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"prefix"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Prefix for Qdrant"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"timeout"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Timeout for Qdrant operations"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"path"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Path for Qdrant"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"URL for Qdrant"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"distance_func"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Distance function for vector similarity"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"content_payload_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Key for content payload"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metadata_payload_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Key for metadata payload"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-15",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Qdrant"}),(0,d.jsx)(t.td,{children:"Qdrant vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"redis",children:"Redis"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Redis Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/vectors/",children:"Redis documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-16",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"redis_server_url"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Redis server connection string"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"redis_index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the Redis index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"code"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Custom code for Redis (advanced)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"schema"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Schema for Redis index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-16",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Redis"}),(0,d.jsx)(t.td,{children:"Redis vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"supabase",children:"Supabase"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a connection to a Supabase Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://supabase.com/docs/guides/ai",children:"Supabase documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-17",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"supabase_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"URL of the Supabase instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"supabase_service_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Service key for Supabase authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"table_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the table in Supabase"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"query_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the query to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-17",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"SupabaseVectorStore"}),(0,d.jsx)(t.td,{children:"Supabase vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"upstash",children:"Upstash"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates an Upstash Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://upstash.com/docs/introduction",children:"Upstash documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-18",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The URL of the Upstash index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_token"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The token for the Upstash index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"text_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The key in the record to use as text"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"namespace"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Namespace for the index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"metadata_filter"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Filters documents by metadata"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"Data"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use (optional)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-18",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"UpstashVectorStore"}),(0,d.jsx)(t.td,{children:"Upstash vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"vectara",children:"Vectara"}),"\n",(0,d.jsxs)(t.p,{children:["This component creates a Vectara Vector Store with search capabilities.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-19",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_customer_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_corpus_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Vectara API key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Embedding function to use (optional)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"ingest_data"}),(0,d.jsx)(t.td,{children:"List[Document/Data]"}),(0,d.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Query for similarity search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_of_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-19",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"VectaraVectorStore"}),(0,d.jsx)(t.td,{children:"Vectara vector store instance"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"vectara-search",children:"Vectara Search"}),"\n",(0,d.jsxs)(t.p,{children:["This component searches a Vectara Vector Store for documents based on the provided input.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-20",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Type of search, such as "Similarity" or "MMR"'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"input_value"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Search query"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_customer_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_corpus_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Vectara API key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"files_url"}),(0,d.jsx)(t.td,{children:"List[String]"}),(0,d.jsx)(t.td,{children:"Optional URLs for file initialization"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-20",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"vectara-rag",children:"Vectara RAG"}),"\n",(0,d.jsxs)(t.p,{children:["This component leverages Vectara's Retrieval Augmented Generation (RAG) capabilities to search and summarize documents based on the provided input. For more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-21",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_customer_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_corpus_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vectara_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Vectara API key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_query"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The query to receive an answer on"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"lexical_interpolation"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Hybrid search factor (0.005 to 0.1)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"filter"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Metadata filters to narrow the search"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"reranker"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Reranker type (mmr, rerank_multilingual_v1, none)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"reranker_k"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of results to rerank (1 to 100)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"diversity_bias"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Diversity bias for MMR reranker (0 to 1)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_results"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Maximum number of search results to summarize (1 to 100)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"response_lang"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Language code for the response (for example, "eng", "auto")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"prompt"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Prompt name for summarization"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-21",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"answer"}),(0,d.jsx)(t.td,{children:"Message"}),(0,d.jsx)(t.td,{children:"Generated RAG response"})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"weaviate",children:"Weaviate"}),"\n",(0,d.jsxs)(t.p,{children:["This component facilitates a Weaviate Vector Store setup, optimizing text and document indexing and retrieval.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://weaviate.io/developers/weaviate",children:"Weaviate Documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-22",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"weaviate_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Default instance URL"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_by_text"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Indicates whether to search by text"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Optional API key for authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Optional index name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"text_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Default text extraction key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"input"}),(0,d.jsx)(t.td,{children:"Document"}),(0,d.jsx)(t.td,{children:"Document or record"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Model used"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"attributes"}),(0,d.jsx)(t.td,{children:"List[String]"}),(0,d.jsx)(t.td,{children:"Optional additional attributes"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-22",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"WeaviateVectorStore"}),(0,d.jsx)(t.td,{children:"Weaviate vector store instance"})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"weaviate-search",children:"Weaviate Search"}),"\n",(0,d.jsxs)(t.p,{children:["This component searches a Weaviate Vector Store for documents similar to the input.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://weaviate.io/developers/weaviate",children:"Weaviate Documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-23",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_type"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Type of search, such as "Similarity" or "MMR"'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"input_value"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Search query"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"weaviate_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Default instance URL"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_by_text"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Indicates whether to search by text"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Optional API key for authentication"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Optional index name"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"text_key"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Default text extraction key"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"embedding"}),(0,d.jsx)(t.td,{children:"Embeddings"}),(0,d.jsx)(t.td,{children:"Model used"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"attributes"}),(0,d.jsx)(t.td,{children:"List[String]"}),(0,d.jsx)(t.td,{children:"Optional additional attributes"})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-23",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"search_results"}),(0,d.jsx)(t.td,{children:"List[Data]"}),(0,d.jsx)(t.td,{children:"Results of similarity search"})]})})]})]})}function o(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},59072:(e,t,r)=>{r.d(t,{A:()=>s});const s=r.p+"assets/images/vector-store-agent-retrieval-tool-79066d11008a74c40390f55f7c73bd71.png"},67719:(e,t,r)=>{r.d(t,{A:()=>s});const s=r.p+"assets/images/vector-store-retrieval-452b8316c734a28f85fcddf9ff7a32e4.png"}}]);
\ No newline at end of file
diff --git a/assets/js/runtime~main.bd0ec986.js b/assets/js/runtime~main.102072de.js
similarity index 75%
rename from assets/js/runtime~main.bd0ec986.js
rename to assets/js/runtime~main.102072de.js
index 7609fc0663..a037109983 100644
--- a/assets/js/runtime~main.bd0ec986.js
+++ b/assets/js/runtime~main.102072de.js
@@ -1 +1 @@
-(()=>{"use strict";var e,a,d,f,c,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(d.exports,d,d.exports,r),d.loaded=!0,d.exports}r.m=b,r.c=t,e=[],r.O=(a,d,f,c)=>{if(!d){var b=1/0;for(i=0;i=c)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[d,f,c]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var b={};a=a||[null,d({}),d([]),d(d)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(c,b),c},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({51:"b7251463",145:"0be1d5fe",191:"c643a6d5",230:"bc63ae25",321:"6e1a9721",417:"93e16042",444:"14f42f9e",719:"459c52ca",762:"4af57a32",768:"6d684b63",787:"672a0eba",800:"a4c0ff01",868:"dc7b1ef3",957:"c141421f",964:"05d835b4",1022:"8a61012d",1035:"24d32e91",1079:"f5818e36",1185:"c2de64b8",1227:"647965d5",1394:"8054effa",1488:"ac3cc3f5",1500:"1e9025f7",1563:"3ef76b56",1567:"22dd74f7",1625:"92852ade",1690:"41a97a99",1845:"2ab0d4f5",1956:"fe6f9601",2073:"7b7db446",2097:"338a6f8e",2138:"1a4e3797",2273:"e756fa26",2431:"c0d3c6ab",2624:"8ff68e6f",2657:"a3ab51d1",2777:"b3ba68b4",2818:"a9b73094",3040:"2148ae42",3110:"6a2beaac",3142:"ec64dfaf",3247:"bd7ab245",3327:"6aa941bb",3347:"b5257597",3391:"f66238ae",3576:"64045095",3694:"c2b1730c",3758:"a963b3cb",3859:"7679ca6e",3917:"c8dad5f1",3964:"829ff4d2",3968:"0e5205b8",4028:"c2ebd62a",4046:"9ac856ad",4133:"5cf11f26",4633:"c563aec0",4645:"fef056e9",4778:"e189eece",4784:"438e4337",4841:"8298c1cb",4891:"ca67d85f",4930:"d2ad385b",4931:"a9b4f8aa",4954:"a71efd4a",4973:"2d2c4fcb",5138:"309383dc",5179:"41e3c105",5281:"a0511a5b",5284:"64ca91f1",5327:"6ead2d51",5339:"9447891f",5425:"ee32130c",5467:"40d13080",5474:"d175aa8b",5475:"18f3809a",5513:"20d49d07",5514:"02955c09",5562:"20e9af62",5572:"873ebc27",5628:"a83bc7c0",5634:"9822a706",5647:"885eb549",5673:"73af8c33",5716:"946d1cee",5718:"5ccf4833",5742:"aba21aa0",5772:"4e7126f8",5865:"e1766139",5866:"3b577cbb",5883:"61cfab8e",5923:"73d1a090",5979:"a3a1efc2",6003:"4d983c8e",6008:"445668ec",6053:"dfc50084",6080:"4d15791b",6147:"ab17fe15",6214:"b1220dbd",6281:"c96ce3ed",6332:"873508e7",6350:"188ee668",6419:"96eb0e67",6445:"9fb9a766",6473:"4c5e977b",6511:"320c2db0",6559:"6f13807a",6682:"5a6d6120",6877:"d8246fb2",6890:"8b85e1d0",6897:"57123a14",6920:"c817e236",6949:"b36bb719",7098:"a7bd4aaa",7108:"688feaef",7118:"4ce9199e",7165:"547df4a1",7211:"cacdc615",7338:"c39b795e",7339:"7a774ddf",7408:"3ae94ad4",7453:"fdefa9a8",7462:"921b5fc1",7472:"744aaf8b",7507:"be76515e",7713:"3a82b27e",7894:"0f44198a",8031:"25bf2d67",8034:"e98c4d08",8054:"85112c90",8064:"274fd934",8085:"cc44357e",8102:"019dbd1f",8188:"ecd67556",8196:"75a9e1e0",8208:"216e3ed7",8245:"5e834a3c",8304:"3b356402",8356:"c6a5eaec",8401:"17896441",8504:"e6c6a4d2",8598:"44dfcf75",8661:"8f774222",8679:"3705a9c0",8921:"45476a69",8927:"ae68aa8b",8929:"172b3cfb",8953:"adef6868",9048:"a94703ab",9126:"ea3c040a",9141:"19136925",9306:"667d0790",9371:"991799c5",9455:"54175a6c",9465:"4600db1a",9476:"57c9a2b8",9479:"4e038a6a",9483:"7823fa72",9555:"dedd5914",9619:"29b8e27a",9642:"eae80ce0",9647:"5e95c892",9681:"5ff9f4db",9789:"537e1953",9905:"43df3697"}[e]||e)+"."+{51:"9d3daa31",145:"7efdb1ae",191:"73425c4c",230:"bfdfa9ae",321:"61b7e3dd",417:"6b9af3cc",444:"5360b4b2",719:"ebca91e2",756:"240f2e9c",762:"0415c4dc",768:"66069103",787:"bdecd882",800:"ecc079d8",868:"6b1741d9",900:"f83a9a5d",957:"da9e1d2b",964:"2343ec2d",1022:"41d7400f",1035:"3fd0c7de",1079:"1baa350d",1185:"668819d7",1227:"ccc328fb",1394:"1930e5bb",1488:"0fd73816",1500:"a209c2dc",1563:"f9ec23bc",1567:"a2531470",1625:"14cdddbe",1690:"033d5273",1809:"2ba71c72",1845:"fd0aac36",1956:"56974d05",2073:"374e762b",2097:"bbfb9b02",2138:"02023697",2273:"d109fa20",2431:"ef6babef",2624:"662368fe",2657:"c2f12985",2777:"699d6d9c",2818:"f2f0d08c",3040:"3a56ef7a",3042:"f1fb0b14",3110:"0cb7cba6",3142:"4b89066a",3247:"26956e31",3327:"2d3d4563",3347:"98301a42",3391:"82391c24",3576:"952ab7ae",3694:"e7f5e863",3758:"64b228cc",3859:"d0495676",3917:"afe9a928",3964:"c1f6124f",3968:"6d49ed88",3997:"ff54fe17",4028:"2a4b8371",4046:"1dc3f82f",4058:"44d6af12",4133:"b3b4d32d",4633:"2670172c",4645:"f2cd2cfd",4778:"2fe4ce16",4784:"0225a802",4841:"4354865f",4891:"240033e5",4930:"f0133524",4931:"c45c6703",4954:"7b5c6309",4973:"f6e09b74",5138:"15d72a1d",5179:"065af2f4",5281:"92ccf783",5284:"9c777ba9",5327:"2133a77e",5339:"993f4d52",5425:"b689d733",5467:"6683fbef",5474:"d1def909",5475:"7edfca3e",5513:"67e9740f",5514:"c17d6bc3",5562:"d5843844",5572:"cd4dd103",5628:"42cb06ac",5634:"b7885256",5647:"58894ec5",5673:"4dc836b9",5716:"822b114e",5718:"8b627eb1",5742:"60b1d5b2",5772:"2c52fd77",5865:"e2e2a7b8",5866:"cc4624ec",5883:"19937b74",5923:"4ff37f01",5979:"c2703155",6003:"9662045e",6008:"5253986f",6053:"f6454ba7",6080:"0cf884ef",6147:"0bd0c5ae",6214:"ba25dec1",6281:"98308e97",6332:"f9ed857f",6350:"f375be76",6419:"b5d1d5d7",6445:"45064290",6473:"b5e32ff9",6511:"fed0ef2b",6559:"2e0546ca",6682:"cc87d44f",6877:"5276bc28",6890:"b8852f36",6897:"39143408",6920:"f6a0a71d",6949:"e9d2f3cc",7098:"d9bb61a0",7108:"434c22b6",7118:"c8165f92",7165:"2489d7a5",7211:"4ca61e4a",7338:"d4ee879e",7339:"f89007be",7408:"1fdd1802",7453:"14321103",7462:"568d4fb5",7472:"725b178b",7507:"4c99d6c1",7713:"7a9000e2",7894:"8e9e218b",8031:"d87ef78d",8034:"0f45a00a",8054:"b01ef0b9",8064:"68bc2763",8085:"85fb3a70",8102:"2d04c731",8158:"20de8b80",8188:"3c787f16",8196:"0edf420a",8208:"7fcd3a96",8245:"965aeff7",8304:"d2fd2ec3",8356:"9d97a329",8401:"bf953603",8504:"3eb76ad5",8598:"792f1012",8661:"cf70ad92",8679:"59964f72",8913:"47209f3b",8921:"f5f35fb5",8927:"8ccfed1b",8929:"9368ba3d",8953:"913fad87",9048:"810f8ad8",9126:"f1454bcb",9141:"656eea4c",9306:"b44b0e22",9371:"57875faf",9455:"ab836bda",9465:"c6fccf29",9476:"6a5be1d5",9479:"18e58501",9483:"8cf8c00e",9555:"d9327e57",9619:"ba50451d",9642:"81271310",9647:"e6d9c2b6",9681:"c7ae0882",9729:"2f32331e",9789:"4dc45868",9905:"3f176f5d"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},c="langflow-docs:",r.l=(e,a,d,b)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var c=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),c&&c.forEach((e=>e(d))),a)return a(d)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",r.gca=function(e){return e={17896441:"8401",19136925:"9141",64045095:"3576",b7251463:"51","0be1d5fe":"145",c643a6d5:"191",bc63ae25:"230","6e1a9721":"321","93e16042":"417","14f42f9e":"444","459c52ca":"719","4af57a32":"762","6d684b63":"768","672a0eba":"787",a4c0ff01:"800",dc7b1ef3:"868",c141421f:"957","05d835b4":"964","8a61012d":"1022","24d32e91":"1035",f5818e36:"1079",c2de64b8:"1185","647965d5":"1227","8054effa":"1394",ac3cc3f5:"1488","1e9025f7":"1500","3ef76b56":"1563","22dd74f7":"1567","92852ade":"1625","41a97a99":"1690","2ab0d4f5":"1845",fe6f9601:"1956","7b7db446":"2073","338a6f8e":"2097","1a4e3797":"2138",e756fa26:"2273",c0d3c6ab:"2431","8ff68e6f":"2624",a3ab51d1:"2657",b3ba68b4:"2777",a9b73094:"2818","2148ae42":"3040","6a2beaac":"3110",ec64dfaf:"3142",bd7ab245:"3247","6aa941bb":"3327",b5257597:"3347",f66238ae:"3391",c2b1730c:"3694",a963b3cb:"3758","7679ca6e":"3859",c8dad5f1:"3917","829ff4d2":"3964","0e5205b8":"3968",c2ebd62a:"4028","9ac856ad":"4046","5cf11f26":"4133",c563aec0:"4633",fef056e9:"4645",e189eece:"4778","438e4337":"4784","8298c1cb":"4841",ca67d85f:"4891",d2ad385b:"4930",a9b4f8aa:"4931",a71efd4a:"4954","2d2c4fcb":"4973","309383dc":"5138","41e3c105":"5179",a0511a5b:"5281","64ca91f1":"5284","6ead2d51":"5327","9447891f":"5339",ee32130c:"5425","40d13080":"5467",d175aa8b:"5474","18f3809a":"5475","20d49d07":"5513","02955c09":"5514","20e9af62":"5562","873ebc27":"5572",a83bc7c0:"5628","9822a706":"5634","885eb549":"5647","73af8c33":"5673","946d1cee":"5716","5ccf4833":"5718",aba21aa0:"5742","4e7126f8":"5772",e1766139:"5865","3b577cbb":"5866","61cfab8e":"5883","73d1a090":"5923",a3a1efc2:"5979","4d983c8e":"6003","445668ec":"6008",dfc50084:"6053","4d15791b":"6080",ab17fe15:"6147",b1220dbd:"6214",c96ce3ed:"6281","873508e7":"6332","188ee668":"6350","96eb0e67":"6419","9fb9a766":"6445","4c5e977b":"6473","320c2db0":"6511","6f13807a":"6559","5a6d6120":"6682",d8246fb2:"6877","8b85e1d0":"6890","57123a14":"6897",c817e236:"6920",b36bb719:"6949",a7bd4aaa:"7098","688feaef":"7108","4ce9199e":"7118","547df4a1":"7165",cacdc615:"7211",c39b795e:"7338","7a774ddf":"7339","3ae94ad4":"7408",fdefa9a8:"7453","921b5fc1":"7462","744aaf8b":"7472",be76515e:"7507","3a82b27e":"7713","0f44198a":"7894","25bf2d67":"8031",e98c4d08:"8034","85112c90":"8054","274fd934":"8064",cc44357e:"8085","019dbd1f":"8102",ecd67556:"8188","75a9e1e0":"8196","216e3ed7":"8208","5e834a3c":"8245","3b356402":"8304",c6a5eaec:"8356",e6c6a4d2:"8504","44dfcf75":"8598","8f774222":"8661","3705a9c0":"8679","45476a69":"8921",ae68aa8b:"8927","172b3cfb":"8929",adef6868:"8953",a94703ab:"9048",ea3c040a:"9126","667d0790":"9306","991799c5":"9371","54175a6c":"9455","4600db1a":"9465","57c9a2b8":"9476","4e038a6a":"9479","7823fa72":"9483",dedd5914:"9555","29b8e27a":"9619",eae80ce0:"9642","5e95c892":"9647","5ff9f4db":"9681","537e1953":"9789","43df3697":"9905"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,d)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var c=new Promise(((d,c)=>f=e[a]=[d,c]));d.push(f[2]=c);var b=r.p+r.u(a),t=new Error;r.l(b,(d=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var c=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+c+": "+b+")",t.name="ChunkLoadError",t.type=c,t.request=b,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var f,c,b=d[0],t=d[1],o=d[2],n=0;if(b.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(d);n{"use strict";var e,a,f,d,c,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var f=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(f.exports,f,f.exports,r),f.loaded=!0,f.exports}r.m=b,r.c=t,e=[],r.O=(a,f,d,c)=>{if(!f){var b=1/0;for(i=0;i=c)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(t=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[f,d,c]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var b={};a=a||[null,f({}),f([]),f(f)];for(var t=2&d&&e;"object"==typeof t&&!~a.indexOf(t);t=f(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(c,b),c},r.d=(e,a)=>{for(var f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({51:"b7251463",145:"0be1d5fe",191:"c643a6d5",230:"bc63ae25",321:"6e1a9721",417:"93e16042",444:"14f42f9e",719:"459c52ca",762:"4af57a32",768:"6d684b63",787:"672a0eba",800:"a4c0ff01",868:"dc7b1ef3",957:"c141421f",964:"05d835b4",1022:"8a61012d",1035:"24d32e91",1079:"f5818e36",1185:"c2de64b8",1227:"647965d5",1394:"8054effa",1488:"ac3cc3f5",1500:"1e9025f7",1563:"3ef76b56",1567:"22dd74f7",1625:"92852ade",1690:"41a97a99",1845:"2ab0d4f5",1956:"fe6f9601",2073:"7b7db446",2097:"338a6f8e",2138:"1a4e3797",2273:"e756fa26",2431:"c0d3c6ab",2624:"8ff68e6f",2657:"a3ab51d1",2777:"b3ba68b4",2818:"a9b73094",3040:"2148ae42",3110:"6a2beaac",3142:"ec64dfaf",3247:"bd7ab245",3327:"6aa941bb",3347:"b5257597",3391:"f66238ae",3576:"64045095",3694:"c2b1730c",3758:"a963b3cb",3859:"7679ca6e",3917:"c8dad5f1",3964:"829ff4d2",3968:"0e5205b8",4028:"c2ebd62a",4046:"9ac856ad",4133:"5cf11f26",4633:"c563aec0",4645:"fef056e9",4778:"e189eece",4784:"438e4337",4841:"8298c1cb",4891:"ca67d85f",4930:"d2ad385b",4931:"a9b4f8aa",4954:"a71efd4a",4973:"2d2c4fcb",5138:"309383dc",5179:"41e3c105",5281:"a0511a5b",5284:"64ca91f1",5327:"6ead2d51",5339:"9447891f",5425:"ee32130c",5467:"40d13080",5474:"d175aa8b",5475:"18f3809a",5513:"20d49d07",5514:"02955c09",5562:"20e9af62",5572:"873ebc27",5628:"a83bc7c0",5634:"9822a706",5647:"885eb549",5673:"73af8c33",5716:"946d1cee",5718:"5ccf4833",5742:"aba21aa0",5772:"4e7126f8",5865:"e1766139",5866:"3b577cbb",5883:"61cfab8e",5923:"73d1a090",5979:"a3a1efc2",6003:"4d983c8e",6008:"445668ec",6053:"dfc50084",6080:"4d15791b",6147:"ab17fe15",6214:"b1220dbd",6281:"c96ce3ed",6332:"873508e7",6350:"188ee668",6419:"96eb0e67",6445:"9fb9a766",6473:"4c5e977b",6511:"320c2db0",6559:"6f13807a",6682:"5a6d6120",6877:"d8246fb2",6890:"8b85e1d0",6897:"57123a14",6920:"c817e236",6949:"b36bb719",7098:"a7bd4aaa",7108:"688feaef",7118:"4ce9199e",7165:"547df4a1",7211:"cacdc615",7338:"c39b795e",7339:"7a774ddf",7408:"3ae94ad4",7453:"fdefa9a8",7462:"921b5fc1",7472:"744aaf8b",7507:"be76515e",7713:"3a82b27e",7894:"0f44198a",8031:"25bf2d67",8034:"e98c4d08",8054:"85112c90",8064:"274fd934",8085:"cc44357e",8102:"019dbd1f",8188:"ecd67556",8196:"75a9e1e0",8208:"216e3ed7",8245:"5e834a3c",8304:"3b356402",8356:"c6a5eaec",8401:"17896441",8504:"e6c6a4d2",8598:"44dfcf75",8661:"8f774222",8679:"3705a9c0",8921:"45476a69",8927:"ae68aa8b",8929:"172b3cfb",8953:"adef6868",9048:"a94703ab",9126:"ea3c040a",9141:"19136925",9306:"667d0790",9371:"991799c5",9455:"54175a6c",9465:"4600db1a",9476:"57c9a2b8",9479:"4e038a6a",9483:"7823fa72",9555:"dedd5914",9619:"29b8e27a",9642:"eae80ce0",9647:"5e95c892",9681:"5ff9f4db",9789:"537e1953",9905:"43df3697"}[e]||e)+"."+{51:"9d3daa31",145:"7efdb1ae",191:"73425c4c",230:"bfdfa9ae",321:"61b7e3dd",417:"6b9af3cc",444:"5360b4b2",719:"ebca91e2",756:"240f2e9c",762:"0415c4dc",768:"66069103",787:"bdecd882",800:"ecc079d8",868:"6b1741d9",900:"f83a9a5d",957:"da9e1d2b",964:"2343ec2d",1022:"41d7400f",1035:"3fd0c7de",1079:"1baa350d",1185:"668819d7",1227:"ccc328fb",1394:"1930e5bb",1488:"0fd73816",1500:"a209c2dc",1563:"f9ec23bc",1567:"a2531470",1625:"14cdddbe",1690:"033d5273",1809:"2ba71c72",1845:"8ad681f9",1956:"56974d05",2073:"374e762b",2097:"bbfb9b02",2138:"02023697",2273:"d109fa20",2431:"ef6babef",2624:"662368fe",2657:"c2f12985",2777:"699d6d9c",2818:"f2f0d08c",3040:"3a56ef7a",3042:"f1fb0b14",3110:"0cb7cba6",3142:"4b89066a",3247:"26956e31",3327:"2d3d4563",3347:"98301a42",3391:"e53f27a5",3576:"952ab7ae",3694:"e7f5e863",3758:"64b228cc",3859:"d0495676",3917:"afe9a928",3964:"c1f6124f",3968:"6d49ed88",3997:"ff54fe17",4028:"2a4b8371",4046:"1dc3f82f",4058:"44d6af12",4133:"b3b4d32d",4633:"2670172c",4645:"f2cd2cfd",4778:"2fe4ce16",4784:"0225a802",4841:"4354865f",4891:"240033e5",4930:"f0133524",4931:"e12cb2aa",4954:"7b5c6309",4973:"f6e09b74",5138:"15d72a1d",5179:"065af2f4",5281:"92ccf783",5284:"9c777ba9",5327:"2133a77e",5339:"993f4d52",5425:"b689d733",5467:"6683fbef",5474:"d1def909",5475:"7edfca3e",5513:"67e9740f",5514:"c17d6bc3",5562:"d5843844",5572:"cd4dd103",5628:"c592eecf",5634:"273286e1",5647:"58894ec5",5673:"4dc836b9",5716:"822b114e",5718:"8b627eb1",5742:"60b1d5b2",5772:"2c52fd77",5865:"e2e2a7b8",5866:"cc4624ec",5883:"19937b74",5923:"4ff37f01",5979:"c2703155",6003:"9662045e",6008:"5253986f",6053:"f6454ba7",6080:"0cf884ef",6147:"0bd0c5ae",6214:"ba25dec1",6281:"98308e97",6332:"f9ed857f",6350:"f375be76",6419:"b5d1d5d7",6445:"45064290",6473:"b5e32ff9",6511:"fed0ef2b",6559:"2e0546ca",6682:"cc87d44f",6877:"5276bc28",6890:"b8852f36",6897:"39143408",6920:"f6a0a71d",6949:"e9d2f3cc",7098:"d9bb61a0",7108:"434c22b6",7118:"c8165f92",7165:"2489d7a5",7211:"4ca61e4a",7338:"d4ee879e",7339:"f89007be",7408:"1fdd1802",7453:"14321103",7462:"568d4fb5",7472:"725b178b",7507:"4c99d6c1",7713:"7a9000e2",7894:"8e9e218b",8031:"d87ef78d",8034:"0f45a00a",8054:"b01ef0b9",8064:"68bc2763",8085:"85fb3a70",8102:"2d04c731",8158:"20de8b80",8188:"3c787f16",8196:"0edf420a",8208:"7fcd3a96",8245:"965aeff7",8304:"d2fd2ec3",8356:"9d97a329",8401:"bf953603",8504:"d6665d23",8598:"792f1012",8661:"cf70ad92",8679:"59964f72",8913:"47209f3b",8921:"f5f35fb5",8927:"8ccfed1b",8929:"9368ba3d",8953:"913fad87",9048:"810f8ad8",9126:"f1454bcb",9141:"656eea4c",9306:"b44b0e22",9371:"57875faf",9455:"ab836bda",9465:"c6fccf29",9476:"6a5be1d5",9479:"18e58501",9483:"8cf8c00e",9555:"d9327e57",9619:"ba50451d",9642:"81271310",9647:"e6d9c2b6",9681:"c7ae0882",9729:"2f32331e",9789:"4dc45868",9905:"3f176f5d"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),d={},c="langflow-docs:",r.l=(e,a,f,b)=>{if(d[e])d[e].push(a);else{var t,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var c=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),c&&c.forEach((e=>e(f))),a)return a(f)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",r.gca=function(e){return e={17896441:"8401",19136925:"9141",64045095:"3576",b7251463:"51","0be1d5fe":"145",c643a6d5:"191",bc63ae25:"230","6e1a9721":"321","93e16042":"417","14f42f9e":"444","459c52ca":"719","4af57a32":"762","6d684b63":"768","672a0eba":"787",a4c0ff01:"800",dc7b1ef3:"868",c141421f:"957","05d835b4":"964","8a61012d":"1022","24d32e91":"1035",f5818e36:"1079",c2de64b8:"1185","647965d5":"1227","8054effa":"1394",ac3cc3f5:"1488","1e9025f7":"1500","3ef76b56":"1563","22dd74f7":"1567","92852ade":"1625","41a97a99":"1690","2ab0d4f5":"1845",fe6f9601:"1956","7b7db446":"2073","338a6f8e":"2097","1a4e3797":"2138",e756fa26:"2273",c0d3c6ab:"2431","8ff68e6f":"2624",a3ab51d1:"2657",b3ba68b4:"2777",a9b73094:"2818","2148ae42":"3040","6a2beaac":"3110",ec64dfaf:"3142",bd7ab245:"3247","6aa941bb":"3327",b5257597:"3347",f66238ae:"3391",c2b1730c:"3694",a963b3cb:"3758","7679ca6e":"3859",c8dad5f1:"3917","829ff4d2":"3964","0e5205b8":"3968",c2ebd62a:"4028","9ac856ad":"4046","5cf11f26":"4133",c563aec0:"4633",fef056e9:"4645",e189eece:"4778","438e4337":"4784","8298c1cb":"4841",ca67d85f:"4891",d2ad385b:"4930",a9b4f8aa:"4931",a71efd4a:"4954","2d2c4fcb":"4973","309383dc":"5138","41e3c105":"5179",a0511a5b:"5281","64ca91f1":"5284","6ead2d51":"5327","9447891f":"5339",ee32130c:"5425","40d13080":"5467",d175aa8b:"5474","18f3809a":"5475","20d49d07":"5513","02955c09":"5514","20e9af62":"5562","873ebc27":"5572",a83bc7c0:"5628","9822a706":"5634","885eb549":"5647","73af8c33":"5673","946d1cee":"5716","5ccf4833":"5718",aba21aa0:"5742","4e7126f8":"5772",e1766139:"5865","3b577cbb":"5866","61cfab8e":"5883","73d1a090":"5923",a3a1efc2:"5979","4d983c8e":"6003","445668ec":"6008",dfc50084:"6053","4d15791b":"6080",ab17fe15:"6147",b1220dbd:"6214",c96ce3ed:"6281","873508e7":"6332","188ee668":"6350","96eb0e67":"6419","9fb9a766":"6445","4c5e977b":"6473","320c2db0":"6511","6f13807a":"6559","5a6d6120":"6682",d8246fb2:"6877","8b85e1d0":"6890","57123a14":"6897",c817e236:"6920",b36bb719:"6949",a7bd4aaa:"7098","688feaef":"7108","4ce9199e":"7118","547df4a1":"7165",cacdc615:"7211",c39b795e:"7338","7a774ddf":"7339","3ae94ad4":"7408",fdefa9a8:"7453","921b5fc1":"7462","744aaf8b":"7472",be76515e:"7507","3a82b27e":"7713","0f44198a":"7894","25bf2d67":"8031",e98c4d08:"8034","85112c90":"8054","274fd934":"8064",cc44357e:"8085","019dbd1f":"8102",ecd67556:"8188","75a9e1e0":"8196","216e3ed7":"8208","5e834a3c":"8245","3b356402":"8304",c6a5eaec:"8356",e6c6a4d2:"8504","44dfcf75":"8598","8f774222":"8661","3705a9c0":"8679","45476a69":"8921",ae68aa8b:"8927","172b3cfb":"8929",adef6868:"8953",a94703ab:"9048",ea3c040a:"9126","667d0790":"9306","991799c5":"9371","54175a6c":"9455","4600db1a":"9465","57c9a2b8":"9476","4e038a6a":"9479","7823fa72":"9483",dedd5914:"9555","29b8e27a":"9619",eae80ce0:"9642","5e95c892":"9647","5ff9f4db":"9681","537e1953":"9789","43df3697":"9905"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,f)=>{var d=r.o(e,a)?e[a]:void 0;if(0!==d)if(d)f.push(d[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var c=new Promise(((f,c)=>d=e[a]=[f,c]));f.push(d[2]=c);var b=r.p+r.u(a),t=new Error;r.l(b,(f=>{if(r.o(e,a)&&(0!==(d=e[a])&&(e[a]=void 0),d)){var c=f&&("load"===f.type?"missing":f.type),b=f&&f.target&&f.target.src;t.message="Loading chunk "+a+" failed.\n("+c+": "+b+")",t.name="ChunkLoadError",t.type=c,t.request=b,d[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var d,c,b=f[0],t=f[1],o=f[2],n=0;if(b.some((a=>0!==e[a]))){for(d in t)r.o(t,d)&&(r.m[d]=t[d]);if(o)var i=o(r)}for(a&&a(f);n
-
+
diff --git a/components-custom-components.html b/components-custom-components.html
index c874389b59..1f42257b78 100644
--- a/components-custom-components.html
+++ b/components-custom-components.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-data.html b/components-data.html
index 547ff092de..3e0fddf3ca 100644
--- a/components-data.html
+++ b/components-data.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-embedding-models.html b/components-embedding-models.html
index 16410af3e5..04fd529cb8 100644
--- a/components-embedding-models.html
+++ b/components-embedding-models.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-helpers.html b/components-helpers.html
index fee05bb1a9..087da4cd92 100644
--- a/components-helpers.html
+++ b/components-helpers.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-io.html b/components-io.html
index 906a9bb0ac..77a5532ad2 100644
--- a/components-io.html
+++ b/components-io.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-loaders.html b/components-loaders.html
index 9acaa058d8..218d75f1b4 100644
--- a/components-loaders.html
+++ b/components-loaders.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-logic.html b/components-logic.html
index 278eca2fd0..617e9ee3c6 100644
--- a/components-logic.html
+++ b/components-logic.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-memories.html b/components-memories.html
index 793cf4fac0..879fa404dc 100644
--- a/components-memories.html
+++ b/components-memories.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-models.html b/components-models.html
index bd8366ddfc..becce456fc 100644
--- a/components-models.html
+++ b/components-models.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-processing.html b/components-processing.html
index 08b20eaa11..722c414eb9 100644
--- a/components-processing.html
+++ b/components-processing.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-prompts.html b/components-prompts.html
index eed5aea6f1..c6d37c2c32 100644
--- a/components-prompts.html
+++ b/components-prompts.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-tools.html b/components-tools.html
index 606f054b6b..c1437eb732 100644
--- a/components-tools.html
+++ b/components-tools.html
@@ -16,7 +16,7 @@
-
+
diff --git a/components-vector-stores.html b/components-vector-stores.html
index 28f7b3df90..3a943c3a9e 100644
--- a/components-vector-stores.html
+++ b/components-vector-stores.html
@@ -16,7 +16,7 @@
-
+
@@ -42,9 +42,22 @@ This text fills the {context} variable in the PromptThis component implements a Vector Store using Astra DB with search capabilities.
The name of the collection within Astra DB where the vectors will be stored (required)
token
Astra DB Application Token
Authentication token for accessing Astra DB (required)
api_endpoint
API Endpoint
API endpoint URL for the Astra DB service (required)
search_input
Search Input
Query string for similarity search
ingest_data
Ingest Data
Data to be ingested into the vector store
namespace
Namespace
Optional namespace within Astra DB to use for the collection
embedding_choice
Embedding Model or Astra Vectorize
Determines whether to use an Embedding Model or Astra Vectorize for the collection
embedding
Embedding Model
Allows an embedding model configuration (when using Embedding Model)
provider
Vectorize Provider
Provider for Astra Vectorize (when using Astra Vectorize)
metric
Metric
Optional distance metric for vector comparisons
batch_size
Batch Size
Optional number of data to process in a single batch
setup_mode
Setup Mode
Configuration mode for setting up the vector store (options: "Sync", "Async", "Off", default: "Sync")
pre_delete_collection
Pre Delete Collection
Boolean flag to determine whether to delete the collection before creating a new one
number_of_results
Number of Results
Number of results to return in similarity search (default: 4)
search_type
Search Type
Search type to use (options: "Similarity", "Similarity with score threshold", "MMR (Max Marginal Relevance)")
search_score_threshold
Search Score Threshold
Minimum similarity score threshold for search results
search_filter
Search Metadata Filter
Optional dictionary of filters to apply to the search query
+
Name
Display Name
Info
token
Astra DB Application Token
The authentication token for accessing Astra DB.
environment
Environment
The environment for the Astra DB API Endpoint. For example, dev or prod.
database_name
Database
The database name for the Astra DB instance.
api_endpoint
Astra DB API Endpoint
The API endpoint for the Astra DB instance. This supersedes the database selection.
collection_name
Collection
The name of the collection within Astra DB where the vectors are stored.
keyspace
Keyspace
An optional keyspace within Astra DB to use for the collection.
embedding_choice
Embedding Model or Astra Vectorize
Choose an embedding model or use Astra vectorize.
embedding_model
Embedding Model
Specify the embedding model. Not required for Astra vectorize collections.
number_of_results
Number of Search Results
The number of search results to return (default: 4).
search_type
Search Type
The search type to use. The options are Similarity, Similarity with score threshold, and MMR (Max Marginal Relevance).
search_score_threshold
Search Score Threshold
The minimum similarity score threshold for search results when using the Similarity with score threshold option.
advanced_search_filter
Search Metadata Filter
An optional dictionary of filters to apply to the search query.
autodetect_collection
Autodetect Collection
A boolean flag to determine whether to autodetect the collection.
content_field
Content Field
A field to use as the text content field for the vector store.
deletion_field
Deletion Based On Field
When provided, documents in the target collection with metadata field values matching the input metadata field value are deleted before new data is loaded.
ignore_invalid_documents
Ignore Invalid Documents
A boolean flag to determine whether to ignore invalid documents at runtime.
astradb_vectorstore_kwargs
AstraDBVectorStore Parameters
An optional dictionary of additional parameters for the AstraDBVectorStore.
The Astra DB Vector Store component offers two methods for generating embeddings.
+
+
+
Embedding Model: Use your own embedding model by connecting an Embeddings component in Langflow.
+
+
+
Astra Vectorize: Use Astra DB's built-in embedding generation service. When creating a new collection, choose the embeddings provider and models, including NVIDIA's NV-Embed-QA model hosted by Datastax.
+
+
+
important
The embedding model selection is made when creating a new collection and cannot be changed later.