diff --git a/404.html b/404.html index 1c33c0b9f5..59ee8d13d8 100644 --- a/404.html +++ b/404.html @@ -21,7 +21,7 @@ - + diff --git a/agents-overview.html b/agents-overview.html index 172322e21f..c86eef7591 100644 --- a/agents-overview.html +++ b/agents-overview.html @@ -21,7 +21,7 @@ - + diff --git a/agents-tool-calling-agent-component.html b/agents-tool-calling-agent-component.html index f52c2f0d79..d21a35e825 100644 --- a/agents-tool-calling-agent-component.html +++ b/agents-tool-calling-agent-component.html @@ -21,7 +21,7 @@ - + diff --git a/api-reference-api-examples.html b/api-reference-api-examples.html index e620de9b5f..3392f68d46 100644 --- a/api-reference-api-examples.html +++ b/api-reference-api-examples.html @@ -21,7 +21,7 @@ - + diff --git a/api.html b/api.html index b7cf3b0138..d2f25f8694 100644 --- a/api.html +++ b/api.html @@ -21,7 +21,7 @@ - + diff --git a/api/add-user.html b/api/add-user.html index 17edffbf49..6dc980dd46 100644 --- a/api/add-user.html +++ b/api/add-user.html @@ -21,7 +21,7 @@ - + diff --git a/api/auto-login.html b/api/auto-login.html index 8c3cb40776..63c5ecc728 100644 --- a/api/auto-login.html +++ b/api/auto-login.html @@ -21,7 +21,7 @@ - + diff --git a/api/build-flow.html b/api/build-flow.html index 68dd4fcf93..3c6c4fab4e 100644 --- a/api/build-flow.html +++ b/api/build-flow.html @@ -21,7 +21,7 @@ - + diff --git a/api/build-public-tmp.html b/api/build-public-tmp.html index 87bfa80adf..26ee196182 100644 --- a/api/build-public-tmp.html +++ b/api/build-public-tmp.html @@ -21,7 +21,7 @@ - + diff --git a/api/build-vertex-stream.html b/api/build-vertex-stream.html index e9947d6a75..cabaf87798 100644 --- a/api/build-vertex-stream.html +++ b/api/build-vertex-stream.html @@ -21,7 +21,7 @@ - + diff --git a/api/build-vertex.html b/api/build-vertex.html index 7d7960eb49..5494844277 100644 --- a/api/build-vertex.html +++ b/api/build-vertex.html @@ -21,7 +21,7 @@ - + diff --git a/api/cancel-build.html b/api/cancel-build.html index 6f206660f7..3ef51d148a 100644 --- a/api/cancel-build.html +++ b/api/cancel-build.html @@ -21,7 +21,7 @@ - + diff --git a/api/check-if-store-has-api-key.html b/api/check-if-store-has-api-key.html index 676f056415..40bbea42ac 100644 --- a/api/check-if-store-has-api-key.html +++ b/api/check-if-store-has-api-key.html @@ -21,7 +21,7 @@ - + diff --git a/api/check-if-store-is-enabled.html b/api/check-if-store-is-enabled.html index 5ba02e5863..a7e4eaf1a8 100644 --- a/api/check-if-store-is-enabled.html +++ b/api/check-if-store-is-enabled.html @@ -21,7 +21,7 @@ - + diff --git a/api/create-api-key-route.html b/api/create-api-key-route.html index 059485d7d0..304b4256e2 100644 --- a/api/create-api-key-route.html +++ b/api/create-api-key-route.html @@ -21,7 +21,7 @@ - + diff --git a/api/create-flow.html b/api/create-flow.html index 551a6a060b..3d06f5ae8c 100644 --- a/api/create-flow.html +++ b/api/create-flow.html @@ -21,7 +21,7 @@ - + diff --git a/api/create-flows.html b/api/create-flows.html index 5fd7aaad92..ff38657c3a 100644 --- a/api/create-flows.html +++ b/api/create-flows.html @@ -21,7 +21,7 @@ - + diff --git a/api/create-folder.html b/api/create-folder.html index 3a7eff8ff2..e71b8c8ca5 100644 --- a/api/create-folder.html +++ b/api/create-folder.html @@ -21,7 +21,7 @@ - + diff --git a/api/create-upload-file.html b/api/create-upload-file.html index 05eb26232d..61f4fb7fd2 100644 --- a/api/create-upload-file.html +++ b/api/create-upload-file.html @@ -21,7 +21,7 @@ - + diff --git a/api/create-variable.html b/api/create-variable.html index 06a874eeb7..9b4a023fc0 100644 --- a/api/create-variable.html +++ b/api/create-variable.html @@ -21,7 +21,7 @@ - + diff --git a/api/custom-component-update.html b/api/custom-component-update.html index 6ab87c53f3..787586122a 100644 --- a/api/custom-component-update.html +++ b/api/custom-component-update.html @@ -21,7 +21,7 @@ - + diff --git a/api/custom-component.html b/api/custom-component.html index b3c1078aaf..339ced8f5b 100644 --- a/api/custom-component.html +++ b/api/custom-component.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-all-files.html b/api/delete-all-files.html index c48d20d694..3d66417615 100644 --- a/api/delete-all-files.html +++ b/api/delete-all-files.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-api-key-route.html b/api/delete-api-key-route.html index 2518c9557b..1476fe0d26 100644 --- a/api/delete-api-key-route.html +++ b/api/delete-api-key-route.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-file-1.html b/api/delete-file-1.html index 96958739f4..9d9a8403b9 100644 --- a/api/delete-file-1.html +++ b/api/delete-file-1.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-file.html b/api/delete-file.html index a6f5db7d51..843a8a52bb 100644 --- a/api/delete-file.html +++ b/api/delete-file.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-flow.html b/api/delete-flow.html index 3ebd6f7068..847e87b0ca 100644 --- a/api/delete-flow.html +++ b/api/delete-flow.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-folder.html b/api/delete-folder.html index 064edc85ad..8a2f708b60 100644 --- a/api/delete-folder.html +++ b/api/delete-folder.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-messages-session.html b/api/delete-messages-session.html index 90bd856b90..2adfeb6187 100644 --- a/api/delete-messages-session.html +++ b/api/delete-messages-session.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-messages.html b/api/delete-messages.html index 2b7f7d4235..2571963136 100644 --- a/api/delete-messages.html +++ b/api/delete-messages.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-multiple-flows.html b/api/delete-multiple-flows.html index c806336d10..2ea02e4006 100644 --- a/api/delete-multiple-flows.html +++ b/api/delete-multiple-flows.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-user.html b/api/delete-user.html index 7465a3c106..9031aeaf3d 100644 --- a/api/delete-user.html +++ b/api/delete-user.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-variable.html b/api/delete-variable.html index f50fac65b8..51b0f33a9c 100644 --- a/api/delete-variable.html +++ b/api/delete-variable.html @@ -21,7 +21,7 @@ - + diff --git a/api/delete-vertex-builds.html b/api/delete-vertex-builds.html index 58fe2d759d..0fa8ee9836 100644 --- a/api/delete-vertex-builds.html +++ b/api/delete-vertex-builds.html @@ -21,7 +21,7 @@ - + diff --git a/api/download-component.html b/api/download-component.html index 85b6b4fa5e..b050c41b03 100644 --- a/api/download-component.html +++ b/api/download-component.html @@ -21,7 +21,7 @@ - + diff --git a/api/download-file-1.html b/api/download-file-1.html index 6e22967266..35e9ea8e6f 100644 --- a/api/download-file-1.html +++ b/api/download-file-1.html @@ -21,7 +21,7 @@ - + diff --git a/api/download-file-2.html b/api/download-file-2.html index a8af446a75..11f6cbdb8b 100644 --- a/api/download-file-2.html +++ b/api/download-file-2.html @@ -21,7 +21,7 @@ - + diff --git a/api/download-file.html b/api/download-file.html index cd879b2349..03cfe3af0f 100644 --- a/api/download-file.html +++ b/api/download-file.html @@ -21,7 +21,7 @@ - + diff --git a/api/download-image.html b/api/download-image.html index c2dc99130b..1df804e445 100644 --- a/api/download-image.html +++ b/api/download-image.html @@ -21,7 +21,7 @@ - + diff --git a/api/download-multiple-file.html b/api/download-multiple-file.html index 215ca43aae..7d824721df 100644 --- a/api/download-multiple-file.html +++ b/api/download-multiple-file.html @@ -21,7 +21,7 @@ - + diff --git a/api/download-profile-picture.html b/api/download-profile-picture.html index a4e66e6f10..24e30dee9e 100644 --- a/api/download-profile-picture.html +++ b/api/download-profile-picture.html @@ -21,7 +21,7 @@ - + diff --git a/api/edit-file-name.html b/api/edit-file-name.html index 4c46ffb64e..1c0b9ce317 100644 --- a/api/edit-file-name.html +++ b/api/edit-file-name.html @@ -21,7 +21,7 @@ - + diff --git a/api/experimental-run-flow.html b/api/experimental-run-flow.html index e0c5e8e25f..d72d382db1 100644 --- a/api/experimental-run-flow.html +++ b/api/experimental-run-flow.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-all.html b/api/get-all.html index 0d61c78eee..e02bd8db16 100644 --- a/api/get-all.html +++ b/api/get-all.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-api-keys-route.html b/api/get-api-keys-route.html index 367b8283bb..2a9fa2aea0 100644 --- a/api/get-api-keys-route.html +++ b/api/get-api-keys-route.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-build-events.html b/api/get-build-events.html index 02fc69ad44..5704a4723c 100644 --- a/api/get-build-events.html +++ b/api/get-build-events.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-components.html b/api/get-components.html index c9f681ed26..b30ae6b63b 100644 --- a/api/get-components.html +++ b/api/get-components.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-config.html b/api/get-config.html index ffe6e45ef8..59960bf495 100644 --- a/api/get-config.html +++ b/api/get-config.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-elevenlabs-voice-ids.html b/api/get-elevenlabs-voice-ids.html index dccbdf1e91..0f815aa0f0 100644 --- a/api/get-elevenlabs-voice-ids.html +++ b/api/get-elevenlabs-voice-ids.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-list-of-components-liked-by-user.html b/api/get-list-of-components-liked-by-user.html index 5c4dce2ca6..6ab0e468b8 100644 --- a/api/get-list-of-components-liked-by-user.html +++ b/api/get-list-of-components-liked-by-user.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-messages.html b/api/get-messages.html index e362a646df..d1e6068060 100644 --- a/api/get-messages.html +++ b/api/get-messages.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-starter-projects.html b/api/get-starter-projects.html index aef918fd76..6711bfd6dd 100644 --- a/api/get-starter-projects.html +++ b/api/get-starter-projects.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-tags.html b/api/get-tags.html index 5b33177e35..3a2ebdef06 100644 --- a/api/get-tags.html +++ b/api/get-tags.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-task-status.html b/api/get-task-status.html index 0bbd042e9a..a21e75fcaa 100644 --- a/api/get-task-status.html +++ b/api/get-task-status.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-transactions.html b/api/get-transactions.html index a4d2dae6b9..cdc89e3433 100644 --- a/api/get-transactions.html +++ b/api/get-transactions.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-version.html b/api/get-version.html index b25b3ec6b6..aa717177c8 100644 --- a/api/get-version.html +++ b/api/get-version.html @@ -21,7 +21,7 @@ - + diff --git a/api/get-vertex-builds.html b/api/get-vertex-builds.html index 4cf90d7a9a..2c622891c5 100644 --- a/api/get-vertex-builds.html +++ b/api/get-vertex-builds.html @@ -21,7 +21,7 @@ - + diff --git a/api/handle-messages-1.html b/api/handle-messages-1.html index 72b8876214..54e5e3de15 100644 --- a/api/handle-messages-1.html +++ b/api/handle-messages-1.html @@ -21,7 +21,7 @@ - + diff --git a/api/handle-messages.html b/api/handle-messages.html index 5aedb0eb8a..26379a3ee5 100644 --- a/api/handle-messages.html +++ b/api/handle-messages.html @@ -21,7 +21,7 @@ - + diff --git a/api/handle-sse-1.html b/api/handle-sse-1.html index 263a66be7b..9988675ef6 100644 --- a/api/handle-sse-1.html +++ b/api/handle-sse-1.html @@ -21,7 +21,7 @@ - + diff --git a/api/handle-sse.html b/api/handle-sse.html index f0b6bcabe2..e405f5c425 100644 --- a/api/handle-sse.html +++ b/api/handle-sse.html @@ -21,7 +21,7 @@ - + diff --git a/api/health-check.html b/api/health-check.html index 76026bf478..2e2c6eb3ed 100644 --- a/api/health-check.html +++ b/api/health-check.html @@ -21,7 +21,7 @@ - + diff --git a/api/health.html b/api/health.html index 08206246f5..f2923290fc 100644 --- a/api/health.html +++ b/api/health.html @@ -21,7 +21,7 @@ - + diff --git a/api/like-component.html b/api/like-component.html index 2efdbd5262..bc848e83ac 100644 --- a/api/like-component.html +++ b/api/like-component.html @@ -21,7 +21,7 @@ - + diff --git a/api/list-files-1.html b/api/list-files-1.html index 82cf63ea19..74d7a7d47a 100644 --- a/api/list-files-1.html +++ b/api/list-files-1.html @@ -21,7 +21,7 @@ - + diff --git a/api/list-files.html b/api/list-files.html index 3203313638..3a736e7876 100644 --- a/api/list-files.html +++ b/api/list-files.html @@ -21,7 +21,7 @@ - + diff --git a/api/list-profile-pictures.html b/api/list-profile-pictures.html index c03bf2d7f5..4c74b19b63 100644 --- a/api/list-profile-pictures.html +++ b/api/list-profile-pictures.html @@ -21,7 +21,7 @@ - + diff --git a/api/login-to-get-access-token.html b/api/login-to-get-access-token.html index 7d6235bd13..6139769ce9 100644 --- a/api/login-to-get-access-token.html +++ b/api/login-to-get-access-token.html @@ -21,7 +21,7 @@ - + diff --git a/api/logout.html b/api/logout.html index bc783eddb5..c85af3ac92 100644 --- a/api/logout.html +++ b/api/logout.html @@ -21,7 +21,7 @@ - + diff --git a/api/logs.html b/api/logs.html index 5a85c40f9d..8364390aa1 100644 --- a/api/logs.html +++ b/api/logs.html @@ -21,7 +21,7 @@ - + diff --git a/api/patch-user.html b/api/patch-user.html index 3a0f261e9d..a5482e2fc4 100644 --- a/api/patch-user.html +++ b/api/patch-user.html @@ -21,7 +21,7 @@ - + diff --git a/api/post-validate-code.html b/api/post-validate-code.html index 59e97ebdec..eb90c029c4 100644 --- a/api/post-validate-code.html +++ b/api/post-validate-code.html @@ -21,7 +21,7 @@ - + diff --git a/api/post-validate-prompt.html b/api/post-validate-prompt.html index ae6c604c69..c6f5332b6f 100644 --- a/api/post-validate-prompt.html +++ b/api/post-validate-prompt.html @@ -21,7 +21,7 @@ - + diff --git a/api/process-1.html b/api/process-1.html index 89263fc289..a302f231f0 100644 --- a/api/process-1.html +++ b/api/process-1.html @@ -21,7 +21,7 @@ - + diff --git a/api/process.html b/api/process.html index 5638c53a59..0d78a748dc 100644 --- a/api/process.html +++ b/api/process.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-all-users.html b/api/read-all-users.html index 51ba586540..8e073576d9 100644 --- a/api/read-all-users.html +++ b/api/read-all-users.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-basic-examples.html b/api/read-basic-examples.html index 5ccbdef0ce..b6631b342c 100644 --- a/api/read-basic-examples.html +++ b/api/read-basic-examples.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-current-user.html b/api/read-current-user.html index 0bfadda57c..0d59c79532 100644 --- a/api/read-current-user.html +++ b/api/read-current-user.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-flow.html b/api/read-flow.html index b14c6e72f8..1a717aab3b 100644 --- a/api/read-flow.html +++ b/api/read-flow.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-flows.html b/api/read-flows.html index 53365a8ef0..f8e61fd955 100644 --- a/api/read-flows.html +++ b/api/read-flows.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-folder.html b/api/read-folder.html index d2d533e43e..f8dffbca2e 100644 --- a/api/read-folder.html +++ b/api/read-folder.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-folders.html b/api/read-folders.html index ff8654a8ad..ce50124428 100644 --- a/api/read-folders.html +++ b/api/read-folders.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-public-flow.html b/api/read-public-flow.html index f94cd3bf2e..2888626d63 100644 --- a/api/read-public-flow.html +++ b/api/read-public-flow.html @@ -21,7 +21,7 @@ - + diff --git a/api/read-variables.html b/api/read-variables.html index 67efd97ea4..b984d3ca94 100644 --- a/api/read-variables.html +++ b/api/read-variables.html @@ -21,7 +21,7 @@ - + diff --git a/api/refresh-token.html b/api/refresh-token.html index 521a10e9aa..9e79eb817c 100644 --- a/api/refresh-token.html +++ b/api/refresh-token.html @@ -21,7 +21,7 @@ - + diff --git a/api/reset-password.html b/api/reset-password.html index cb22d3ac58..94a98b7880 100644 --- a/api/reset-password.html +++ b/api/reset-password.html @@ -21,7 +21,7 @@ - + diff --git a/api/retrieve-vertices-order.html b/api/retrieve-vertices-order.html index e973340ff0..fb08fdec31 100644 --- a/api/retrieve-vertices-order.html +++ b/api/retrieve-vertices-order.html @@ -21,7 +21,7 @@ - + diff --git a/api/save-store-api-key.html b/api/save-store-api-key.html index adea1bacf2..59b743b16c 100644 --- a/api/save-store-api-key.html +++ b/api/save-store-api-key.html @@ -21,7 +21,7 @@ - + diff --git a/api/share-component.html b/api/share-component.html index d0d7a21caf..772e0a60b4 100644 --- a/api/share-component.html +++ b/api/share-component.html @@ -21,7 +21,7 @@ - + diff --git a/api/simplified-run-flow.html b/api/simplified-run-flow.html index a7add05b09..b01e467834 100644 --- a/api/simplified-run-flow.html +++ b/api/simplified-run-flow.html @@ -21,7 +21,7 @@ - + diff --git a/api/stream-logs.html b/api/stream-logs.html index b04e83496c..657ed48071 100644 --- a/api/stream-logs.html +++ b/api/stream-logs.html @@ -21,7 +21,7 @@ - + diff --git a/api/update-flow.html b/api/update-flow.html index 0fd4967b42..3e979d5b30 100644 --- a/api/update-flow.html +++ b/api/update-flow.html @@ -21,7 +21,7 @@ - + diff --git a/api/update-folder.html b/api/update-folder.html index 981079e8bb..c4f50e0a4e 100644 --- a/api/update-folder.html +++ b/api/update-folder.html @@ -21,7 +21,7 @@ - + diff --git a/api/update-message.html b/api/update-message.html index 227ec1e4f4..5fb267ae57 100644 --- a/api/update-message.html +++ b/api/update-message.html @@ -21,7 +21,7 @@ - + diff --git a/api/update-session-id.html b/api/update-session-id.html index d25720f1f6..551631c4e6 100644 --- a/api/update-session-id.html +++ b/api/update-session-id.html @@ -21,7 +21,7 @@ - + diff --git a/api/update-shared-component.html b/api/update-shared-component.html index 8960fb8888..2b9bb03e00 100644 --- a/api/update-shared-component.html +++ b/api/update-shared-component.html @@ -21,7 +21,7 @@ - + diff --git a/api/update-variable.html b/api/update-variable.html index 0b898a2604..82b30bba54 100644 --- a/api/update-variable.html +++ b/api/update-variable.html @@ -21,7 +21,7 @@ - + diff --git a/api/upload-file-1.html b/api/upload-file-1.html index 528d4a62ac..7a4d1b27df 100644 --- a/api/upload-file-1.html +++ b/api/upload-file-1.html @@ -21,7 +21,7 @@ - + diff --git a/api/upload-file-2.html b/api/upload-file-2.html index 8e1552e830..7757fdd086 100644 --- a/api/upload-file-2.html +++ b/api/upload-file-2.html @@ -21,7 +21,7 @@ - + diff --git a/api/upload-file.html b/api/upload-file.html index d3e682e7e2..e436e6f23c 100644 --- a/api/upload-file.html +++ b/api/upload-file.html @@ -21,7 +21,7 @@ - + diff --git a/api/upload-user-file.html b/api/upload-user-file.html index 49cee679ec..7e7ea37b1b 100644 --- a/api/upload-user-file.html +++ b/api/upload-user-file.html @@ -21,7 +21,7 @@ - + diff --git a/api/webhook-run-flow.html b/api/webhook-run-flow.html index 0f6453778f..636aef8278 100644 --- a/api/webhook-run-flow.html +++ b/api/webhook-run-flow.html @@ -21,7 +21,7 @@ - + diff --git a/assets/images/vector-store-retrieval-3201f1ea2f13a5f8a87652c81a5386c6.png b/assets/images/vector-store-retrieval-3201f1ea2f13a5f8a87652c81a5386c6.png new file mode 100644 index 0000000000..12d5923726 Binary files /dev/null and b/assets/images/vector-store-retrieval-3201f1ea2f13a5f8a87652c81a5386c6.png differ diff --git a/assets/images/vector-store-retrieval-3d2d30b0bfef46783987efd758fc5497.png b/assets/images/vector-store-retrieval-3d2d30b0bfef46783987efd758fc5497.png deleted file mode 100644 index dabfce5410..0000000000 Binary files a/assets/images/vector-store-retrieval-3d2d30b0bfef46783987efd758fc5497.png and /dev/null differ diff --git a/assets/js/22dd74f7.915e2f60.js b/assets/js/22dd74f7.dc682ff7.js similarity index 83% rename from assets/js/22dd74f7.915e2f60.js rename to assets/js/22dd74f7.dc682ff7.js index 90057edf26..5354f06e8b 100644 --- a/assets/js/22dd74f7.915e2f60.js +++ b/assets/js/22dd74f7.dc682ff7.js @@ -1 +1 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1567],{55226:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"link","label":"Welcome to Langflow","href":"/","docId":"Get-Started/welcome-to-langflow","unlisted":false},{"type":"category","label":"Get started","items":[{"type":"link","label":"Install Langflow","href":"/get-started-installation","docId":"Get-Started/get-started-installation","unlisted":false},{"type":"link","label":"Quickstart","href":"/get-started-quickstart","docId":"Get-Started/get-started-quickstart","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Starter projects","items":[{"type":"link","label":"Basic prompting","href":"/starter-projects-basic-prompting","docId":"Starter-Projects/starter-projects-basic-prompting","unlisted":false},{"type":"link","label":"Vector store RAG","href":"/starter-projects-vector-store-rag","docId":"Starter-Projects/starter-projects-vector-store-rag","unlisted":false},{"type":"link","label":"Simple agent","href":"/starter-projects-simple-agent","docId":"Starter-Projects/starter-projects-simple-agent","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Sample flows","items":[{"type":"link","label":"Blog writer","href":"/blog-writer","docId":"Sample-Flows/blog-writer","unlisted":false},{"type":"link","label":"Document QA","href":"/document-qa","docId":"Sample-Flows/document-qa","unlisted":false},{"type":"link","label":"Memory chatbot","href":"/memory-chatbot","docId":"Sample-Flows/memory-chatbot","unlisted":false},{"type":"link","label":"Sequential tasks agent","href":"/sequential-agent","docId":"Sample-Flows/sequential-agent","unlisted":false},{"type":"link","label":"Travel planning agent","href":"/travel-planning-agent","docId":"Sample-Flows/travel-planning-agent","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Concepts","items":[{"type":"link","label":"Langflow overview","href":"/concepts-overview","docId":"Concepts/concepts-overview","unlisted":false},{"type":"link","label":"Playground","href":"/concepts-playground","docId":"Concepts/concepts-playground","unlisted":false},{"type":"link","label":"Components","href":"/concepts-components","docId":"Concepts/concepts-components","unlisted":false},{"type":"link","label":"Flows","href":"/concepts-flows","docId":"Concepts/concepts-flows","unlisted":false},{"type":"link","label":"Langflow objects","href":"/concepts-objects","docId":"Concepts/concepts-objects","unlisted":false},{"type":"link","label":"Publish flows","href":"/concepts-publish","docId":"Concepts/concepts-publish","unlisted":false},{"type":"link","label":"Manage files","href":"/concepts-file-management","docId":"Concepts/concepts-file-management","unlisted":false},{"type":"link","label":"Voice mode","href":"/concepts-voice-mode","docId":"Concepts/concepts-voice-mode","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Components","items":[{"type":"link","label":"Agents","href":"/components-agents","docId":"Components/components-agents","unlisted":false},{"type":"link","label":"Bundles","href":"/components-bundle-components","docId":"Components/components-bundles","unlisted":false},{"type":"link","label":"Create custom Python components","href":"/components-custom-components","docId":"Components/components-custom-components","unlisted":false},{"type":"link","label":"Data","href":"/components-data","docId":"Components/components-data","unlisted":false},{"type":"link","label":"Embeddings","href":"/components-embedding-models","docId":"Components/components-embedding-models","unlisted":false},{"type":"link","label":"Helpers","href":"/components-helpers","docId":"Components/components-helpers","unlisted":false},{"type":"link","label":"Inputs and outputs","href":"/components-io","docId":"Components/components-io","unlisted":false},{"type":"link","label":"Loaders","href":"/components-loaders","docId":"Components/components-loaders","unlisted":false},{"type":"link","label":"Logic","href":"/components-logic","docId":"Components/components-logic","unlisted":false},{"type":"link","label":"Memories","href":"/components-memories","docId":"Components/components-memories","unlisted":false},{"type":"link","label":"Models","href":"/components-models","docId":"Components/components-models","unlisted":false},{"type":"link","label":"Processing","href":"/components-processing","docId":"Components/components-processing","unlisted":false},{"type":"link","label":"Prompts","href":"/components-prompts","docId":"Components/components-prompts","unlisted":false},{"type":"link","label":"Tools","href":"/components-tools","docId":"Components/components-tools","unlisted":false},{"type":"link","label":"Vector stores","href":"/components-vector-stores","docId":"Components/components-vector-stores","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Agents","items":[{"type":"link","label":"Agents overview","href":"/agents-overview","docId":"Agents/agents-overview","unlisted":false},{"type":"link","label":"Create a problem-solving agent","href":"/agents-tool-calling-agent-component","docId":"Agents/agent-tool-calling-agent-component","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Configuration","items":[{"type":"link","label":"API keys","href":"/configuration-api-keys","docId":"Configuration/configuration-api-keys","unlisted":false},{"type":"link","label":"Authentication","href":"/configuration-authentication","docId":"Configuration/configuration-authentication","unlisted":false},{"type":"link","label":"Langflow CLI","href":"/configuration-cli","docId":"Configuration/configuration-cli","unlisted":false},{"type":"link","label":"Configure an external PostgreSQL database","href":"/configuration-custom-database","docId":"Configuration/configuration-custom-database","unlisted":false},{"type":"link","label":"Global variables","href":"/configuration-global-variables","docId":"Configuration/configuration-global-variables","unlisted":false},{"type":"link","label":"Environment variables","href":"/environment-variables","docId":"Configuration/environment-variables","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Develop","items":[{"type":"link","label":"About developing and configuring Langflow applications","href":"/develop-overview","docId":"Develop/develop-overview","unlisted":false},{"type":"link","label":"Develop an application in Langflow","href":"/develop-application","docId":"Develop/develop-application","unlisted":false},{"type":"link","label":"Install custom dependencies","href":"/install-custom-dependencies","docId":"Develop/install-custom-dependencies","unlisted":false},{"type":"link","label":"Memory management options","href":"/memory","docId":"Develop/memory","unlisted":false},{"type":"link","label":"Use session ID to manage communication between components","href":"/session-id","docId":"Develop/session-id","unlisted":false},{"type":"link","label":"Logging options in Langflow","href":"/logging","docId":"Develop/logging","unlisted":false},{"type":"link","label":"Trigger flows with webhooks","href":"/webhook","docId":"Develop/webhook","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Deployment","items":[{"type":"link","label":"Deployment overview","href":"/deployment-overview","docId":"Deployment/deployment-overview","unlisted":false},{"type":"link","label":"Docker","href":"/deployment-docker","docId":"Deployment/deployment-docker","unlisted":false},{"type":"link","label":"Kubernetes","href":"/deployment-kubernetes","docId":"Deployment/deployment-kubernetes","unlisted":false},{"type":"link","label":"Google Cloud Platform","href":"/deployment-gcp","docId":"Deployment/deployment-gcp","unlisted":false},{"type":"link","label":"Hugging Face Spaces","href":"/deployment-hugging-face-spaces","docId":"Deployment/deployment-hugging-face-spaces","unlisted":false},{"type":"link","label":"Railway","href":"/deployment-railway","docId":"Deployment/deployment-railway","unlisted":false},{"type":"link","label":"Render","href":"/deployment-render","docId":"Deployment/deployment-render","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"API reference","items":[{"type":"link","label":"API documentation","href":"/api"},{"type":"link","label":"API examples","href":"/api-reference-api-examples","docId":"API-Reference/api-reference-api-examples","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Integrations","items":[{"type":"category","label":"MCP (Model Context Protocol)","items":[{"type":"link","label":"Integrate Langflow with MCP","href":"/integrations-mcp","docId":"Integrations/MCP/integrations-mcp","unlisted":false},{"type":"link","label":"Connect an Astra DB MCP server to Langflow","href":"/mcp-component-astra","docId":"Integrations/MCP/mcp-component-astra","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"link","label":"Apify","href":"/integrations-apify","docId":"Integrations/Apify/integrations-apify","unlisted":false},{"type":"link","label":"Arize","href":"/integrations-arize","docId":"Integrations/Arize/integrations-arize","unlisted":false},{"type":"link","label":"AssemblyAI","href":"/integrations-assemblyai","docId":"Integrations/integrations-assemblyai","unlisted":false},{"type":"link","label":"Composio","href":"/integrations-composio","docId":"Integrations/Composio/integrations-composio","unlisted":false},{"type":"category","label":"Google","items":[{"type":"link","label":"Integrate Google OAuth with Langflow","href":"/integrations-setup-google-oauth-langflow","docId":"Integrations/Google/integrations-setup-google-oauth-langflow","unlisted":false},{"type":"link","label":"Integrate Google Cloud Vertex AI with Langflow","href":"/integrations-setup-google-cloud-vertex-ai-langflow","docId":"Integrations/Google/integrations-setup-google-cloud-vertex-ai-langflow","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"link","label":"Langfuse","href":"/integrations-langfuse","docId":"Integrations/integrations-langfuse","unlisted":false},{"type":"link","label":"LangSmith","href":"/integrations-langsmith","docId":"Integrations/integrations-langsmith","unlisted":false},{"type":"link","label":"LangWatch","href":"/integrations-langwatch","docId":"Integrations/integrations-langwatch","unlisted":false},{"type":"link","label":"Opik","href":"/integrations-opik","docId":"Integrations/integrations-opik","unlisted":false},{"type":"category","label":"Notion","items":[{"type":"link","label":"Setup","href":"/integrations/notion/setup","docId":"Integrations/Notion/integrations-notion","unlisted":false},{"type":"link","label":"Notion Conversational Agent","href":"/integrations/notion/notion-agent-conversational","docId":"Integrations/Notion/notion-agent-conversational","unlisted":false},{"type":"link","label":"Notion Meeting Notes Agent","href":"/integrations/notion/notion-agent-meeting-notes","docId":"Integrations/Notion/notion-agent-meeting-notes","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"NVIDIA","items":[{"type":"link","label":"Integrate NVIDIA Retriever Extraction with Langflow","href":"/integrations-nvidia-ingest","docId":"Integrations/Nvidia/integrations-nvidia-ingest","unlisted":false},{"type":"link","label":"Integrate NVIDIA NIMs with Langflow","href":"/integrations-nvidia-ingest-wsl2","docId":"Integrations/Nvidia/integrations-nvidia-nim-wsl2","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true},{"type":"category","label":"Contributing","items":[{"type":"link","label":"Join the Langflow community","href":"/contributing-community","docId":"Contributing/contributing-community","unlisted":false},{"type":"link","label":"Contribute components","href":"/contributing-components","docId":"Contributing/contributing-components","unlisted":false},{"type":"link","label":"Contribute component tests","href":"/contributing-component-tests","docId":"Contributing/contributing-component-tests","unlisted":false},{"type":"link","label":"Ask for help on the Discussions board","href":"/contributing-github-discussions","docId":"Contributing/contributing-github-discussion-board","unlisted":false},{"type":"link","label":"Request an enhancement or report a bug","href":"/contributing-github-issues","docId":"Contributing/contributing-github-issues","unlisted":false},{"type":"link","label":"Contribute to Langflow","href":"/contributing-how-to-contribute","docId":"Contributing/contributing-how-to-contribute","unlisted":false},{"type":"link","label":"Telemetry","href":"/contributing-telemetry","docId":"Contributing/contributing-telemetry","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Changelog","items":[{"type":"link","label":"Changelog","href":"https://github.com/langflow-ai/langflow/releases/latest"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Support","items":[{"type":"link","label":"Luna for Langflow","href":"/luna-for-langflow","docId":"Support/luna-for-langflow","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"html","className":"sidebar-ad","value":"\\n \\n \\n
\\n Use Langflow in the cloud\\n Sign up for DataStax Langflow\\n
\\n
\\n "}]},"docs":{"Agents/agent-tool-calling-agent-component":{"id":"Agents/agent-tool-calling-agent-component","title":"Create a problem-solving agent","description":"Developing agents in Langchain is complex.","sidebar":"docs"},"Agents/agents-overview":{"id":"Agents/agents-overview","title":"Agents overview","description":"Agents are AI systems that use LLMs as a brain to analyze problems and select external tools.","sidebar":"docs"},"API-Reference/api-reference-api-examples":{"id":"API-Reference/api-reference-api-examples","title":"API examples","description":"This page provides examples and practices for managing Langflow using the Langflow API.","sidebar":"docs"},"Components/components-agents":{"id":"Components/components-agents","title":"Agents","description":"Agent components define the behavior and capabilities of AI agents in your flow.","sidebar":"docs"},"Components/components-bundles":{"id":"Components/components-bundles","title":"Bundles","description":"Bundles are third-party components grouped by provider.","sidebar":"docs"},"Components/components-custom-components":{"id":"Components/components-custom-components","title":"Create custom Python components","description":"Custom components are created within Langflow and extend the platform\'s functionality with custom, reusable Python code.","sidebar":"docs"},"Components/components-data":{"id":"Components/components-data","title":"Data","description":"Data components load data from a source into your flow.","sidebar":"docs"},"Components/components-embedding-models":{"id":"Components/components-embedding-models","title":"Embeddings","description":"Embeddings models convert text into numerical vectors. These embeddings capture semantic meaning of the input text, and allow LLMs to understand context.","sidebar":"docs"},"Components/components-helpers":{"id":"Components/components-helpers","title":"Helpers","description":"Helper components provide utility functions to help manage data, tasks, and other components in your flow.","sidebar":"docs"},"Components/components-io":{"id":"Components/components-io","title":"Inputs and outputs","description":"Input and output components define where data enters and exits your flow.","sidebar":"docs"},"Components/components-loaders":{"id":"Components/components-loaders","title":"Loaders","description":"As of Langflow 1.1, loader components are now found in the Components menu under Bundles.","sidebar":"docs"},"Components/components-logic":{"id":"Components/components-logic","title":"Logic","description":"Logic components provide functionalities for routing, conditional processing, and flow management.","sidebar":"docs"},"Components/components-memories":{"id":"Components/components-memories","title":"Memories","description":"Memory components store and retrieve chat messages by session_id.","sidebar":"docs"},"Components/components-models":{"id":"Components/components-models","title":"Models","description":"Model components generate text using large language models.","sidebar":"docs"},"Components/components-processing":{"id":"Components/components-processing","title":"Processing","description":"Processing components process and transform data within a flow.","sidebar":"docs"},"Components/components-prompts":{"id":"Components/components-prompts","title":"Prompts","description":"A prompt is a structured input to a language model that instructs the model how to handle user inputs and variables.","sidebar":"docs"},"Components/components-tools":{"id":"Components/components-tools","title":"Tools","description":"Tools are typically connected to agent components at the Tools port. Agents use LLMs as a reasoning engine to decide which of the connected tool components to use to solve a problem.","sidebar":"docs"},"Components/components-vector-stores":{"id":"Components/components-vector-stores","title":"Vector stores","description":"Vector databases store vector data, which backs AI workloads like chatbots and Retrieval Augmented Generation.","sidebar":"docs"},"Concepts/concepts-components":{"id":"Concepts/concepts-components","title":"Components","description":"A\xa0component\xa0is a single building block within a flow with inputs, outputs, functions, and parameters that define its functionality. A single component is like a class within a larger application.","sidebar":"docs"},"Concepts/concepts-file-management":{"id":"Concepts/concepts-file-management","title":"Manage files","description":"Upload, store, and manage files in Langflow\'s File management system.","sidebar":"docs"},"Concepts/concepts-flows":{"id":"Concepts/concepts-flows","title":"Flows","description":"Flows in Langflow are fully serializable and can be saved and loaded from the file system. In this guide, we\'ll explore how to import and export flows.","sidebar":"docs"},"Concepts/concepts-objects":{"id":"Concepts/concepts-objects","title":"Langflow objects","description":"In Langflow, objects are Pydantic models that serve as structured, functional representations of data.","sidebar":"docs"},"Concepts/concepts-overview":{"id":"Concepts/concepts-overview","title":"Langflow overview","description":"This page explores the fundamental building blocks of Langflow, beginning with the question, \\"What is a flow?\\"","sidebar":"docs"},"Concepts/concepts-playground":{"id":"Concepts/concepts-playground","title":"Playground","description":"The\xa0Playground\xa0is a dynamic interface designed for real-time interaction with LLMs, allowing users to chat, access memories, and monitor inputs and outputs. Here, users can directly prototype their models, making adjustments and observing different outcomes.","sidebar":"docs"},"Concepts/concepts-publish":{"id":"Concepts/concepts-publish","title":"Publish flows","description":"Langflow provides several ways to publish and integrate your flows into external applications. Whether you want to expose your flow via API endpoints, embed it as a chat widget in your website, or share it as a public playground, this guide covers the options available for making your flows accessible to users.","sidebar":"docs"},"Concepts/concepts-voice-mode":{"id":"Concepts/concepts-voice-mode","title":"Voice mode","description":"The Langflow Playground supports voice mode for interacting with your applications through a microphone.","sidebar":"docs"},"Configuration/configuration-api-keys":{"id":"Configuration/configuration-api-keys","title":"API keys","description":"Langflow provides an API key functionality that allows users to access their individual components and flows without traditional login authentication.","sidebar":"docs"},"Configuration/configuration-authentication":{"id":"Configuration/configuration-authentication","title":"Authentication","description":"This guide covers Langflow\'s authentication system and API key management, including how to secure your deployment and manage access to flows and components.","sidebar":"docs"},"Configuration/configuration-cli":{"id":"Configuration/configuration-cli","title":"Langflow CLI","description":"The Langflow command line interface (Langflow CLI) is the main interface for managing and running the Langflow server.","sidebar":"docs"},"Configuration/configuration-custom-database":{"id":"Configuration/configuration-custom-database","title":"Configure an external PostgreSQL database","description":"Langflow\'s default database is SQLite, but you can configure Langflow to use PostgreSQL instead.","sidebar":"docs"},"Configuration/configuration-global-variables":{"id":"Configuration/configuration-global-variables","title":"Global variables","description":"Global variables let you store and reuse generic input values and credentials across your projects.","sidebar":"docs"},"Configuration/environment-variables":{"id":"Configuration/environment-variables","title":"Environment variables","description":"Langflow lets you configure a number of settings using environment variables.","sidebar":"docs"},"Contributing/contributing-community":{"id":"Contributing/contributing-community","title":"Join the Langflow community","description":"Join the Langflow Discord server","sidebar":"docs"},"Contributing/contributing-component-tests":{"id":"Contributing/contributing-component-tests","title":"Contribute component tests","description":"This guide outlines how to structure and implement tests for application components to ensure consistency and adequate coverage.","sidebar":"docs"},"Contributing/contributing-components":{"id":"Contributing/contributing-components","title":"Contribute components","description":"New components are added as objects of the\xa0CustomComponent\xa0class.","sidebar":"docs"},"Contributing/contributing-github-discussion-board":{"id":"Contributing/contributing-github-discussion-board","title":"Ask for help on the Discussions board","description":"If you\'re looking for help with your code, consider posting a question on the Langflow\xa0GitHub Discussions board. The Langflow team cannot provide individual support via email. The team also believes that help is much more valuable if it\'s\xa0shared publicly, so that more people can benefit from it.","sidebar":"docs"},"Contributing/contributing-github-issues":{"id":"Contributing/contributing-github-issues","title":"Request an enhancement or report a bug","description":"The\xa0Issues page in the Langflow repo is kept up to date with bugs, improvements, and feature requests. Labels are used to help with sorting and discovery of issues of interest. For an overview of the system Langflow uses to tag issues and pull requests, see the Langflow repo\'s labels page.","sidebar":"docs"},"Contributing/contributing-how-to-contribute":{"id":"Contributing/contributing-how-to-contribute","title":"Contribute to Langflow","description":"This guide is intended to help you start contributing to Langflow.","sidebar":"docs"},"Contributing/contributing-telemetry":{"id":"Contributing/contributing-telemetry","title":"Telemetry","description":"Langflow uses anonymous telemetry to collect essential usage statistics to enhance functionality and the user experience. This data helps us identify popular features and areas that need improvement, and ensures development efforts align with what you need.","sidebar":"docs"},"Deployment/deployment-docker":{"id":"Deployment/deployment-docker","title":"Deploy Langflow on Docker","description":"This guide demonstrates deploying Langflow with Docker and Docker Compose.","sidebar":"docs"},"Deployment/deployment-gcp":{"id":"Deployment/deployment-gcp","title":"Deploy Langflow on Google Cloud Platform","description":"This guide demonstrates deploying Langflow on Google Cloud Platform.","sidebar":"docs"},"Deployment/deployment-hugging-face-spaces":{"id":"Deployment/deployment-hugging-face-spaces","title":"Deploy Langflow on HuggingFace Spaces","description":"This guide explains how to deploy Langflow on HuggingFace Spaces.","sidebar":"docs"},"Deployment/deployment-kubernetes":{"id":"Deployment/deployment-kubernetes","title":"Deploy Langflow on Kubernetes","description":"This guide demonstrates deploying Langflow on a Kubernetes cluster.","sidebar":"docs"},"Deployment/deployment-overview":{"id":"Deployment/deployment-overview","title":"Langflow deployment overview","description":"You have a flow, and want to share it with the world in a production environment.","sidebar":"docs"},"Deployment/deployment-railway":{"id":"Deployment/deployment-railway","title":"Deploy Langflow on Railway","description":"This guide explains how to deploy Langflow on Railway, a cloud infrastructure platform that provides auto-deploy, managed databases, and automatic scaling.","sidebar":"docs"},"Deployment/deployment-render":{"id":"Deployment/deployment-render","title":"Deploy Langflow on Render","description":"This guide explains how to deploy Langflow on Render, a cloud platform for deploying web applications and APIs.","sidebar":"docs"},"Develop/develop-application":{"id":"Develop/develop-application","title":"Develop an application in Langflow","description":"Follow this guide to learn how to build an application using Langflow.","sidebar":"docs"},"Develop/develop-overview":{"id":"Develop/develop-overview","title":"About developing and configuring Langflow applications","description":"The following pages provide information about how to develop and configure Langflow applications.","sidebar":"docs"},"Develop/install-custom-dependencies":{"id":"Develop/install-custom-dependencies","title":"Install custom dependencies","description":"To install custom dependencies in your Langflow environment, add them with your package manager.","sidebar":"docs"},"Develop/logging":{"id":"Develop/logging","title":"Logging options in Langflow","description":"Langflow uses the loguru library for logging.","sidebar":"docs"},"Develop/memory":{"id":"Develop/memory","title":"Memory management options","description":"Langflow provides flexible memory management options for storage and retrieval.","sidebar":"docs"},"Develop/session-id":{"id":"Develop/session-id","title":"Use session ID to manage communication between components","description":"Session ID is a unique identifier for client/server connections. A single session equals the duration of a client\'s connection to a server.","sidebar":"docs"},"Develop/webhook":{"id":"Develop/webhook","title":"Trigger flows with webhooks","description":"Add a Webhook component to your flow to trigger it with external requests.","sidebar":"docs"},"Get-Started/get-started-installation":{"id":"Get-Started/get-started-installation","title":"Install Langflow","description":"Langflow can be installed in three ways:","sidebar":"docs"},"Get-Started/get-started-quickstart":{"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.","sidebar":"docs"},"Get-Started/welcome-to-langflow":{"id":"Get-Started/welcome-to-langflow","title":"Welcome to Langflow","description":"Langflow is a new, visual framework for building multi-agent and RAG applications. It is open-source, Python-powered, fully customizable, and LLM and vector store agnostic.","sidebar":"docs"},"Integrations/Apify/integrations-apify":{"id":"Integrations/Apify/integrations-apify","title":"Apify","description":"Apify is a web scraping and data extraction platform. It provides an Actor Store with more than 3,000 ready-made cloud tools called Actors.","sidebar":"docs"},"Integrations/Arize/integrations-arize":{"id":"Integrations/Arize/integrations-arize","title":"Integrate Arize with Langflow","description":"Arize is a tool built on OpenTelemetry and OpenInference for monitoring and optimizing LLM applications.","sidebar":"docs"},"Integrations/Composio/integrations-composio":{"id":"Integrations/Composio/integrations-composio","title":"Integrate Composio with Langflow","description":"Langflow integrates with Composio as a toolset for your Agent component.","sidebar":"docs"},"Integrations/Google/integrations-setup-google-cloud-vertex-ai-langflow":{"id":"Integrations/Google/integrations-setup-google-cloud-vertex-ai-langflow","title":"Integrate Google Cloud Vertex AI with Langflow","description":"A comprehensive guide on creating a Google OAuth app, obtaining tokens, and integrating them with Langflow\'s Google components.","sidebar":"docs"},"Integrations/Google/integrations-setup-google-oauth-langflow":{"id":"Integrations/Google/integrations-setup-google-oauth-langflow","title":"Integrate Google OAuth with Langflow","description":"A comprehensive guide on creating a Google OAuth app, obtaining tokens, and integrating them with Langflow\'s Google components.","sidebar":"docs"},"Integrations/integrations-assemblyai":{"id":"Integrations/integrations-assemblyai","title":"AssemblyAI","description":"The AssemblyAI components allow you to apply powerful Speech AI models to your app for tasks like:","sidebar":"docs"},"Integrations/integrations-langfuse":{"id":"Integrations/integrations-langfuse","title":"Langfuse","description":"Langfuse is an observability and analytics platform specifically designed for language models and AI applications.","sidebar":"docs"},"Integrations/integrations-langsmith":{"id":"Integrations/integrations-langsmith","title":"LangSmith","description":"LangSmith is a full-lifecycle DevOps service from LangChain that provides monitoring and observability. To integrate with Langflow, just add your LangChain API key as a Langflow environment variable and you are good to go!","sidebar":"docs"},"Integrations/integrations-langwatch":{"id":"Integrations/integrations-langwatch","title":"LangWatch","description":"938674091aac4d9d9aa4aa6eb5c215b4}","sidebar":"docs"},"Integrations/integrations-opik":{"id":"Integrations/integrations-opik","title":"Opik","description":"Opik is an open-source platform designed for evaluating, testing, and monitoring large language model (LLM) applications. Developed by Comet, it aims to facilitate more intuitive collaboration, testing, and monitoring of LLM-based applications.","sidebar":"docs"},"Integrations/MCP/integrations-mcp":{"id":"Integrations/MCP/integrations-mcp","title":"Integrate Langflow with MCP","description":"Langflow integrates with the Model Context Protocol (MCP). This allows you to use your Langflow flows as tools in client applications that support the MCP, or extend Langflow with the MCP server component to access MCP servers.","sidebar":"docs"},"Integrations/MCP/mcp-component-astra":{"id":"Integrations/MCP/mcp-component-astra","title":"Connect an Astra DB MCP server to Langflow","description":"Use the MCP server component to connect Langflow to a Datastax Astra DB MCP server.","sidebar":"docs"},"Integrations/Notion/integrations-notion":{"id":"Integrations/Notion/integrations-notion","title":"Setup","description":"To use Notion components in Langflow, you first need to create a Notion integration and configure it with the necessary capabilities. This guide will walk you through the process of setting up a Notion integration and granting it access to your Notion databases.","sidebar":"docs"},"Integrations/Notion/notion-agent-conversational":{"id":"Integrations/Notion/notion-agent-conversational","title":"Notion Conversational Agent","description":"The Notion Conversational Agent is an AI-powered assistant that interacts with your Notion workspace through natural language conversations. This flow performs Notion-related tasks like creating pages, searching for information, and managing content, all through a chat interface.","sidebar":"docs"},"Integrations/Notion/notion-agent-meeting-notes":{"id":"Integrations/Notion/notion-agent-meeting-notes","title":"Notion Meeting Notes Agent","description":"The Notion Agent for Meeting Notes is an AI-powered tool that automatically processes meeting transcripts and updates your Notion workspace. It identifies tasks, action items, and key points from your meetings, then creates new tasks or updates existing ones in Notion without manual input.","sidebar":"docs"},"Integrations/Nvidia/integrations-nvidia-ingest":{"id":"Integrations/Nvidia/integrations-nvidia-ingest","title":"Integrate NVIDIA Retriever Extraction with Langflow","description":"NVIDIA Retriever Extraction is also known as NV-Ingest and NeMo Retriever Extraction.","sidebar":"docs"},"Integrations/Nvidia/integrations-nvidia-nim-wsl2":{"id":"Integrations/Nvidia/integrations-nvidia-nim-wsl2","title":"Integrate NVIDIA NIMs with Langflow","description":"Connect Langflow with NVIDIA NIM on an RTX Windows system with Windows Subsystem for Linux 2 (WSL2) installed.","sidebar":"docs"},"Sample-Flows/blog-writer":{"id":"Sample-Flows/blog-writer","title":"Blog writer","description":"Build a Blog Writer flow for a one-shot application using OpenAI.","sidebar":"docs"},"Sample-Flows/document-qa":{"id":"Sample-Flows/document-qa","title":"Document QA","description":"Build a question-and-answer chatbot with a document loaded from local memory.","sidebar":"docs"},"Sample-Flows/memory-chatbot":{"id":"Sample-Flows/memory-chatbot","title":"Memory chatbot","description":"This flow extends the basic prompting flow with a Chat memory component that stores up to 100 previous chat messages and uses them to provide context for the current conversation.","sidebar":"docs"},"Sample-Flows/sequential-agent":{"id":"Sample-Flows/sequential-agent","title":"Sequential tasks agent","description":"Build a Sequential Tasks Agent flow for a multi-agent application using multiple Agent components.","sidebar":"docs"},"Sample-Flows/travel-planning-agent":{"id":"Sample-Flows/travel-planning-agent","title":"Travel planning agent","description":"Build a Travel Planning Agent flow for an agentic application using the multiple Tool-calling agents.","sidebar":"docs"},"Starter-Projects/starter-projects-basic-prompting":{"id":"Starter-Projects/starter-projects-basic-prompting","title":"Basic prompting","description":"Prompts serve as the inputs to a large language model (LLM), acting as the interface between human instructions and computational tasks.","sidebar":"docs"},"Starter-Projects/starter-projects-simple-agent":{"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.","sidebar":"docs"},"Starter-Projects/starter-projects-vector-store-rag":{"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.","sidebar":"docs"},"Support/luna-for-langflow":{"id":"Support/luna-for-langflow","title":"Luna for Langflow","description":"With Luna for Langflow support, you can develop and deploy Langflow applications with confidence.","sidebar":"docs"}}}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1567],{55226:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"link","label":"Welcome to Langflow","href":"/","docId":"Get-Started/welcome-to-langflow","unlisted":false},{"type":"category","label":"Get started","items":[{"type":"link","label":"Install Langflow","href":"/get-started-installation","docId":"Get-Started/get-started-installation","unlisted":false},{"type":"link","label":"Quickstart","href":"/get-started-quickstart","docId":"Get-Started/get-started-quickstart","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Starter projects","items":[{"type":"link","label":"Basic prompting","href":"/starter-projects-basic-prompting","docId":"Starter-Projects/starter-projects-basic-prompting","unlisted":false},{"type":"link","label":"Vector store RAG","href":"/starter-projects-vector-store-rag","docId":"Starter-Projects/starter-projects-vector-store-rag","unlisted":false},{"type":"link","label":"Simple agent","href":"/starter-projects-simple-agent","docId":"Starter-Projects/starter-projects-simple-agent","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Sample flows","items":[{"type":"link","label":"Blog writer","href":"/blog-writer","docId":"Sample-Flows/blog-writer","unlisted":false},{"type":"link","label":"Document QA","href":"/document-qa","docId":"Sample-Flows/document-qa","unlisted":false},{"type":"link","label":"Memory chatbot","href":"/memory-chatbot","docId":"Sample-Flows/memory-chatbot","unlisted":false},{"type":"link","label":"Sequential tasks agent","href":"/sequential-agent","docId":"Sample-Flows/sequential-agent","unlisted":false},{"type":"link","label":"Travel planning agent","href":"/travel-planning-agent","docId":"Sample-Flows/travel-planning-agent","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Concepts","items":[{"type":"link","label":"Langflow overview","href":"/concepts-overview","docId":"Concepts/concepts-overview","unlisted":false},{"type":"link","label":"Playground","href":"/concepts-playground","docId":"Concepts/concepts-playground","unlisted":false},{"type":"link","label":"Components","href":"/concepts-components","docId":"Concepts/concepts-components","unlisted":false},{"type":"link","label":"Flows","href":"/concepts-flows","docId":"Concepts/concepts-flows","unlisted":false},{"type":"link","label":"Langflow objects","href":"/concepts-objects","docId":"Concepts/concepts-objects","unlisted":false},{"type":"link","label":"Publish flows","href":"/concepts-publish","docId":"Concepts/concepts-publish","unlisted":false},{"type":"link","label":"Manage files","href":"/concepts-file-management","docId":"Concepts/concepts-file-management","unlisted":false},{"type":"link","label":"Voice mode","href":"/concepts-voice-mode","docId":"Concepts/concepts-voice-mode","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Components","items":[{"type":"link","label":"Agents","href":"/components-agents","docId":"Components/components-agents","unlisted":false},{"type":"link","label":"Bundles","href":"/components-bundle-components","docId":"Components/components-bundles","unlisted":false},{"type":"link","label":"Create custom Python components","href":"/components-custom-components","docId":"Components/components-custom-components","unlisted":false},{"type":"link","label":"Data","href":"/components-data","docId":"Components/components-data","unlisted":false},{"type":"link","label":"Embeddings","href":"/components-embedding-models","docId":"Components/components-embedding-models","unlisted":false},{"type":"link","label":"Helpers","href":"/components-helpers","docId":"Components/components-helpers","unlisted":false},{"type":"link","label":"Inputs and outputs","href":"/components-io","docId":"Components/components-io","unlisted":false},{"type":"link","label":"Loaders","href":"/components-loaders","docId":"Components/components-loaders","unlisted":false},{"type":"link","label":"Logic","href":"/components-logic","docId":"Components/components-logic","unlisted":false},{"type":"link","label":"Memories","href":"/components-memories","docId":"Components/components-memories","unlisted":false},{"type":"link","label":"Models","href":"/components-models","docId":"Components/components-models","unlisted":false},{"type":"link","label":"Processing","href":"/components-processing","docId":"Components/components-processing","unlisted":false},{"type":"link","label":"Prompts","href":"/components-prompts","docId":"Components/components-prompts","unlisted":false},{"type":"link","label":"Tools","href":"/components-tools","docId":"Components/components-tools","unlisted":false},{"type":"link","label":"Vector stores","href":"/components-vector-stores","docId":"Components/components-vector-stores","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Agents","items":[{"type":"link","label":"Agents overview","href":"/agents-overview","docId":"Agents/agents-overview","unlisted":false},{"type":"link","label":"Create a problem-solving agent","href":"/agents-tool-calling-agent-component","docId":"Agents/agent-tool-calling-agent-component","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Configuration","items":[{"type":"link","label":"API keys","href":"/configuration-api-keys","docId":"Configuration/configuration-api-keys","unlisted":false},{"type":"link","label":"Authentication","href":"/configuration-authentication","docId":"Configuration/configuration-authentication","unlisted":false},{"type":"link","label":"Langflow CLI","href":"/configuration-cli","docId":"Configuration/configuration-cli","unlisted":false},{"type":"link","label":"Configure an external PostgreSQL database","href":"/configuration-custom-database","docId":"Configuration/configuration-custom-database","unlisted":false},{"type":"link","label":"Global variables","href":"/configuration-global-variables","docId":"Configuration/configuration-global-variables","unlisted":false},{"type":"link","label":"Environment variables","href":"/environment-variables","docId":"Configuration/environment-variables","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Develop","items":[{"type":"link","label":"About developing and configuring Langflow applications","href":"/develop-overview","docId":"Develop/develop-overview","unlisted":false},{"type":"link","label":"Develop an application in Langflow","href":"/develop-application","docId":"Develop/develop-application","unlisted":false},{"type":"link","label":"Install custom dependencies","href":"/install-custom-dependencies","docId":"Develop/install-custom-dependencies","unlisted":false},{"type":"link","label":"Memory management options","href":"/memory","docId":"Develop/memory","unlisted":false},{"type":"link","label":"Use session ID to manage communication between components","href":"/session-id","docId":"Develop/session-id","unlisted":false},{"type":"link","label":"Logging options in Langflow","href":"/logging","docId":"Develop/logging","unlisted":false},{"type":"link","label":"Trigger flows with webhooks","href":"/webhook","docId":"Develop/webhook","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Deployment","items":[{"type":"link","label":"Deployment overview","href":"/deployment-overview","docId":"Deployment/deployment-overview","unlisted":false},{"type":"link","label":"Docker","href":"/deployment-docker","docId":"Deployment/deployment-docker","unlisted":false},{"type":"link","label":"Kubernetes","href":"/deployment-kubernetes","docId":"Deployment/deployment-kubernetes","unlisted":false},{"type":"link","label":"Google Cloud Platform","href":"/deployment-gcp","docId":"Deployment/deployment-gcp","unlisted":false},{"type":"link","label":"Hugging Face Spaces","href":"/deployment-hugging-face-spaces","docId":"Deployment/deployment-hugging-face-spaces","unlisted":false},{"type":"link","label":"Railway","href":"/deployment-railway","docId":"Deployment/deployment-railway","unlisted":false},{"type":"link","label":"Render","href":"/deployment-render","docId":"Deployment/deployment-render","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"API reference","items":[{"type":"link","label":"API documentation","href":"/api"},{"type":"link","label":"API examples","href":"/api-reference-api-examples","docId":"API-Reference/api-reference-api-examples","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Integrations","items":[{"type":"category","label":"MCP (Model Context Protocol)","items":[{"type":"link","label":"Integrate Langflow with MCP","href":"/integrations-mcp","docId":"Integrations/MCP/integrations-mcp","unlisted":false},{"type":"link","label":"Connect an Astra DB MCP server to Langflow","href":"/mcp-component-astra","docId":"Integrations/MCP/mcp-component-astra","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"link","label":"Apify","href":"/integrations-apify","docId":"Integrations/Apify/integrations-apify","unlisted":false},{"type":"link","label":"Arize","href":"/integrations-arize","docId":"Integrations/Arize/integrations-arize","unlisted":false},{"type":"link","label":"AssemblyAI","href":"/integrations-assemblyai","docId":"Integrations/integrations-assemblyai","unlisted":false},{"type":"link","label":"Composio","href":"/integrations-composio","docId":"Integrations/Composio/integrations-composio","unlisted":false},{"type":"category","label":"Google","items":[{"type":"link","label":"Integrate Google OAuth with Langflow","href":"/integrations-setup-google-oauth-langflow","docId":"Integrations/Google/integrations-setup-google-oauth-langflow","unlisted":false},{"type":"link","label":"Integrate Google Cloud Vertex AI with Langflow","href":"/integrations-setup-google-cloud-vertex-ai-langflow","docId":"Integrations/Google/integrations-setup-google-cloud-vertex-ai-langflow","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"link","label":"Langfuse","href":"/integrations-langfuse","docId":"Integrations/integrations-langfuse","unlisted":false},{"type":"link","label":"LangSmith","href":"/integrations-langsmith","docId":"Integrations/integrations-langsmith","unlisted":false},{"type":"link","label":"LangWatch","href":"/integrations-langwatch","docId":"Integrations/integrations-langwatch","unlisted":false},{"type":"link","label":"Opik","href":"/integrations-opik","docId":"Integrations/integrations-opik","unlisted":false},{"type":"category","label":"Notion","items":[{"type":"link","label":"Setup","href":"/integrations/notion/setup","docId":"Integrations/Notion/integrations-notion","unlisted":false},{"type":"link","label":"Notion Conversational Agent","href":"/integrations/notion/notion-agent-conversational","docId":"Integrations/Notion/notion-agent-conversational","unlisted":false},{"type":"link","label":"Notion Meeting Notes Agent","href":"/integrations/notion/notion-agent-meeting-notes","docId":"Integrations/Notion/notion-agent-meeting-notes","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"NVIDIA","items":[{"type":"link","label":"Integrate NVIDIA Retriever Extraction with Langflow","href":"/integrations-nvidia-ingest","docId":"Integrations/Nvidia/integrations-nvidia-ingest","unlisted":false},{"type":"link","label":"Integrate NVIDIA NIMs with Langflow","href":"/integrations-nvidia-ingest-wsl2","docId":"Integrations/Nvidia/integrations-nvidia-nim-wsl2","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true},{"type":"category","label":"Contributing","items":[{"type":"link","label":"Join the Langflow community","href":"/contributing-community","docId":"Contributing/contributing-community","unlisted":false},{"type":"link","label":"Contribute components","href":"/contributing-components","docId":"Contributing/contributing-components","unlisted":false},{"type":"link","label":"Contribute component tests","href":"/contributing-component-tests","docId":"Contributing/contributing-component-tests","unlisted":false},{"type":"link","label":"Ask for help on the Discussions board","href":"/contributing-github-discussions","docId":"Contributing/contributing-github-discussion-board","unlisted":false},{"type":"link","label":"Request an enhancement or report a bug","href":"/contributing-github-issues","docId":"Contributing/contributing-github-issues","unlisted":false},{"type":"link","label":"Contribute to Langflow","href":"/contributing-how-to-contribute","docId":"Contributing/contributing-how-to-contribute","unlisted":false},{"type":"link","label":"Telemetry","href":"/contributing-telemetry","docId":"Contributing/contributing-telemetry","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Changelog","items":[{"type":"link","label":"Changelog","href":"https://github.com/langflow-ai/langflow/releases/latest"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Support","items":[{"type":"link","label":"Luna for Langflow","href":"/luna-for-langflow","docId":"Support/luna-for-langflow","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"html","className":"sidebar-ad","value":"\\n \\n \\n
\\n Use Langflow in the cloud\\n Sign up for DataStax Langflow\\n
\\n
\\n "}]},"docs":{"Agents/agent-tool-calling-agent-component":{"id":"Agents/agent-tool-calling-agent-component","title":"Create a problem-solving agent","description":"Developing agents in Langchain is complex.","sidebar":"docs"},"Agents/agents-overview":{"id":"Agents/agents-overview","title":"Agents overview","description":"Agents are AI systems that use LLMs as a brain to analyze problems and select external tools.","sidebar":"docs"},"API-Reference/api-reference-api-examples":{"id":"API-Reference/api-reference-api-examples","title":"API examples","description":"This page provides examples and practices for managing Langflow using the Langflow API.","sidebar":"docs"},"Components/components-agents":{"id":"Components/components-agents","title":"Agents","description":"Agent components define the behavior and capabilities of AI agents in your flow.","sidebar":"docs"},"Components/components-bundles":{"id":"Components/components-bundles","title":"Bundles","description":"Bundles are third-party components grouped by provider.","sidebar":"docs"},"Components/components-custom-components":{"id":"Components/components-custom-components","title":"Create custom Python components","description":"Custom components are created within Langflow and extend the platform\'s functionality with custom, reusable Python code.","sidebar":"docs"},"Components/components-data":{"id":"Components/components-data","title":"Data","description":"Data components load data from a source into your flow.","sidebar":"docs"},"Components/components-embedding-models":{"id":"Components/components-embedding-models","title":"Embeddings","description":"Embeddings models convert text into numerical vectors. These embeddings capture semantic meaning of the input text, and allow LLMs to understand context.","sidebar":"docs"},"Components/components-helpers":{"id":"Components/components-helpers","title":"Helpers","description":"Helper components provide utility functions to help manage data, tasks, and other components in your flow.","sidebar":"docs"},"Components/components-io":{"id":"Components/components-io","title":"Inputs and outputs","description":"Input and output components define where data enters and exits your flow.","sidebar":"docs"},"Components/components-loaders":{"id":"Components/components-loaders","title":"Loaders","description":"As of Langflow 1.1, loader components are now found in the Components menu under Bundles.","sidebar":"docs"},"Components/components-logic":{"id":"Components/components-logic","title":"Logic","description":"Logic components provide functionalities for routing, conditional processing, and flow management.","sidebar":"docs"},"Components/components-memories":{"id":"Components/components-memories","title":"Memories","description":"Memory components store and retrieve chat messages by session_id.","sidebar":"docs"},"Components/components-models":{"id":"Components/components-models","title":"Models","description":"Model components generate text using large language models.","sidebar":"docs"},"Components/components-processing":{"id":"Components/components-processing","title":"Processing","description":"Processing components process and transform data within a flow.","sidebar":"docs"},"Components/components-prompts":{"id":"Components/components-prompts","title":"Prompts","description":"A prompt is a structured input to a language model that instructs the model how to handle user inputs and variables.","sidebar":"docs"},"Components/components-tools":{"id":"Components/components-tools","title":"Tools","description":"Tools are typically connected to agent components at the Tools port. Agents use LLMs as a reasoning engine to decide which of the connected tool components to use to solve a problem.","sidebar":"docs"},"Components/components-vector-stores":{"id":"Components/components-vector-stores","title":"Vector stores","description":"Vector databases store vector data, which backs AI workloads like chatbots and Retrieval Augmented Generation.","sidebar":"docs"},"Concepts/concepts-components":{"id":"Concepts/concepts-components","title":"Components","description":"A\xa0component\xa0is a single building block within a flow with inputs, outputs, functions, and parameters that define its functionality. A single component is like a class within a larger application.","sidebar":"docs"},"Concepts/concepts-file-management":{"id":"Concepts/concepts-file-management","title":"Manage files","description":"Upload, store, and manage files in Langflow\'s File management system.","sidebar":"docs"},"Concepts/concepts-flows":{"id":"Concepts/concepts-flows","title":"Flows","description":"Flows in Langflow are fully serializable and can be saved and loaded from the file system. In this guide, we\'ll explore how to import and export flows.","sidebar":"docs"},"Concepts/concepts-objects":{"id":"Concepts/concepts-objects","title":"Langflow objects","description":"In Langflow, objects are Pydantic models that serve as structured, functional representations of data.","sidebar":"docs"},"Concepts/concepts-overview":{"id":"Concepts/concepts-overview","title":"Langflow overview","description":"This page explores the fundamental building blocks of Langflow, beginning with the question, \\"What is a flow?\\"","sidebar":"docs"},"Concepts/concepts-playground":{"id":"Concepts/concepts-playground","title":"Playground","description":"The\xa0Playground\xa0is a dynamic interface designed for real-time interaction with LLMs, allowing users to chat, access memories, and monitor inputs and outputs. Here, users can directly prototype their models, making adjustments and observing different outcomes.","sidebar":"docs"},"Concepts/concepts-publish":{"id":"Concepts/concepts-publish","title":"Publish flows","description":"Langflow provides several ways to publish and integrate your flows into external applications. Whether you want to expose your flow via API endpoints, embed it as a chat widget in your website, or share it as a public playground, this guide covers the options available for making your flows accessible to users.","sidebar":"docs"},"Concepts/concepts-voice-mode":{"id":"Concepts/concepts-voice-mode","title":"Voice mode","description":"The Langflow Playground supports voice mode for interacting with your applications through a microphone.","sidebar":"docs"},"Configuration/configuration-api-keys":{"id":"Configuration/configuration-api-keys","title":"API keys","description":"Langflow provides an API key functionality that allows users to access their individual components and flows without traditional login authentication.","sidebar":"docs"},"Configuration/configuration-authentication":{"id":"Configuration/configuration-authentication","title":"Authentication","description":"This guide covers Langflow\'s authentication system and API key management, including how to secure your deployment and manage access to flows and components.","sidebar":"docs"},"Configuration/configuration-cli":{"id":"Configuration/configuration-cli","title":"Langflow CLI","description":"The Langflow command line interface (Langflow CLI) is the main interface for managing and running the Langflow server.","sidebar":"docs"},"Configuration/configuration-custom-database":{"id":"Configuration/configuration-custom-database","title":"Configure an external PostgreSQL database","description":"Langflow\'s default database is SQLite, but you can configure Langflow to use PostgreSQL instead.","sidebar":"docs"},"Configuration/configuration-global-variables":{"id":"Configuration/configuration-global-variables","title":"Global variables","description":"Global variables let you store and reuse generic input values and credentials across your projects.","sidebar":"docs"},"Configuration/environment-variables":{"id":"Configuration/environment-variables","title":"Environment variables","description":"Langflow lets you configure a number of settings using environment variables.","sidebar":"docs"},"Contributing/contributing-community":{"id":"Contributing/contributing-community","title":"Join the Langflow community","description":"Join the Langflow Discord server","sidebar":"docs"},"Contributing/contributing-component-tests":{"id":"Contributing/contributing-component-tests","title":"Contribute component tests","description":"This guide outlines how to structure and implement tests for application components to ensure consistency and adequate coverage.","sidebar":"docs"},"Contributing/contributing-components":{"id":"Contributing/contributing-components","title":"Contribute components","description":"New components are added as objects of the\xa0CustomComponent\xa0class.","sidebar":"docs"},"Contributing/contributing-github-discussion-board":{"id":"Contributing/contributing-github-discussion-board","title":"Ask for help on the Discussions board","description":"If you\'re looking for help with your code, consider posting a question on the Langflow\xa0GitHub Discussions board. The Langflow team cannot provide individual support via email. The team also believes that help is much more valuable if it\'s\xa0shared publicly, so that more people can benefit from it.","sidebar":"docs"},"Contributing/contributing-github-issues":{"id":"Contributing/contributing-github-issues","title":"Request an enhancement or report a bug","description":"The\xa0Issues page in the Langflow repo is kept up to date with bugs, improvements, and feature requests. Labels are used to help with sorting and discovery of issues of interest. For an overview of the system Langflow uses to tag issues and pull requests, see the Langflow repo\'s labels page.","sidebar":"docs"},"Contributing/contributing-how-to-contribute":{"id":"Contributing/contributing-how-to-contribute","title":"Contribute to Langflow","description":"This guide is intended to help you start contributing to Langflow.","sidebar":"docs"},"Contributing/contributing-telemetry":{"id":"Contributing/contributing-telemetry","title":"Telemetry","description":"Langflow uses anonymous telemetry to collect essential usage statistics to enhance functionality and the user experience. This data helps us identify popular features and areas that need improvement, and ensures development efforts align with what you need.","sidebar":"docs"},"Deployment/deployment-docker":{"id":"Deployment/deployment-docker","title":"Deploy Langflow on Docker","description":"This guide demonstrates deploying Langflow with Docker and Docker Compose.","sidebar":"docs"},"Deployment/deployment-gcp":{"id":"Deployment/deployment-gcp","title":"Deploy Langflow on Google Cloud Platform","description":"This guide demonstrates deploying Langflow on Google Cloud Platform.","sidebar":"docs"},"Deployment/deployment-hugging-face-spaces":{"id":"Deployment/deployment-hugging-face-spaces","title":"Deploy Langflow on HuggingFace Spaces","description":"This guide explains how to deploy Langflow on HuggingFace Spaces.","sidebar":"docs"},"Deployment/deployment-kubernetes":{"id":"Deployment/deployment-kubernetes","title":"Deploy Langflow on Kubernetes","description":"This guide demonstrates deploying Langflow on a Kubernetes cluster.","sidebar":"docs"},"Deployment/deployment-overview":{"id":"Deployment/deployment-overview","title":"Langflow deployment overview","description":"You have a flow, and want to share it with the world in a production environment.","sidebar":"docs"},"Deployment/deployment-railway":{"id":"Deployment/deployment-railway","title":"Deploy Langflow on Railway","description":"This guide explains how to deploy Langflow on Railway, a cloud infrastructure platform that provides auto-deploy, managed databases, and automatic scaling.","sidebar":"docs"},"Deployment/deployment-render":{"id":"Deployment/deployment-render","title":"Deploy Langflow on Render","description":"This guide explains how to deploy Langflow on Render, a cloud platform for deploying web applications and APIs.","sidebar":"docs"},"Develop/develop-application":{"id":"Develop/develop-application","title":"Develop an application in Langflow","description":"Follow this guide to learn how to build an application using Langflow.","sidebar":"docs"},"Develop/develop-overview":{"id":"Develop/develop-overview","title":"About developing and configuring Langflow applications","description":"The following pages provide information about how to develop and configure Langflow applications.","sidebar":"docs"},"Develop/install-custom-dependencies":{"id":"Develop/install-custom-dependencies","title":"Install custom dependencies","description":"To install custom dependencies in your Langflow environment, add them with your package manager.","sidebar":"docs"},"Develop/logging":{"id":"Develop/logging","title":"Logging options in Langflow","description":"Langflow uses the loguru library for logging.","sidebar":"docs"},"Develop/memory":{"id":"Develop/memory","title":"Memory management options","description":"Langflow provides flexible memory management options for storage and retrieval.","sidebar":"docs"},"Develop/session-id":{"id":"Develop/session-id","title":"Use session ID to manage communication between components","description":"Session ID is a unique identifier for client/server connections. A single session equals the duration of a client\'s connection to a server.","sidebar":"docs"},"Develop/webhook":{"id":"Develop/webhook","title":"Trigger flows with webhooks","description":"Add a Webhook component to your flow to trigger it with external requests.","sidebar":"docs"},"Get-Started/get-started-installation":{"id":"Get-Started/get-started-installation","title":"Install Langflow","description":"Langflow can be installed in three ways:","sidebar":"docs"},"Get-Started/get-started-quickstart":{"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.","sidebar":"docs"},"Get-Started/welcome-to-langflow":{"id":"Get-Started/welcome-to-langflow","title":"Welcome to Langflow","description":"Langflow is a new, visual framework for building multi-agent and RAG applications. It is open-source, Python-powered, fully customizable, and LLM and vector store agnostic.","sidebar":"docs"},"Integrations/Apify/integrations-apify":{"id":"Integrations/Apify/integrations-apify","title":"Apify","description":"Apify is a web scraping and data extraction platform. It provides an Actor Store with more than 3,000 ready-made cloud tools called Actors.","sidebar":"docs"},"Integrations/Arize/integrations-arize":{"id":"Integrations/Arize/integrations-arize","title":"Integrate Arize with Langflow","description":"Arize is a tool built on OpenTelemetry and OpenInference for monitoring and optimizing LLM applications.","sidebar":"docs"},"Integrations/Composio/integrations-composio":{"id":"Integrations/Composio/integrations-composio","title":"Integrate Composio with Langflow","description":"Langflow integrates with Composio as a toolset for your Agent component.","sidebar":"docs"},"Integrations/Google/integrations-setup-google-cloud-vertex-ai-langflow":{"id":"Integrations/Google/integrations-setup-google-cloud-vertex-ai-langflow","title":"Integrate Google Cloud Vertex AI with Langflow","description":"A comprehensive guide on creating a Google OAuth app, obtaining tokens, and integrating them with Langflow\'s Google components.","sidebar":"docs"},"Integrations/Google/integrations-setup-google-oauth-langflow":{"id":"Integrations/Google/integrations-setup-google-oauth-langflow","title":"Integrate Google OAuth with Langflow","description":"A comprehensive guide on creating a Google OAuth app, obtaining tokens, and integrating them with Langflow\'s Google components.","sidebar":"docs"},"Integrations/integrations-assemblyai":{"id":"Integrations/integrations-assemblyai","title":"AssemblyAI","description":"The AssemblyAI components allow you to apply powerful Speech AI models to your app for tasks like:","sidebar":"docs"},"Integrations/integrations-langfuse":{"id":"Integrations/integrations-langfuse","title":"Langfuse","description":"Langfuse (GitHub) is an open-source platform for LLM observability. It provides tracing and monitoring capabilities for AI applications, helping developers debug, analyze, and optimize their AI systems. Langfuse integrates with various tools and frameworks such as workflows builders like Langflow.","sidebar":"docs"},"Integrations/integrations-langsmith":{"id":"Integrations/integrations-langsmith","title":"LangSmith","description":"LangSmith is a full-lifecycle DevOps service from LangChain that provides monitoring and observability. To integrate with Langflow, just add your LangChain API key as a Langflow environment variable and you are good to go!","sidebar":"docs"},"Integrations/integrations-langwatch":{"id":"Integrations/integrations-langwatch","title":"LangWatch","description":"938674091aac4d9d9aa4aa6eb5c215b4}","sidebar":"docs"},"Integrations/integrations-opik":{"id":"Integrations/integrations-opik","title":"Opik","description":"Opik is an open-source platform designed for evaluating, testing, and monitoring large language model (LLM) applications. Developed by Comet, it aims to facilitate more intuitive collaboration, testing, and monitoring of LLM-based applications.","sidebar":"docs"},"Integrations/MCP/integrations-mcp":{"id":"Integrations/MCP/integrations-mcp","title":"Integrate Langflow with MCP","description":"Langflow integrates with the Model Context Protocol (MCP). This allows you to use your Langflow flows as tools in client applications that support the MCP, or extend Langflow with the MCP server component to access MCP servers.","sidebar":"docs"},"Integrations/MCP/mcp-component-astra":{"id":"Integrations/MCP/mcp-component-astra","title":"Connect an Astra DB MCP server to Langflow","description":"Use the MCP server component to connect Langflow to a Datastax Astra DB MCP server.","sidebar":"docs"},"Integrations/Notion/integrations-notion":{"id":"Integrations/Notion/integrations-notion","title":"Setup","description":"To use Notion components in Langflow, you first need to create a Notion integration and configure it with the necessary capabilities. This guide will walk you through the process of setting up a Notion integration and granting it access to your Notion databases.","sidebar":"docs"},"Integrations/Notion/notion-agent-conversational":{"id":"Integrations/Notion/notion-agent-conversational","title":"Notion Conversational Agent","description":"The Notion Conversational Agent is an AI-powered assistant that interacts with your Notion workspace through natural language conversations. This flow performs Notion-related tasks like creating pages, searching for information, and managing content, all through a chat interface.","sidebar":"docs"},"Integrations/Notion/notion-agent-meeting-notes":{"id":"Integrations/Notion/notion-agent-meeting-notes","title":"Notion Meeting Notes Agent","description":"The Notion Agent for Meeting Notes is an AI-powered tool that automatically processes meeting transcripts and updates your Notion workspace. It identifies tasks, action items, and key points from your meetings, then creates new tasks or updates existing ones in Notion without manual input.","sidebar":"docs"},"Integrations/Nvidia/integrations-nvidia-ingest":{"id":"Integrations/Nvidia/integrations-nvidia-ingest","title":"Integrate NVIDIA Retriever Extraction with Langflow","description":"NVIDIA Retriever Extraction is also known as NV-Ingest and NeMo Retriever Extraction.","sidebar":"docs"},"Integrations/Nvidia/integrations-nvidia-nim-wsl2":{"id":"Integrations/Nvidia/integrations-nvidia-nim-wsl2","title":"Integrate NVIDIA NIMs with Langflow","description":"Connect Langflow with NVIDIA NIM on an RTX Windows system with Windows Subsystem for Linux 2 (WSL2) installed.","sidebar":"docs"},"Sample-Flows/blog-writer":{"id":"Sample-Flows/blog-writer","title":"Blog writer","description":"Build a Blog Writer flow for a one-shot application using OpenAI.","sidebar":"docs"},"Sample-Flows/document-qa":{"id":"Sample-Flows/document-qa","title":"Document QA","description":"Build a question-and-answer chatbot with a document loaded from local memory.","sidebar":"docs"},"Sample-Flows/memory-chatbot":{"id":"Sample-Flows/memory-chatbot","title":"Memory chatbot","description":"This flow extends the basic prompting flow with a Chat memory component that stores up to 100 previous chat messages and uses them to provide context for the current conversation.","sidebar":"docs"},"Sample-Flows/sequential-agent":{"id":"Sample-Flows/sequential-agent","title":"Sequential tasks agent","description":"Build a Sequential Tasks Agent flow for a multi-agent application using multiple Agent components.","sidebar":"docs"},"Sample-Flows/travel-planning-agent":{"id":"Sample-Flows/travel-planning-agent","title":"Travel planning agent","description":"Build a Travel Planning Agent flow for an agentic application using the multiple Tool-calling agents.","sidebar":"docs"},"Starter-Projects/starter-projects-basic-prompting":{"id":"Starter-Projects/starter-projects-basic-prompting","title":"Basic prompting","description":"Prompts serve as the inputs to a large language model (LLM), acting as the interface between human instructions and computational tasks.","sidebar":"docs"},"Starter-Projects/starter-projects-simple-agent":{"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.","sidebar":"docs"},"Starter-Projects/starter-projects-vector-store-rag":{"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.","sidebar":"docs"},"Support/luna-for-langflow":{"id":"Support/luna-for-langflow","title":"Luna for Langflow","description":"With Luna for Langflow support, you can develop and deploy Langflow applications with confidence.","sidebar":"docs"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/2ab0d4f5.432262b8.js b/assets/js/2ab0d4f5.432262b8.js deleted file mode 100644 index 152490e99d..0000000000 --- a/assets/js/2ab0d4f5.432262b8.js +++ /dev/null @@ -1 +0,0 @@ -"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.3.2"},"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 \\"cillum055\\": \\"\\",\\n \\"cillumbd\\": \\"\\",\\n \\"aliquip_9e2\\": \\"\\"\\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/2ab0d4f5.bcbaf5b9.js b/assets/js/2ab0d4f5.bcbaf5b9.js new file mode 100644 index 0000000000..5cdc590460 --- /dev/null +++ b/assets/js/2ab0d4f5.bcbaf5b9.js @@ -0,0 +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.3.2"},"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 \\"consequatcb\\": \\"\\",\\n \\"sunt6\\": \\"\\",\\n \\"dolor_eee\\": \\"\\"\\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/c6a5eaec.9e262031.js b/assets/js/c6a5eaec.9e262031.js deleted file mode 100644 index f6bf3b0412..0000000000 --- a/assets/js/c6a5eaec.9e262031.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[8356],{65537:(e,n,t)=>{t.d(n,{A:()=>y});var a=t(96540),r=t(18215),o=t(65627),s=t(56347),i=t(50372),l=t(30604),c=t(11861),u=t(78749);function d(e){return a.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,a.isValidElement)(e)&&function(e){const{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function h(e){const{values:n,children:t}=e;return(0,a.useMemo)((()=>{const e=n??function(e){return d(e).map((e=>{let{props:{value:n,label:t,attributes:a,default:r}}=e;return{value:n,label:t,attributes:a,default:r}}))}(t);return function(e){const n=(0,c.XI)(e,((e,n)=>e.value===n.value));if(n.length>0)throw new Error(`Docusaurus error: Duplicate values "${n.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[n,t])}function g(e){let{value:n,tabValues:t}=e;return t.some((e=>e.value===n))}function f(e){let{queryString:n=!1,groupId:t}=e;const r=(0,s.W6)(),o=function(e){let{queryString:n=!1,groupId:t}=e;if("string"==typeof n)return n;if(!1===n)return null;if(!0===n&&!t)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return t??null}({queryString:n,groupId:t});return[(0,l.aZ)(o),(0,a.useCallback)((e=>{if(!o)return;const n=new URLSearchParams(r.location.search);n.set(o,e),r.replace({...r.location,search:n.toString()})}),[o,r])]}function p(e){const{defaultValue:n,queryString:t=!1,groupId:r}=e,o=h(e),[s,l]=(0,a.useState)((()=>function(e){let{defaultValue:n,tabValues:t}=e;if(0===t.length)throw new Error("Docusaurus error: the component requires at least one children component");if(n){if(!g({value:n,tabValues:t}))throw new Error(`Docusaurus error: The has a defaultValue "${n}" but none of its children has the corresponding value. Available values are: ${t.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return n}const a=t.find((e=>e.default))??t[0];if(!a)throw new Error("Unexpected error: 0 tabValues");return a.value}({defaultValue:n,tabValues:o}))),[c,d]=f({queryString:t,groupId:r}),[p,b]=function(e){let{groupId:n}=e;const t=function(e){return e?`docusaurus.tab.${e}`:null}(n),[r,o]=(0,u.Dv)(t);return[r,(0,a.useCallback)((e=>{t&&o.set(e)}),[t,o])]}({groupId:r}),m=(()=>{const e=c??p;return g({value:e,tabValues:o})?e:null})();(0,i.A)((()=>{m&&l(m)}),[m]);return{selectedValue:s,selectValue:(0,a.useCallback)((e=>{if(!g({value:e,tabValues:o}))throw new Error(`Can't select invalid tab value=${e}`);l(e),d(e),b(e)}),[d,b,o]),tabValues:o}}var b=t(9136);const m={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var v=t(74848);function x(e){let{className:n,block:t,selectedValue:a,selectValue:s,tabValues:i}=e;const l=[],{blockElementScrollPositionUntilNextRender:c}=(0,o.a_)(),u=e=>{const n=e.currentTarget,t=l.indexOf(n),r=i[t].value;r!==a&&(c(n),s(r))},d=e=>{let n=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const t=l.indexOf(e.currentTarget)+1;n=l[t]??l[0];break}case"ArrowLeft":{const t=l.indexOf(e.currentTarget)-1;n=l[t]??l[l.length-1];break}}n?.focus()};return(0,v.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,r.A)("tabs",{"tabs--block":t},n),children:i.map((e=>{let{value:n,label:t,attributes:o}=e;return(0,v.jsx)("li",{role:"tab",tabIndex:a===n?0:-1,"aria-selected":a===n,ref:e=>{l.push(e)},onKeyDown:d,onClick:u,...o,className:(0,r.A)("tabs__item",m.tabItem,o?.className,{"tabs__item--active":a===n}),children:t??n},n)}))})}function w(e){let{lazy:n,children:t,selectedValue:o}=e;const s=(Array.isArray(t)?t:[t]).filter(Boolean);if(n){const e=s.find((e=>e.props.value===o));return e?(0,a.cloneElement)(e,{className:(0,r.A)("margin-top--md",e.props.className)}):null}return(0,v.jsx)("div",{className:"margin-top--md",children:s.map(((e,n)=>(0,a.cloneElement)(e,{key:n,hidden:e.props.value!==o})))})}function j(e){const n=p(e);return(0,v.jsxs)("div",{className:(0,r.A)("tabs-container",m.tabList),children:[(0,v.jsx)(x,{...n,...e}),(0,v.jsx)(w,{...n,...e})]})}function y(e){const n=(0,b.A)();return(0,v.jsx)(j,{...e,children:d(e.children)},String(n))}},79329:(e,n,t)=>{t.d(n,{A:()=>s});t(96540);var a=t(18215);const r={tabItem:"tabItem_Ymn6"};var o=t(74848);function s(e){let{children:n,hidden:t,className:s}=e;return(0,o.jsx)("div",{role:"tabpanel",className:(0,a.A)(r.tabItem,s),hidden:t,children:n})}},90435:(e,n,t)=>{t.r(n),t.d(n,{CH:()=>h,assets:()=>d,chCodeConfig:()=>g,contentTitle:()=>u,default:()=>b,frontMatter:()=>c,metadata:()=>a,toc:()=>f});const a=JSON.parse('{"id":"Integrations/integrations-langfuse","title":"Langfuse","description":"Langfuse is an observability and analytics platform specifically designed for language models and AI applications.","source":"@site/docs/Integrations/integrations-langfuse.md","sourceDirName":"Integrations","slug":"/integrations-langfuse","permalink":"/integrations-langfuse","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Langfuse","slug":"/integrations-langfuse"},"sidebar":"docs","previous":{"title":"Integrate Google Cloud Vertex AI with Langflow","permalink":"/integrations-setup-google-cloud-vertex-ai-langflow"},"next":{"title":"LangSmith","permalink":"/integrations-langsmith"}}');var r=t(74848),o=t(28453),s=t(24754),i=t(65537),l=t(79329);const c={title:"Langfuse",slug:"/integrations-langfuse"},u="Integrate Langfuse with Langflow",d={},h={annotations:s.hk,Code:s.Cy},g={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},f=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Create Langfuse project credentials",id:"create-langfuse-project-credentials",level:2},{value:"Set your Langfuse credentials as environment variables",id:"set-your-langfuse-credentials-as-environment-variables",level:2},{value:"Start Langflow and run a flow",id:"start-langflow-and-run-a-flow",level:2},{value:"View tracing data in Langfuse",id:"view-tracing-data-in-langfuse",level:2},{value:"Disable the Langfuse integration",id:"disable-the-langfuse-integration",level:2}];function p(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",ul:"ul",...(0,o.R)(),...e.components};return h||m("CH",!1),h.Code||m("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","\n",(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"integrate-langfuse-with-langflow",children:"Integrate Langfuse with Langflow"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"https://langfuse.com/",children:"Langfuse"})," is an observability and analytics platform specifically designed for language models and AI applications."]}),"\n",(0,r.jsxs)(n.p,{children:["This guide walks you through how to configure Langflow to collect ",(0,r.jsx)(n.a,{href:"https://langfuse.com/docs/tracing",children:"tracing"})," data about your flow executions and automatically send the data to Langfuse."]}),"\n",(0,r.jsx)(n.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"A project in Langflow with a runnable flow"}),"\n",(0,r.jsxs)(n.li,{children:["A Langfuse Cloud account in any ",(0,r.jsx)(n.a,{href:"https://langfuse.com/faq/all/cloud-data-regions",children:"data region"})]}),"\n",(0,r.jsx)(n.li,{children:"A Langfuse organization and project"}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"create-langfuse-project-credentials",children:"Create Langfuse project credentials"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"In Langfuse, go to your project settings, and then create a new set of API keys."}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Copy the following API key information:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Secret Key"}),"\n",(0,r.jsx)(n.li,{children:"Public Key"}),"\n",(0,r.jsx)(n.li,{children:"Host URL"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"set-your-langfuse-credentials-as-environment-variables",children:"Set your Langfuse credentials as environment variables"}),"\n",(0,r.jsx)(n.p,{children:"Set your Langfuse project credentials as environment variables in the same environment where you run Langflow."}),"\n",(0,r.jsx)(n.p,{children:"You can use any method you prefer to set environment variables.\nThe following examples show how to set environment variables in a terminal session (Linux or macOS) and in a command prompt session (Windows):"}),"\n",(0,r.jsxs)(i.A,{children:[(0,r.jsx)(l.A,{value:"linux-macos",label:"Linux or macOS",default:!0,children:(0,r.jsx)(h.Code,{codeConfig:g,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"export LANGFUSE_SECRET_KEY=SECRET_KEY",props:{}}]},{tokens:[{content:"export LANGFUSE_PUBLIC_KEY=PUBLIC_KEY",props:{}}]},{tokens:[{content:"export LANGFUSE_HOST=HOST_URL",props:{}}]}],lang:"text"},annotations:[]}]})}),(0,r.jsx)(l.A,{value:"windows",label:"Windows",default:!0,children:(0,r.jsx)(h.Code,{codeConfig:g,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"set LANGFUSE_SECRET_KEY=SECRET_KEY",props:{}}]},{tokens:[{content:"set LANGFUSE_PUBLIC_KEY=PUBLIC_KEY",props:{}}]},{tokens:[{content:"set LANGFUSE_HOST=HOST_URL",props:{}}]}],lang:"text"},annotations:[]}]})})]}),"\n",(0,r.jsxs)(n.p,{children:["Replace ",(0,r.jsx)(n.code,{children:"SECRET_KEY"}),", ",(0,r.jsx)(n.code,{children:"PUBLIC_KEY"}),", and ",(0,r.jsx)(n.code,{children:"HOST_URL"})," with the API key information you copied from Langfuse."]}),"\n",(0,r.jsx)(n.h2,{id:"start-langflow-and-run-a-flow",children:"Start Langflow and run a flow"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsx)(n.li,{children:"Start Langflow in the same terminal or environment where you set the environment variables:"}),"\n"]}),"\n",(0,r.jsx)(h.Code,{codeConfig:g,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"uv ",props:{style:{color:"#FFA657"}}},{content:"run langflow run",props:{style:{color:"#A5D6FF"}}}]}],lang:"bash"},annotations:[]}]}),"\n",(0,r.jsxs)(n.ol,{start:"2",children:["\n",(0,r.jsx)(n.li,{children:"In Langflow, open an existing project, and then run a flow."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"view-tracing-data-in-langfuse",children:"View tracing data in Langfuse"}),"\n",(0,r.jsx)(n.p,{children:"Langflow automatically collects and sends tracing data about the flow execution to Langfuse.\nYou can view the collected data in your Langfuse project dashboard."}),"\n",(0,r.jsx)(n.h2,{id:"disable-the-langfuse-integration",children:"Disable the Langfuse integration"}),"\n",(0,r.jsx)(n.p,{children:"To disable the Langfuse integration, remove the environment variables you set in the previous steps and restart Langflow."})]})}function b(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}function m(e,n){throw new Error("Expected "+(n?"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/c6a5eaec.ff51d102.js b/assets/js/c6a5eaec.ff51d102.js new file mode 100644 index 0000000000..15f3b32b49 --- /dev/null +++ b/assets/js/c6a5eaec.ff51d102.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[8356],{65537:(e,n,t)=>{t.d(n,{A:()=>k});var o=t(96540),s=t(18215),r=t(65627),l=t(56347),a=t(50372),c=t(30604),i=t(11861),u=t(78749);function d(e){return o.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,o.isValidElement)(e)&&function(e){const{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:n,children:t}=e;return(0,o.useMemo)((()=>{const e=n??function(e){return d(e).map((e=>{let{props:{value:n,label:t,attributes:o,default:s}}=e;return{value:n,label:t,attributes:o,default:s}}))}(t);return function(e){const n=(0,i.XI)(e,((e,n)=>e.value===n.value));if(n.length>0)throw new Error(`Docusaurus error: Duplicate values "${n.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[n,t])}function h(e){let{value:n,tabValues:t}=e;return t.some((e=>e.value===n))}function g(e){let{queryString:n=!1,groupId:t}=e;const s=(0,l.W6)(),r=function(e){let{queryString:n=!1,groupId:t}=e;if("string"==typeof n)return n;if(!1===n)return null;if(!0===n&&!t)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return t??null}({queryString:n,groupId:t});return[(0,c.aZ)(r),(0,o.useCallback)((e=>{if(!r)return;const n=new URLSearchParams(s.location.search);n.set(r,e),s.replace({...s.location,search:n.toString()})}),[r,s])]}function f(e){const{defaultValue:n,queryString:t=!1,groupId:s}=e,r=p(e),[l,c]=(0,o.useState)((()=>function(e){let{defaultValue:n,tabValues:t}=e;if(0===t.length)throw new Error("Docusaurus error: the component requires at least one children component");if(n){if(!h({value:n,tabValues:t}))throw new Error(`Docusaurus error: The has a defaultValue "${n}" but none of its children has the corresponding value. Available values are: ${t.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return n}const o=t.find((e=>e.default))??t[0];if(!o)throw new Error("Unexpected error: 0 tabValues");return o.value}({defaultValue:n,tabValues:r}))),[i,d]=g({queryString:t,groupId:s}),[f,m]=function(e){let{groupId:n}=e;const t=function(e){return e?`docusaurus.tab.${e}`:null}(n),[s,r]=(0,u.Dv)(t);return[s,(0,o.useCallback)((e=>{t&&r.set(e)}),[t,r])]}({groupId:s}),y=(()=>{const e=i??f;return h({value:e,tabValues:r})?e:null})();(0,a.A)((()=>{y&&c(y)}),[y]);return{selectedValue:l,selectValue:(0,o.useCallback)((e=>{if(!h({value:e,tabValues:r}))throw new Error(`Can't select invalid tab value=${e}`);c(e),d(e),m(e)}),[d,m,r]),tabValues:r}}var m=t(9136);const y={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var b=t(74848);function w(e){let{className:n,block:t,selectedValue:o,selectValue:l,tabValues:a}=e;const c=[],{blockElementScrollPositionUntilNextRender:i}=(0,r.a_)(),u=e=>{const n=e.currentTarget,t=c.indexOf(n),s=a[t].value;s!==o&&(i(n),l(s))},d=e=>{let n=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const t=c.indexOf(e.currentTarget)+1;n=c[t]??c[0];break}case"ArrowLeft":{const t=c.indexOf(e.currentTarget)-1;n=c[t]??c[c.length-1];break}}n?.focus()};return(0,b.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,s.A)("tabs",{"tabs--block":t},n),children:a.map((e=>{let{value:n,label:t,attributes:r}=e;return(0,b.jsx)("li",{role:"tab",tabIndex:o===n?0:-1,"aria-selected":o===n,ref:e=>{c.push(e)},onKeyDown:d,onClick:u,...r,className:(0,s.A)("tabs__item",y.tabItem,r?.className,{"tabs__item--active":o===n}),children:t??n},n)}))})}function v(e){let{lazy:n,children:t,selectedValue:r}=e;const l=(Array.isArray(t)?t:[t]).filter(Boolean);if(n){const e=l.find((e=>e.props.value===r));return e?(0,o.cloneElement)(e,{className:(0,s.A)("margin-top--md",e.props.className)}):null}return(0,b.jsx)("div",{className:"margin-top--md",children:l.map(((e,n)=>(0,o.cloneElement)(e,{key:n,hidden:e.props.value!==r})))})}function x(e){const n=f(e);return(0,b.jsxs)("div",{className:(0,s.A)("tabs-container",y.tabList),children:[(0,b.jsx)(w,{...n,...e}),(0,b.jsx)(v,{...n,...e})]})}function k(e){const n=(0,m.A)();return(0,b.jsx)(x,{...e,children:d(e.children)},String(n))}},79329:(e,n,t)=>{t.d(n,{A:()=>l});t(96540);var o=t(18215);const s={tabItem:"tabItem_Ymn6"};var r=t(74848);function l(e){let{children:n,hidden:t,className:l}=e;return(0,r.jsx)("div",{role:"tabpanel",className:(0,o.A)(s.tabItem,l),hidden:t,children:n})}},90435:(e,n,t)=>{t.r(n),t.d(n,{CH:()=>p,assets:()=>d,chCodeConfig:()=>h,contentTitle:()=>u,default:()=>m,frontMatter:()=>i,metadata:()=>o,toc:()=>g});const o=JSON.parse('{"id":"Integrations/integrations-langfuse","title":"Langfuse","description":"Langfuse (GitHub) is an open-source platform for LLM observability. It provides tracing and monitoring capabilities for AI applications, helping developers debug, analyze, and optimize their AI systems. Langfuse integrates with various tools and frameworks such as workflows builders like Langflow.","source":"@site/docs/Integrations/integrations-langfuse.md","sourceDirName":"Integrations","slug":"/integrations-langfuse","permalink":"/integrations-langfuse","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Langfuse","slug":"/integrations-langfuse"},"sidebar":"docs","previous":{"title":"Integrate Google Cloud Vertex AI with Langflow","permalink":"/integrations-setup-google-cloud-vertex-ai-langflow"},"next":{"title":"LangSmith","permalink":"/integrations-langsmith"}}');var s=t(74848),r=t(28453),l=t(24754),a=t(65537),c=t(79329);const i={title:"Langfuse",slug:"/integrations-langfuse"},u="Integrate Langfuse with Langflow",d={},p={annotations:l.hk,Code:l.Cy},h={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},g=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Set Langfuse credentials as environment variables",id:"set-langfuse-credentials-as-environment-variables",level:2},{value:"Start Langflow and view traces in Langfuse",id:"start-langflow-and-view-traces-in-langfuse",level:2},{value:"Disable Langfuse Tracing",id:"disable-langfuse-tracing",level:2},{value:"Run Langfuse and Langflow with Docker Compose",id:"run-langfuse-and-langflow-with-docker-compose",level:2}];function f(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return p||y("CH",!1),p.Code||y("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)(n.header,{children:(0,s.jsx)(n.h1,{id:"integrate-langfuse-with-langflow",children:"Integrate Langfuse with Langflow"})}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.a,{href:"https://langfuse.com",children:"Langfuse"})," (",(0,s.jsx)(n.a,{href:"https://github.com/langfuse/langfuse",children:"GitHub"}),") is an open-source platform for LLM observability. It provides tracing and monitoring capabilities for AI applications, helping developers debug, analyze, and optimize their AI systems. Langfuse integrates with various tools and frameworks such as workflows builders like Langflow."]}),"\n",(0,s.jsxs)(n.p,{children:["This guide walks you through how to configure Langflow to collect ",(0,s.jsx)(n.a,{href:"https://langfuse.com/docs/tracing",children:"tracing"})," data about your flow executions and automatically send the data to Langfuse."]}),"\n",(0,s.jsx)("iframe",{width:"760",height:"415",src:"https://www.youtube.com/embed/SA9gGbzwNGU?si=eDKvdtvhb3fJCSbl",title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:!0}),"\n",(0,s.jsx)(n.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"A project in Langflow with a runnable flow"}),"\n",(0,s.jsxs)(n.li,{children:["A ",(0,s.jsx)(n.a,{href:"https://cloud.langfuse.com",children:"Langfuse Cloud"})," or ",(0,s.jsx)(n.a,{href:"https://langfuse.com/self-hosting",children:"self-hosted Langfuse"})," account"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"set-langfuse-credentials-as-environment-variables",children:"Set Langfuse credentials as environment variables"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["In Langfuse, go to ",(0,s.jsx)(n.strong,{children:"Project Settings"}),", and then create a new set of API keys."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Copy the following API key information:"}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Secret Key"}),"\n",(0,s.jsx)(n.li,{children:"Public Key"}),"\n",(0,s.jsx)(n.li,{children:"Host URL"}),"\n"]}),"\n",(0,s.jsxs)(n.ol,{start:"3",children:["\n",(0,s.jsx)(n.li,{children:"Set your Langfuse project credentials as environment variables in the same environment where you run Langflow."}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["The following examples set environment variables in a Linux or macOS terminal session or in a Windows command prompt session:\nReplace ",(0,s.jsx)(n.code,{children:"SECRET_KEY"}),", ",(0,s.jsx)(n.code,{children:"PUBLIC_KEY"}),", and ",(0,s.jsx)(n.code,{children:"HOST_URL"})," with the API key information you copied from Langfuse."]}),"\n",(0,s.jsxs)(a.A,{children:[(0,s.jsx)(c.A,{value:"linux-macos",label:"Linux or macOS",default:!0,children:(0,s.jsx)(p.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"export LANGFUSE_SECRET_KEY=SECRET_KEY",props:{}}]},{tokens:[{content:"export LANGFUSE_PUBLIC_KEY=PUBLIC_KEY",props:{}}]},{tokens:[{content:"export LANGFUSE_HOST=HOST_URL",props:{}}]}],lang:"text"},annotations:[]}]})}),(0,s.jsx)(c.A,{value:"windows",label:"Windows",default:!0,children:(0,s.jsx)(p.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"set LANGFUSE_SECRET_KEY=SECRET_KEY",props:{}}]},{tokens:[{content:"set LANGFUSE_PUBLIC_KEY=PUBLIC_KEY",props:{}}]},{tokens:[{content:"set LANGFUSE_HOST=HOST_URL",props:{}}]}],lang:"text"},annotations:[]}]})})]}),"\n",(0,s.jsx)(n.h2,{id:"start-langflow-and-view-traces-in-langfuse",children:"Start Langflow and view traces in Langfuse"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:"Start Langflow in the same terminal or environment where you set the environment variables:"}),"\n"]}),"\n",(0,s.jsx)(p.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"uv ",props:{style:{color:"#FFA657"}}},{content:"run langflow run",props:{style:{color:"#A5D6FF"}}}]}],lang:"bash"},annotations:[]}]}),"\n",(0,s.jsxs)(n.ol,{start:"2",children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"In Langflow, open an existing project, and then run a flow."}),"\n",(0,s.jsx)(n.p,{children:"Langflow automatically collects and sends tracing data about the flow execution to Langfuse."}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"View the collected data in your Langfuse project dashboard."}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:"https://langfuse.com//images/blog/langflow-langfuse/langflow-example-trace.png",alt:"Example trace in Langfuse"})}),"\n",(0,s.jsxs)(n.p,{children:["For a live public example trace in a Langfuse dashboard, see ",(0,s.jsx)(n.a,{href:"https://cloud.langfuse.com/project/cm0nywmaa005c3ol2msoisiho/traces/f016ae6d-4527-43f5-93ba-9d78388cd3d9?timestamp=2024-11-15T10%3A22%3A56.378Z&observation=c3680212-31f0-46e2-9310-add4352e4cc7",children:"Public example trace in Langfuse"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"disable-langfuse-tracing",children:"Disable Langfuse Tracing"}),"\n",(0,s.jsx)(n.p,{children:"To disable the Langfuse integration, remove the environment variables you set in the previous steps and restart Langflow."}),"\n",(0,s.jsx)(n.h2,{id:"run-langfuse-and-langflow-with-docker-compose",children:"Run Langfuse and Langflow with Docker Compose"}),"\n",(0,s.jsx)(n.p,{children:"If you prefer to self-host Langfuse, you can run both services with Docker Compose."}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["In Langfuse, go to ",(0,s.jsx)(n.strong,{children:"Project Settings"}),", and then create a new set of API keys."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Copy the following API key information:"}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Secret Key"}),"\n",(0,s.jsx)(n.li,{children:"Public Key"}),"\n",(0,s.jsx)(n.li,{children:"Host URL"}),"\n"]}),"\n",(0,s.jsxs)(n.ol,{start:"3",children:["\n",(0,s.jsxs)(n.li,{children:["Add your Langflow API keys to your ",(0,s.jsx)(n.code,{children:"docker-compose.yml"})," file.\nAn example ",(0,s.jsx)(n.a,{href:"https://github.com/langflow-ai/langflow/blob/main/docker_example/docker-compose.yml",children:"docker-compose.yml"})," file is available in the Langflow GitHub repo."]}),"\n"]}),"\n",(0,s.jsx)(p.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"services",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" langflow",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" image",props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:"langflowai/langflow:latest ",props:{style:{color:"#A5D6FF"}}},{content:"# or another version tag on https://hub.docker.com/r/langflowai/langflow",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:" pull_policy",props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:"always ",props:{style:{color:"#A5D6FF"}}},{content:"# set to 'always' when using 'latest' image",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:" ports",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:'"7860:7860"',props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" depends_on",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:"postgres",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" environment",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:"LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" # This variable defines where the logs, file storage, monitor data and secret keys are stored.",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:"LANGFLOW_CONFIG_DIR=app/langflow",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:"LANGFUSE_SECRET_KEY=sk-...",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:"LANGFUSE_PUBLIC_KEY=pk-...",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:"LANGFUSE_HOST=https://us.cloud.langfuse.com",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" volumes",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:"langflow-data:/app/langflow",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" postgres",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" image",props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:"postgres:16",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" environment",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" POSTGRES_USER",props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:"langflow",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" POSTGRES_PASSWORD",props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:"langflow",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" POSTGRES_DB",props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:"langflow",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" ports",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:'"5432:5432"',props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:" volumes",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" - ",props:{style:{color:"#C9D1D9"}}},{content:"langflow-postgres:/var/lib/postgresql/data",props:{style:{color:"#A5D6FF"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"volumes",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" langflow-postgres",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:" langflow-data",props:{style:{color:"#7EE787"}}},{content:":",props:{style:{color:"#C9D1D9"}}}]}],lang:"yml"},annotations:[]}]}),"\n",(0,s.jsxs)(n.ol,{start:"4",children:["\n",(0,s.jsx)(n.li,{children:"Start the Docker container."}),"\n"]}),"\n",(0,s.jsx)(p.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"docker-compose up",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,s.jsxs)(n.ol,{start:"5",children:["\n",(0,s.jsxs)(n.li,{children:["To confirm Langfuse is connected to your Langflow container, run this command.\nEnsure you've exported ",(0,s.jsx)(n.code,{children:"LANGFLOW_HOST"})," as a variable in your terminal."]}),"\n"]}),"\n",(0,s.jsx)(p.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"docker ",props:{style:{color:"#FFA657"}}},{content:"compose exec langflow python ",props:{style:{color:"#A5D6FF"}}},{content:"-c ",props:{style:{color:"#79C0FF"}}},{content:"\"import requests, os; addr = os.environ.get('LANGFUSE_HOST'); print(addr); res = requests.get(addr, timeout=5); print(res.status_code)\"",props:{style:{color:"#A5D6FF"}}}]}],lang:"sh"},annotations:[]}]}),"\n",(0,s.jsx)(n.p,{children:"An output similar to this indicates success:"}),"\n",(0,s.jsx)(p.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"https://us.cloud.langfuse.com",props:{}}]},{tokens:[{content:"200",props:{}}]}],lang:"text"},annotations:[]}]})]})}function m(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}function y(e,n){throw new Error("Expected "+(n?"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/e6c6a4d2.0be77287.js b/assets/js/e6c6a4d2.964336ad.js similarity index 55% rename from assets/js/e6c6a4d2.0be77287.js rename to assets/js/e6c6a4d2.964336ad.js index 5d048b6c19..7469fd3e20 100644 --- a/assets/js/e6c6a4d2.0be77287.js +++ b/assets/js/e6c6a4d2.964336ad.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.3.2"},"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 \\"sedaa\\": \\"\\",\\n \\"ullamcob\\": \\"\\"\\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.3.2"},"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 \\"ad8_\\": \\"\\",\\n \\"deserunt9b0\\": \\"\\"\\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.55474012.js b/assets/js/f66238ae.4d9b6bc5.js similarity index 99% rename from assets/js/f66238ae.55474012.js rename to assets/js/f66238ae.4d9b6bc5.js index ce9b9fc777..e8c1b1b31f 100644 --- a/assets/js/f66238ae.55474012.js +++ b/assets/js/f66238ae.4d9b6bc5.js @@ -1 +1 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[3391],{42638:(e,t,r)=>{r.d(t,{A:()=>s});const s=r.p+"assets/images/component-hcd-example-flow-b82057600ce5e9e4a0f7ea0a61dcbf7f.png"},45175:(e,t,r)=>{r.r(t),r.d(t,{CH:()=>o,assets:()=>a,chCodeConfig:()=>x,contentTitle:()=>l,default:()=>p,frontMatter:()=>h,metadata:()=>s,toc:()=>j});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),i=r(24754),c=r(84443);const h={title:"Vector stores",slug:"/components-vector-stores"},l="Vector store components in Langflow",a={},o={annotations:i.hk,Code:i.Cy},x={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},j=[{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:"Hybrid search",id:"hybrid-search",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:"Graph RAG",id:"graph-rag",level:2},{value:"Inputs",id:"inputs-9",level:3},{value:"Outputs",id:"outputs-9",level:3},{value:"Hyper-Converged Database (HCD) Vector Store",id:"hyper-converged-database-hcd-vector-store",level:2},{value:"Inputs",id:"inputs-10",level:3},{value:"Outputs",id:"outputs-10",level:3},{value:"Milvus",id:"milvus",level:2},{value:"Inputs",id:"inputs-11",level:3},{value:"Outputs",id:"outputs-11",level:3},{value:"MongoDB Atlas",id:"mongodb-atlas",level:2},{value:"Inputs",id:"inputs-12",level:3},{value:"Outputs",id:"outputs-12",level:3},{value:"Opensearch",id:"opensearch",level:2},{value:"Inputs",id:"inputs-13",level:3},{value:"Outputs",id:"outputs-13",level:3},{value:"PGVector",id:"pgvector",level:2},{value:"Inputs",id:"inputs-14",level:3},{value:"Outputs",id:"outputs-14",level:3},{value:"Pinecone",id:"pinecone",level:2},{value:"Inputs",id:"inputs-15",level:3},{value:"Outputs",id:"outputs-15",level:3},{value:"Qdrant",id:"qdrant",level:2},{value:"Inputs",id:"inputs-16",level:3},{value:"Outputs",id:"outputs-16",level:3},{value:"Redis",id:"redis",level:2},{value:"Inputs",id:"inputs-17",level:3},{value:"Outputs",id:"outputs-17",level:3},{value:"Supabase",id:"supabase",level:2},{value:"Inputs",id:"inputs-18",level:3},{value:"Outputs",id:"outputs-18",level:3},{value:"Upstash",id:"upstash",level:2},{value:"Inputs",id:"inputs-19",level:3},{value:"Outputs",id:"outputs-19",level:3},{value:"Vectara",id:"vectara",level:2},{value:"Inputs",id:"inputs-20",level:3},{value:"Outputs",id:"outputs-20",level:3},{value:"Vectara Search",id:"vectara-search",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 u(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",ul:"ul",...(0,n.R)(),...e.components};return o||m("CH",!1),o.Code||m("CH.Code",!0),(0,d.jsxs)(d.Fragment,{children:[(0,d.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,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:"2894",height:"1014"})}),"\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.h3,{id:"hybrid-search",children:"Hybrid search"}),"\n",(0,d.jsxs)(t.p,{children:["The ",(0,d.jsx)(t.strong,{children:"Astra DB"})," component includes ",(0,d.jsx)(t.strong,{children:"hybrid search"}),", which is enabled by default."]}),"\n",(0,d.jsxs)(t.p,{children:["The component fields related to hybrid search are ",(0,d.jsx)(t.strong,{children:"Search Query"}),", ",(0,d.jsx)(t.strong,{children:"Lexical Terms"}),", and ",(0,d.jsx)(t.strong,{children:"Reranker"}),"."]}),"\n",(0,d.jsxs)(t.ul,{children:["\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(t.strong,{children:"Search Query"})," finds results by vector similarity."]}),"\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(t.strong,{children:"Lexical Terms"})," is a comma-separated string of keywords, like ",(0,d.jsx)(t.code,{children:"features, data, attributes, characteristics"}),"."]}),"\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(t.strong,{children:"Reranker"})," is the re-ranker model used in the hybrid search.\nThe re-ranker model is ",(0,d.jsx)(t.code,{children:"nvidia/llama-3.2-nv.reranker"}),"."]}),"\n"]}),"\n",(0,d.jsxs)(t.p,{children:[(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/hybrid-search.html",children:"Hybrid search"})," performs a vector similarity search and a lexical search, compares the results of both searches, and then returns the most relevant results overall."]}),"\n",(0,d.jsxs)(t.p,{children:["To use ",(0,d.jsx)(t.strong,{children:"Hybrid search"})," in the ",(0,d.jsx)(t.strong,{children:"Astra DB"})," component, do the following:"]}),"\n",(0,d.jsxs)(t.ol,{children:["\n",(0,d.jsxs)(t.li,{children:["Click ",(0,d.jsx)(t.strong,{children:"New Flow"})," > ",(0,d.jsx)(t.strong,{children:"RAG"})," > ",(0,d.jsx)(t.strong,{children:"Hybrid Search RAG"}),"."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"OpenAI"})," model component, add your ",(0,d.jsx)(t.strong,{children:"OpenAI API key"}),"."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"Astra DB"})," vector store component, add your ",(0,d.jsx)(t.strong,{children:"Astra DB Application Token"}),"."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"Database"})," field, select your database."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"Collection"})," field, select the collection you want to search.\nYou must enable support for hybrid search when you create the collection."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"Playground"}),", enter a question about your data, such as ",(0,d.jsx)(t.code,{children:"What are the features of my data?"}),"\nYour query is sent to two components: an ",(0,d.jsx)(t.strong,{children:"OpenAI"})," model component and the ",(0,d.jsx)(t.strong,{children:"Astra DB"})," vector database component.\nThe ",(0,d.jsx)(t.strong,{children:"OpenAI"})," component contains a prompt for creating the lexical query from your input:"]}),"\n"]}),"\n",(0,d.jsx)(o.Code,{codeConfig:x,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"You are a database query planner that takes a user's requests, and then converts to a search against the subject matter in question.",props:{}}]},{tokens:[{content:"You should convert the query into:",props:{}}]},{tokens:[{content:"1. A list of keywords to use against a Lucene text analyzer index, no more than 4. Strictly unigrams.",props:{}}]},{tokens:[{content:"2. A question to use as the basis for a QA embedding engine.",props:{}}]},{tokens:[{content:"Avoid common keywords associated with the user's subject matter.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,d.jsxs)(t.ol,{start:"7",children:["\n",(0,d.jsxs)(t.li,{children:["To view the keywords and questions the ",(0,d.jsx)(t.strong,{children:"OpenAI"})," component generates from your collection, in the ",(0,d.jsx)(t.strong,{children:"OpenAI"})," component, click ",(0,d.jsx)(c.A,{name:"TextSearch","aria-label":"Inspect icon"}),"."]}),"\n"]}),"\n",(0,d.jsx)(o.Code,{codeConfig:x,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"1. Keywords: features, data, attributes, characteristics",props:{}}]},{tokens:[{content:"2. Question: What characteristics can be identified in my data?",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,d.jsxs)(t.ol,{start:"8",children:["\n",(0,d.jsxs)(t.li,{children:["\n",(0,d.jsxs)(t.p,{children:["To view the ",(0,d.jsx)(t.a,{href:"/concepts-objects#dataframe-object",children:"DataFrame"})," generated from the ",(0,d.jsx)(t.strong,{children:"OpenAI"})," component's response, in the ",(0,d.jsx)(t.strong,{children:"Structured Output"})," component, click ",(0,d.jsx)(c.A,{name:"TextSearch","aria-label":"Inspect icon"}),".\nThe DataFrame is passed to a ",(0,d.jsx)(t.strong,{children:"Parser"})," component, which parses the contents of the ",(0,d.jsx)(t.strong,{children:"Keywords"})," column into a string."]}),"\n",(0,d.jsxs)(t.p,{children:["This string of comma-separated words is passed to the ",(0,d.jsx)(t.strong,{children:"Lexical Terms"})," port of the ",(0,d.jsx)(t.strong,{children:"Astra DB"})," component.\nNote that the ",(0,d.jsx)(t.strong,{children:"Search Query"})," port of the Astra DB port is connected to the ",(0,d.jsx)(t.strong,{children:"Chat Input"})," component from step 6.\nThis ",(0,d.jsx)(t.strong,{children:"Search Query"})," is vectorized, and both the ",(0,d.jsx)(t.strong,{children:"Search Query"})," and ",(0,d.jsx)(t.strong,{children:"Lexical Terms"})," content are sent to the reranker at the ",(0,d.jsx)(t.code,{children:"find_and_rerank"})," endpoint."]}),"\n",(0,d.jsxs)(t.p,{children:["The reranker compares the vector search results against the string of terms from the lexical search.\nThe highest-ranked results of your hybrid search are returned to the ",(0,d.jsx)(t.strong,{children:"Playground"}),"."]}),"\n"]}),"\n"]}),"\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/hybrid-search.html",children:"DataStax 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:"graph-rag",children:"Graph RAG"}),"\n",(0,d.jsxs)(t.p,{children:["This component performs Graph RAG (Retrieval Augmented Generation) traversal in a vector store, enabling graph-based document retrieval.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://datastax.github.io/graph-rag/",children:"Graph RAG documentation"}),"."]}),"\n",(0,d.jsxs)(t.p,{children:["For an example flow, see the ",(0,d.jsx)(t.strong,{children:"Graph RAG"})," template."]}),"\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:"embedding_model"}),(0,d.jsx)(t.td,{children:"Embedding Model"}),(0,d.jsxs)(t.td,{children:["Specify the embedding model. This is not required for collections embedded with ",(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html",children:"Astra vectorize"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store Connection"}),(0,d.jsx)(t.td,{children:"Connection to the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"edge_definition"}),(0,d.jsx)(t.td,{children:"Edge Definition"}),(0,d.jsxs)(t.td,{children:["Edge definition for the graph traversal. For more information, see the ",(0,d.jsx)(t.a,{href:"https://datastax.github.io/graph-rag/reference/graph_retriever/edges/",children:"GraphRAG documentation"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"strategy"}),(0,d.jsx)(t.td,{children:"Traversal Strategies"}),(0,d.jsx)(t.td,{children:"The strategy to use for graph traversal. Strategy options are dynamically loaded from available strategies."})]}),(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:"The query to search for in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"graphrag_strategy_kwargs"}),(0,d.jsx)(t.td,{children:"Strategy Parameters"}),(0,d.jsxs)(t.td,{children:["Optional dictionary of additional parameters for the retrieval strategy. For more information, see the ",(0,d.jsx)(t.a,{href:"https://datastax.github.io/graph-rag/reference/graph_retriever/strategies/",children:"strategy documentation"}),"."]})]})]})]}),"\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:"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.jsxs)(t.td,{children:["Results of the graph-based document retrieval as a list of ",(0,d.jsx)(t.a,{href:"/concepts-objects#data-object",children:"Data"})," objects."]})]})})]}),"\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.jsxs)(t.p,{children:["To use the HCD vector store, add your deployment's collection name, username, password, and HCD Data API endpoint.\nThe endpoint must be formatted like ",(0,d.jsx)(t.code,{children:"http[s]://**DOMAIN_NAME** or **IP_ADDRESS**[:port]"}),", for example, ",(0,d.jsx)(t.code,{children:"http://192.0.2.250:8181"}),"."]}),"\n",(0,d.jsxs)(t.p,{children:["Replace ",(0,d.jsx)(t.strong,{children:"DOMAIN_NAME"})," or ",(0,d.jsx)(t.strong,{children:"IP_ADDRESS"})," with the domain name or IP address of your HCD Data API connection."]}),"\n",(0,d.jsx)(t.p,{children:"To use the HCD vector store for embeddings ingestion, connect it to an embeddings model and a file loader:"}),"\n",(0,d.jsx)(t.p,{children:(0,d.jsx)(t.img,{alt:"HCD vector store embeddings ingestion",src:r(42638).A+"",width:"2294",height:"1684"})}),"\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:"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-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:"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-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:"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-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.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-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:"mongodb_atlas_cluster_uri"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The connection URI for your MongoDB Atlas cluster (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"enable_mtls"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Enable mutual TLS authentication (default: false)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"mongodb_atlas_client_cert"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Client certificate combined with private key for mTLS authentication (required if mTLS is enabled)"})]}),(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:"The name of the database to use (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:"The name of the collection to use (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:"The name of the Atlas Search index, it should be a Vector Search (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"insert_mode"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'How to insert new documents into the collection (options: "append", "overwrite", default: "append")'})]}),(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 model 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 similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_field"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The field to index (default: "embedding")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"filter_field"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The field to filter the index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_dimensions"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Embedding context length (default: 1536)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"similarity"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The method used to measure similarity between vectors (options: "cosine", "euclidean", "dotProduct", default: "cosine")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"quantization"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Quantization reduces memory costs by converting 32-bit floats to smaller data types (options: "scalar", "binary")'})]})]})]}),"\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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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.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-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:"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-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:"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:"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 p(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(u,{...e})}):u(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.")}},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-3d2d30b0bfef46783987efd758fc5497.png"},84443:(e,t,r)=>{r.d(t,{A:()=>n});r(96540);var s=r(64058),d=r(74848);function n(e){let{name:t,...r}=e;const n=s[t];return n?(0,d.jsx)(n,{...r}):null}}}]); \ No newline at end of file +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[3391],{42638:(e,t,r)=>{r.d(t,{A:()=>s});const s=r.p+"assets/images/component-hcd-example-flow-b82057600ce5e9e4a0f7ea0a61dcbf7f.png"},45175:(e,t,r)=>{r.r(t),r.d(t,{CH:()=>o,assets:()=>a,chCodeConfig:()=>x,contentTitle:()=>l,default:()=>p,frontMatter:()=>h,metadata:()=>s,toc:()=>j});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),i=r(24754),c=r(84443);const h={title:"Vector stores",slug:"/components-vector-stores"},l="Vector store components in Langflow",a={},o={annotations:i.hk,Code:i.Cy},x={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},j=[{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:"Hybrid search",id:"hybrid-search",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:"Graph RAG",id:"graph-rag",level:2},{value:"Inputs",id:"inputs-9",level:3},{value:"Outputs",id:"outputs-9",level:3},{value:"Hyper-Converged Database (HCD) Vector Store",id:"hyper-converged-database-hcd-vector-store",level:2},{value:"Inputs",id:"inputs-10",level:3},{value:"Outputs",id:"outputs-10",level:3},{value:"Milvus",id:"milvus",level:2},{value:"Inputs",id:"inputs-11",level:3},{value:"Outputs",id:"outputs-11",level:3},{value:"MongoDB Atlas",id:"mongodb-atlas",level:2},{value:"Inputs",id:"inputs-12",level:3},{value:"Outputs",id:"outputs-12",level:3},{value:"Opensearch",id:"opensearch",level:2},{value:"Inputs",id:"inputs-13",level:3},{value:"Outputs",id:"outputs-13",level:3},{value:"PGVector",id:"pgvector",level:2},{value:"Inputs",id:"inputs-14",level:3},{value:"Outputs",id:"outputs-14",level:3},{value:"Pinecone",id:"pinecone",level:2},{value:"Inputs",id:"inputs-15",level:3},{value:"Outputs",id:"outputs-15",level:3},{value:"Qdrant",id:"qdrant",level:2},{value:"Inputs",id:"inputs-16",level:3},{value:"Outputs",id:"outputs-16",level:3},{value:"Redis",id:"redis",level:2},{value:"Inputs",id:"inputs-17",level:3},{value:"Outputs",id:"outputs-17",level:3},{value:"Supabase",id:"supabase",level:2},{value:"Inputs",id:"inputs-18",level:3},{value:"Outputs",id:"outputs-18",level:3},{value:"Upstash",id:"upstash",level:2},{value:"Inputs",id:"inputs-19",level:3},{value:"Outputs",id:"outputs-19",level:3},{value:"Vectara",id:"vectara",level:2},{value:"Inputs",id:"inputs-20",level:3},{value:"Outputs",id:"outputs-20",level:3},{value:"Vectara Search",id:"vectara-search",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 u(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",ul:"ul",...(0,n.R)(),...e.components};return o||m("CH",!1),o.Code||m("CH.Code",!0),(0,d.jsxs)(d.Fragment,{children:[(0,d.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,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:"2734",height:"1402"})}),"\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.h3,{id:"hybrid-search",children:"Hybrid search"}),"\n",(0,d.jsxs)(t.p,{children:["The ",(0,d.jsx)(t.strong,{children:"Astra DB"})," component includes ",(0,d.jsx)(t.strong,{children:"hybrid search"}),", which is enabled by default."]}),"\n",(0,d.jsxs)(t.p,{children:["The component fields related to hybrid search are ",(0,d.jsx)(t.strong,{children:"Search Query"}),", ",(0,d.jsx)(t.strong,{children:"Lexical Terms"}),", and ",(0,d.jsx)(t.strong,{children:"Reranker"}),"."]}),"\n",(0,d.jsxs)(t.ul,{children:["\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(t.strong,{children:"Search Query"})," finds results by vector similarity."]}),"\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(t.strong,{children:"Lexical Terms"})," is a comma-separated string of keywords, like ",(0,d.jsx)(t.code,{children:"features, data, attributes, characteristics"}),"."]}),"\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(t.strong,{children:"Reranker"})," is the re-ranker model used in the hybrid search.\nThe re-ranker model is ",(0,d.jsx)(t.code,{children:"nvidia/llama-3.2-nv.reranker"}),"."]}),"\n"]}),"\n",(0,d.jsxs)(t.p,{children:[(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/hybrid-search.html",children:"Hybrid search"})," performs a vector similarity search and a lexical search, compares the results of both searches, and then returns the most relevant results overall."]}),"\n",(0,d.jsxs)(t.p,{children:["To use ",(0,d.jsx)(t.strong,{children:"Hybrid search"})," in the ",(0,d.jsx)(t.strong,{children:"Astra DB"})," component, do the following:"]}),"\n",(0,d.jsxs)(t.ol,{children:["\n",(0,d.jsxs)(t.li,{children:["Click ",(0,d.jsx)(t.strong,{children:"New Flow"})," > ",(0,d.jsx)(t.strong,{children:"RAG"})," > ",(0,d.jsx)(t.strong,{children:"Hybrid Search RAG"}),"."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"OpenAI"})," model component, add your ",(0,d.jsx)(t.strong,{children:"OpenAI API key"}),"."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"Astra DB"})," vector store component, add your ",(0,d.jsx)(t.strong,{children:"Astra DB Application Token"}),"."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"Database"})," field, select your database."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"Collection"})," field, select the collection you want to search.\nYou must enable support for hybrid search when you create the collection."]}),"\n",(0,d.jsxs)(t.li,{children:["In the ",(0,d.jsx)(t.strong,{children:"Playground"}),", enter a question about your data, such as ",(0,d.jsx)(t.code,{children:"What are the features of my data?"}),"\nYour query is sent to two components: an ",(0,d.jsx)(t.strong,{children:"OpenAI"})," model component and the ",(0,d.jsx)(t.strong,{children:"Astra DB"})," vector database component.\nThe ",(0,d.jsx)(t.strong,{children:"OpenAI"})," component contains a prompt for creating the lexical query from your input:"]}),"\n"]}),"\n",(0,d.jsx)(o.Code,{codeConfig:x,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"You are a database query planner that takes a user's requests, and then converts to a search against the subject matter in question.",props:{}}]},{tokens:[{content:"You should convert the query into:",props:{}}]},{tokens:[{content:"1. A list of keywords to use against a Lucene text analyzer index, no more than 4. Strictly unigrams.",props:{}}]},{tokens:[{content:"2. A question to use as the basis for a QA embedding engine.",props:{}}]},{tokens:[{content:"Avoid common keywords associated with the user's subject matter.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,d.jsxs)(t.ol,{start:"7",children:["\n",(0,d.jsxs)(t.li,{children:["To view the keywords and questions the ",(0,d.jsx)(t.strong,{children:"OpenAI"})," component generates from your collection, in the ",(0,d.jsx)(t.strong,{children:"OpenAI"})," component, click ",(0,d.jsx)(c.A,{name:"TextSearch","aria-label":"Inspect icon"}),"."]}),"\n"]}),"\n",(0,d.jsx)(o.Code,{codeConfig:x,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"1. Keywords: features, data, attributes, characteristics",props:{}}]},{tokens:[{content:"2. Question: What characteristics can be identified in my data?",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,d.jsxs)(t.ol,{start:"8",children:["\n",(0,d.jsxs)(t.li,{children:["\n",(0,d.jsxs)(t.p,{children:["To view the ",(0,d.jsx)(t.a,{href:"/concepts-objects#dataframe-object",children:"DataFrame"})," generated from the ",(0,d.jsx)(t.strong,{children:"OpenAI"})," component's response, in the ",(0,d.jsx)(t.strong,{children:"Structured Output"})," component, click ",(0,d.jsx)(c.A,{name:"TextSearch","aria-label":"Inspect icon"}),".\nThe DataFrame is passed to a ",(0,d.jsx)(t.strong,{children:"Parser"})," component, which parses the contents of the ",(0,d.jsx)(t.strong,{children:"Keywords"})," column into a string."]}),"\n",(0,d.jsxs)(t.p,{children:["This string of comma-separated words is passed to the ",(0,d.jsx)(t.strong,{children:"Lexical Terms"})," port of the ",(0,d.jsx)(t.strong,{children:"Astra DB"})," component.\nNote that the ",(0,d.jsx)(t.strong,{children:"Search Query"})," port of the Astra DB port is connected to the ",(0,d.jsx)(t.strong,{children:"Chat Input"})," component from step 6.\nThis ",(0,d.jsx)(t.strong,{children:"Search Query"})," is vectorized, and both the ",(0,d.jsx)(t.strong,{children:"Search Query"})," and ",(0,d.jsx)(t.strong,{children:"Lexical Terms"})," content are sent to the reranker at the ",(0,d.jsx)(t.code,{children:"find_and_rerank"})," endpoint."]}),"\n",(0,d.jsxs)(t.p,{children:["The reranker compares the vector search results against the string of terms from the lexical search.\nThe highest-ranked results of your hybrid search are returned to the ",(0,d.jsx)(t.strong,{children:"Playground"}),"."]}),"\n"]}),"\n"]}),"\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/hybrid-search.html",children:"DataStax 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:"graph-rag",children:"Graph RAG"}),"\n",(0,d.jsxs)(t.p,{children:["This component performs Graph RAG (Retrieval Augmented Generation) traversal in a vector store, enabling graph-based document retrieval.\nFor more information, see the ",(0,d.jsx)(t.a,{href:"https://datastax.github.io/graph-rag/",children:"Graph RAG documentation"}),"."]}),"\n",(0,d.jsxs)(t.p,{children:["For an example flow, see the ",(0,d.jsx)(t.strong,{children:"Graph RAG"})," template."]}),"\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:"embedding_model"}),(0,d.jsx)(t.td,{children:"Embedding Model"}),(0,d.jsxs)(t.td,{children:["Specify the embedding model. This is not required for collections embedded with ",(0,d.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html",children:"Astra vectorize"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"vector_store"}),(0,d.jsx)(t.td,{children:"Vector Store Connection"}),(0,d.jsx)(t.td,{children:"Connection to the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"edge_definition"}),(0,d.jsx)(t.td,{children:"Edge Definition"}),(0,d.jsxs)(t.td,{children:["Edge definition for the graph traversal. For more information, see the ",(0,d.jsx)(t.a,{href:"https://datastax.github.io/graph-rag/reference/graph_retriever/edges/",children:"GraphRAG documentation"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"strategy"}),(0,d.jsx)(t.td,{children:"Traversal Strategies"}),(0,d.jsx)(t.td,{children:"The strategy to use for graph traversal. Strategy options are dynamically loaded from available strategies."})]}),(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:"The query to search for in the vector store."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"graphrag_strategy_kwargs"}),(0,d.jsx)(t.td,{children:"Strategy Parameters"}),(0,d.jsxs)(t.td,{children:["Optional dictionary of additional parameters for the retrieval strategy. For more information, see the ",(0,d.jsx)(t.a,{href:"https://datastax.github.io/graph-rag/reference/graph_retriever/strategies/",children:"strategy documentation"}),"."]})]})]})]}),"\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:"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.jsxs)(t.td,{children:["Results of the graph-based document retrieval as a list of ",(0,d.jsx)(t.a,{href:"/concepts-objects#data-object",children:"Data"})," objects."]})]})})]}),"\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.jsxs)(t.p,{children:["To use the HCD vector store, add your deployment's collection name, username, password, and HCD Data API endpoint.\nThe endpoint must be formatted like ",(0,d.jsx)(t.code,{children:"http[s]://**DOMAIN_NAME** or **IP_ADDRESS**[:port]"}),", for example, ",(0,d.jsx)(t.code,{children:"http://192.0.2.250:8181"}),"."]}),"\n",(0,d.jsxs)(t.p,{children:["Replace ",(0,d.jsx)(t.strong,{children:"DOMAIN_NAME"})," or ",(0,d.jsx)(t.strong,{children:"IP_ADDRESS"})," with the domain name or IP address of your HCD Data API connection."]}),"\n",(0,d.jsx)(t.p,{children:"To use the HCD vector store for embeddings ingestion, connect it to an embeddings model and a file loader:"}),"\n",(0,d.jsx)(t.p,{children:(0,d.jsx)(t.img,{alt:"HCD vector store embeddings ingestion",src:r(42638).A+"",width:"2294",height:"1684"})}),"\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:"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-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:"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-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:"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-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.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-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:"mongodb_atlas_cluster_uri"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The connection URI for your MongoDB Atlas cluster (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"enable_mtls"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Enable mutual TLS authentication (default: false)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"mongodb_atlas_client_cert"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Client certificate combined with private key for mTLS authentication (required if mTLS is enabled)"})]}),(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:"The name of the database to use (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:"The name of the collection to use (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:"The name of the Atlas Search index, it should be a Vector Search (required)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"insert_mode"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'How to insert new documents into the collection (options: "append", "overwrite", default: "append")'})]}),(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 model 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 similarity search (default: 4)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"index_field"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The field to index (default: "embedding")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"filter_field"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The field to filter the index"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"number_dimensions"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Embedding context length (default: 1536)"})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"similarity"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The method used to measure similarity between vectors (options: "cosine", "euclidean", "dotProduct", default: "cosine")'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"quantization"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'Quantization reduces memory costs by converting 32-bit floats to smaller data types (options: "scalar", "binary")'})]})]})]}),"\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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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:"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-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.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-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:"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-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:"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:"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 p(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(u,{...e})}):u(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.")}},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-3201f1ea2f13a5f8a87652c81a5386c6.png"},84443:(e,t,r)=>{r.d(t,{A:()=>n});r(96540);var s=r(64058),d=r(74848);function n(e){let{name:t,...r}=e;const n=s[t];return n?(0,d.jsx)(n,{...r}):null}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.ca585053.js b/assets/js/runtime~main.3fd877df.js similarity index 97% rename from assets/js/runtime~main.ca585053.js rename to assets/js/runtime~main.3fd877df.js index c8a250f42f..fe1eb9cd02 100644 --- a/assets/js/runtime~main.ca585053.js +++ b/assets/js/runtime~main.3fd877df.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,f,c,d,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,c,d)=>{if(!f){var b=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,c,d]},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,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var b={};a=a||[null,f({}),f([]),f(f)];for(var t=2&c&&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(d,b),d},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",265:"d3ca7a96",321:"6e1a9721",417:"93e16042",444:"14f42f9e",730:"86b18dd0",762:"4af57a32",768:"6d684b63",787:"672a0eba",800:"a4c0ff01",868:"dc7b1ef3",944:"d3600190",957:"c141421f",964:"05d835b4",982:"021496c4",1022:"8a61012d",1035:"24d32e91",1067:"4b04f5bc",1079:"f5818e36",1185:"c2de64b8",1227:"647965d5",1394:"8054effa",1488:"ac3cc3f5",1500:"1e9025f7",1556:"264ffc80",1563:"3ef76b56",1567:"22dd74f7",1625:"92852ade",1690:"41a97a99",1841:"de94873f",1845:"2ab0d4f5",1956:"fe6f9601",2008:"7ad92a12",2073:"7b7db446",2097:"338a6f8e",2138:"1a4e3797",2273:"e756fa26",2288:"faf7ef88",2551:"394022bb",2624:"8ff68e6f",2657:"a3ab51d1",2777:"b3ba68b4",2818:"a9b73094",3040:"2148ae42",3110:"6a2beaac",3247:"bd7ab245",3327:"6aa941bb",3347:"b5257597",3391:"f66238ae",3576:"64045095",3694:"c2b1730c",3740:"f113d167",3758:"a963b3cb",3859:"7679ca6e",3917:"c8dad5f1",3964:"829ff4d2",3968:"0e5205b8",4028:"c2ebd62a",4046:"9ac856ad",4133:"5cf11f26",4526:"8311683c",4615:"6801371f",4633:"c563aec0",4645:"fef056e9",4778:"e189eece",4784:"438e4337",4806:"fba42286",4841:"8298c1cb",4891:"ca67d85f",4930:"d2ad385b",4931:"a9b4f8aa",4954:"a71efd4a",4973:"2d2c4fcb",5107:"10156854",5109:"3542ed72",5138:"309383dc",5179:"41e3c105",5195:"b1ab2a41",5281:"a0511a5b",5284:"64ca91f1",5304:"7dbff1af",5339:"9447891f",5395:"98058046",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",5894:"f178e9b3",5979:"a3a1efc2",6003:"4d983c8e",6008:"445668ec",6053:"dfc50084",6066:"3f19c00a",6080:"4d15791b",6147:"ab17fe15",6201:"9ab37888",6214:"b1220dbd",6281:"c96ce3ed",6332:"873508e7",6350:"188ee668",6419:"96eb0e67",6445:"9fb9a766",6473:"4c5e977b",6511:"320c2db0",6550:"05fbee1a",6559:"6f13807a",6682:"5a6d6120",6890:"8b85e1d0",6920:"c817e236",6949:"b36bb719",7088:"91282a5c",7098:"a7bd4aaa",7108:"688feaef",7118:"4ce9199e",7142:"d0c1f670",7159:"aecfdd3d",7165:"547df4a1",7211:"cacdc615",7338:"c39b795e",7339:"7a774ddf",7408:"3ae94ad4",7453:"fdefa9a8",7462:"921b5fc1",7472:"744aaf8b",7507:"be76515e",7713:"3a82b27e",7894:"0f44198a",8031:"25bf2d67",8054:"85112c90",8064:"274fd934",8085:"cc44357e",8102:"019dbd1f",8184:"222029a9",8188:"ecd67556",8196:"75a9e1e0",8208:"216e3ed7",8245:"5e834a3c",8298:"153f2b62",8304:"73d1a090",8356:"c6a5eaec",8401:"17896441",8504:"e6c6a4d2",8598:"44dfcf75",8661:"8f774222",8679:"3705a9c0",8921:"45476a69",8927:"ae68aa8b",8929:"172b3cfb",8953:"adef6868",8977:"e5eb12ce",9036:"850d3674",9048:"a94703ab",9099:"b1bc5ffe",9126:"169603ea",9141:"19136925",9306:"667d0790",9371:"991799c5",9431:"cd8dccb5",9453:"913561e8",9455:"54175a6c",9476:"57c9a2b8",9479:"4e038a6a",9483:"7823fa72",9555:"dedd5914",9619:"29b8e27a",9642:"eae80ce0",9647:"5e95c892",9681:"5ff9f4db",9705:"ee3b5967",9751:"25255263",9789:"537e1953",9836:"b3c57e4b",9905:"43df3697"}[e]||e)+"."+{51:"41498688",145:"6d71cecb",191:"a08bfa01",230:"618133d8",265:"9eebedef",321:"bc87c671",417:"5cf29549",444:"66891820",730:"e24ec551",756:"240f2e9c",762:"f26eeca8",768:"91efce6f",787:"08ca0fba",800:"15dc0b4e",868:"047712b5",900:"f83a9a5d",944:"ad8345f5",957:"da9e1d2b",964:"143e1806",982:"9853829e",1022:"f9bfa397",1035:"fad9d746",1067:"1fc10d8a",1079:"812abec2",1185:"e5af6fb6",1227:"efa89a5e",1394:"c6bf3115",1488:"0fd73816",1500:"5f3a86c0",1556:"7436a87a",1563:"892a275e",1567:"915e2f60",1625:"14cdddbe",1690:"5b40fedc",1809:"2ba71c72",1841:"2b011ec8",1845:"432262b8",1956:"6e125142",2008:"7ff881a6",2073:"5e92d106",2097:"e2eb4320",2138:"02023697",2273:"fc3be664",2288:"c860cf3b",2551:"0813cead",2624:"be6ae30b",2657:"e301f410",2777:"637f7970",2818:"5350eff1",3040:"5d7a37e8",3042:"f1fb0b14",3110:"0cb7cba6",3247:"833af9d5",3327:"adbee5b9",3347:"387fa1fc",3391:"55474012",3576:"40d2c1c6",3694:"5982d997",3740:"dcdb4594",3758:"2c11871c",3859:"acb07400",3917:"5b041d0c",3964:"33002324",3968:"6d49ed88",3997:"ff54fe17",4028:"6050659f",4046:"f7eca8e9",4058:"44d6af12",4133:"56fe7f12",4526:"46dbc5ed",4615:"82ac6ca0",4633:"2670172c",4645:"84194b9e",4778:"1fa775b4",4784:"71d387c2",4806:"0f85ccb8",4841:"51cb3f60",4891:"0ef69a4f",4930:"dfda092c",4931:"1f0853a9",4954:"fd1a8596",4973:"76d07199",5107:"58f6e79c",5109:"534de25b",5138:"49cc192b",5179:"4f8b011f",5195:"bebcd954",5281:"9ddc9e59",5284:"d0977c2c",5304:"11ff4120",5339:"dac8b1d8",5395:"155b5cc5",5425:"7f5d538f",5467:"f6ad2d17",5474:"96903b46",5475:"d430c771",5513:"660ad024",5514:"fc300b5a",5562:"10eed1f2",5572:"f7be1bf9",5628:"42006513",5634:"f0694192",5647:"1223eeb9",5673:"b35cb4ee",5716:"ba9361e3",5718:"31276840",5742:"60b1d5b2",5772:"163a4f9c",5865:"a4ef00d2",5866:"6a945ff6",5883:"ef8a3be4",5894:"ac90a84f",5979:"e466f08f",6003:"77fae6eb",6008:"5253986f",6053:"cc7c3771",6066:"076e5cc7",6080:"7e45c875",6147:"0bd0c5ae",6201:"01e4e67e",6214:"b3a5b04f",6281:"8dfd970e",6332:"c7e90294",6350:"1d344846",6419:"d0f0fba0",6445:"8573a1d8",6473:"b5e32ff9",6511:"ba1e7472",6550:"5ba8d59c",6559:"74aa28ab",6682:"ef396306",6890:"af012556",6920:"34191f6c",6949:"ffd67006",7088:"1f49a1ed",7098:"d9bb61a0",7108:"6c6d838d",7118:"67e70c99",7142:"1d67c07a",7159:"c7233aca",7165:"c8204949",7211:"2931db6c",7338:"02a99984",7339:"76155fed",7408:"fe273d8c",7453:"bacf1bcd",7462:"ce0affd3",7472:"534a72f5",7507:"049e4cb9",7713:"e1701edb",7894:"dccf5bfa",8031:"d39ee16a",8054:"b01ef0b9",8064:"72f6ed59",8085:"5f2b7600",8102:"415d8aa0",8158:"20de8b80",8184:"136844f0",8188:"4091a08c",8196:"cc4d06ae",8208:"4eba57d0",8245:"d723ee5e",8298:"985267e8",8304:"2790419b",8356:"9e262031",8401:"bf953603",8504:"0be77287",8598:"70cf61ed",8661:"cf70ad92",8679:"5cab7dcc",8913:"47209f3b",8921:"0aaacb65",8927:"9d9ff467",8929:"99703724",8953:"f5324ebd",8977:"637025ee",9036:"d3b02d7f",9048:"810f8ad8",9099:"032f6f65",9126:"81c883fb",9141:"d3838c09",9306:"8ecb1a62",9371:"f59bb3b9",9431:"d336aa34",9453:"087d9888",9455:"d3aec949",9476:"8043725a",9479:"be5b109a",9483:"b762982f",9555:"5e96820a",9619:"c627a58b",9642:"167c6e45",9647:"e6d9c2b6",9681:"1f0feb15",9705:"53ff8b44",9729:"2f32331e",9751:"3ce911cc",9789:"02bccaec",9836:"69fcbaa3",9905:"2bba93b4"}[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),c={},d="langflow-docs:",r.l=(e,a,f,b)=>{if(c[e])c[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 d=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.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={10156854:"5107",17896441:"8401",19136925:"9141",25255263:"9751",64045095:"3576",98058046:"5395",b7251463:"51","0be1d5fe":"145",c643a6d5:"191",bc63ae25:"230",d3ca7a96:"265","6e1a9721":"321","93e16042":"417","14f42f9e":"444","86b18dd0":"730","4af57a32":"762","6d684b63":"768","672a0eba":"787",a4c0ff01:"800",dc7b1ef3:"868",d3600190:"944",c141421f:"957","05d835b4":"964","021496c4":"982","8a61012d":"1022","24d32e91":"1035","4b04f5bc":"1067",f5818e36:"1079",c2de64b8:"1185","647965d5":"1227","8054effa":"1394",ac3cc3f5:"1488","1e9025f7":"1500","264ffc80":"1556","3ef76b56":"1563","22dd74f7":"1567","92852ade":"1625","41a97a99":"1690",de94873f:"1841","2ab0d4f5":"1845",fe6f9601:"1956","7ad92a12":"2008","7b7db446":"2073","338a6f8e":"2097","1a4e3797":"2138",e756fa26:"2273",faf7ef88:"2288","394022bb":"2551","8ff68e6f":"2624",a3ab51d1:"2657",b3ba68b4:"2777",a9b73094:"2818","2148ae42":"3040","6a2beaac":"3110",bd7ab245:"3247","6aa941bb":"3327",b5257597:"3347",f66238ae:"3391",c2b1730c:"3694",f113d167:"3740",a963b3cb:"3758","7679ca6e":"3859",c8dad5f1:"3917","829ff4d2":"3964","0e5205b8":"3968",c2ebd62a:"4028","9ac856ad":"4046","5cf11f26":"4133","8311683c":"4526","6801371f":"4615",c563aec0:"4633",fef056e9:"4645",e189eece:"4778","438e4337":"4784",fba42286:"4806","8298c1cb":"4841",ca67d85f:"4891",d2ad385b:"4930",a9b4f8aa:"4931",a71efd4a:"4954","2d2c4fcb":"4973","3542ed72":"5109","309383dc":"5138","41e3c105":"5179",b1ab2a41:"5195",a0511a5b:"5281","64ca91f1":"5284","7dbff1af":"5304","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",f178e9b3:"5894",a3a1efc2:"5979","4d983c8e":"6003","445668ec":"6008",dfc50084:"6053","3f19c00a":"6066","4d15791b":"6080",ab17fe15:"6147","9ab37888":"6201",b1220dbd:"6214",c96ce3ed:"6281","873508e7":"6332","188ee668":"6350","96eb0e67":"6419","9fb9a766":"6445","4c5e977b":"6473","320c2db0":"6511","05fbee1a":"6550","6f13807a":"6559","5a6d6120":"6682","8b85e1d0":"6890",c817e236:"6920",b36bb719:"6949","91282a5c":"7088",a7bd4aaa:"7098","688feaef":"7108","4ce9199e":"7118",d0c1f670:"7142",aecfdd3d:"7159","547df4a1":"7165",cacdc615:"7211",c39b795e:"7338","7a774ddf":"7339","3ae94ad4":"7408",fdefa9a8:"7453","921b5fc1":"7462","744aaf8b":"7472",be76515e:"7507","3a82b27e":"7713","0f44198a":"7894","25bf2d67":"8031","85112c90":"8054","274fd934":"8064",cc44357e:"8085","019dbd1f":"8102","222029a9":"8184",ecd67556:"8188","75a9e1e0":"8196","216e3ed7":"8208","5e834a3c":"8245","153f2b62":"8298","73d1a090":"8304",c6a5eaec:"8356",e6c6a4d2:"8504","44dfcf75":"8598","8f774222":"8661","3705a9c0":"8679","45476a69":"8921",ae68aa8b:"8927","172b3cfb":"8929",adef6868:"8953",e5eb12ce:"8977","850d3674":"9036",a94703ab:"9048",b1bc5ffe:"9099","169603ea":"9126","667d0790":"9306","991799c5":"9371",cd8dccb5:"9431","913561e8":"9453","54175a6c":"9455","57c9a2b8":"9476","4e038a6a":"9479","7823fa72":"9483",dedd5914:"9555","29b8e27a":"9619",eae80ce0:"9642","5e95c892":"9647","5ff9f4db":"9681",ee3b5967:"9705","537e1953":"9789",b3c57e4b:"9836","43df3697":"9905"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,f)=>{var c=r.o(e,a)?e[a]:void 0;if(0!==c)if(c)f.push(c[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>c=e[a]=[f,d]));f.push(c[2]=d);var b=r.p+r.u(a),t=new Error;r.l(b,(f=>{if(r.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),b=f&&f.target&&f.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",t.name="ChunkLoadError",t.type=d,t.request=b,c[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,b=f[0],t=f[1],o=f[2],n=0;if(b.some((a=>0!==e[a]))){for(c in t)r.o(t,c)&&(r.m[c]=t[c]);if(o)var i=o(r)}for(a&&a(f);n{"use strict";var e,a,f,c,d,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,c,d)=>{if(!f){var b=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,c,d]},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,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var b={};a=a||[null,f({}),f([]),f(f)];for(var t=2&c&&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(d,b),d},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",265:"d3ca7a96",321:"6e1a9721",417:"93e16042",444:"14f42f9e",730:"86b18dd0",762:"4af57a32",768:"6d684b63",787:"672a0eba",800:"a4c0ff01",868:"dc7b1ef3",944:"d3600190",957:"c141421f",964:"05d835b4",982:"021496c4",1022:"8a61012d",1035:"24d32e91",1067:"4b04f5bc",1079:"f5818e36",1185:"c2de64b8",1227:"647965d5",1394:"8054effa",1488:"ac3cc3f5",1500:"1e9025f7",1556:"264ffc80",1563:"3ef76b56",1567:"22dd74f7",1625:"92852ade",1690:"41a97a99",1841:"de94873f",1845:"2ab0d4f5",1956:"fe6f9601",2008:"7ad92a12",2073:"7b7db446",2097:"338a6f8e",2138:"1a4e3797",2273:"e756fa26",2288:"faf7ef88",2551:"394022bb",2624:"8ff68e6f",2657:"a3ab51d1",2777:"b3ba68b4",2818:"a9b73094",3040:"2148ae42",3110:"6a2beaac",3247:"bd7ab245",3327:"6aa941bb",3347:"b5257597",3391:"f66238ae",3576:"64045095",3694:"c2b1730c",3740:"f113d167",3758:"a963b3cb",3859:"7679ca6e",3917:"c8dad5f1",3964:"829ff4d2",3968:"0e5205b8",4028:"c2ebd62a",4046:"9ac856ad",4133:"5cf11f26",4526:"8311683c",4615:"6801371f",4633:"c563aec0",4645:"fef056e9",4778:"e189eece",4784:"438e4337",4806:"fba42286",4841:"8298c1cb",4891:"ca67d85f",4930:"d2ad385b",4931:"a9b4f8aa",4954:"a71efd4a",4973:"2d2c4fcb",5107:"10156854",5109:"3542ed72",5138:"309383dc",5179:"41e3c105",5195:"b1ab2a41",5281:"a0511a5b",5284:"64ca91f1",5304:"7dbff1af",5339:"9447891f",5395:"98058046",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",5894:"f178e9b3",5979:"a3a1efc2",6003:"4d983c8e",6008:"445668ec",6053:"dfc50084",6066:"3f19c00a",6080:"4d15791b",6147:"ab17fe15",6201:"9ab37888",6214:"b1220dbd",6281:"c96ce3ed",6332:"873508e7",6350:"188ee668",6419:"96eb0e67",6445:"9fb9a766",6473:"4c5e977b",6511:"320c2db0",6550:"05fbee1a",6559:"6f13807a",6682:"5a6d6120",6890:"8b85e1d0",6920:"c817e236",6949:"b36bb719",7088:"91282a5c",7098:"a7bd4aaa",7108:"688feaef",7118:"4ce9199e",7142:"d0c1f670",7159:"aecfdd3d",7165:"547df4a1",7211:"cacdc615",7338:"c39b795e",7339:"7a774ddf",7408:"3ae94ad4",7453:"fdefa9a8",7462:"921b5fc1",7472:"744aaf8b",7507:"be76515e",7713:"3a82b27e",7894:"0f44198a",8031:"25bf2d67",8054:"85112c90",8064:"274fd934",8085:"cc44357e",8102:"019dbd1f",8184:"222029a9",8188:"ecd67556",8196:"75a9e1e0",8208:"216e3ed7",8245:"5e834a3c",8298:"153f2b62",8304:"73d1a090",8356:"c6a5eaec",8401:"17896441",8504:"e6c6a4d2",8598:"44dfcf75",8661:"8f774222",8679:"3705a9c0",8921:"45476a69",8927:"ae68aa8b",8929:"172b3cfb",8953:"adef6868",8977:"e5eb12ce",9036:"850d3674",9048:"a94703ab",9099:"b1bc5ffe",9126:"169603ea",9141:"19136925",9306:"667d0790",9371:"991799c5",9431:"cd8dccb5",9453:"913561e8",9455:"54175a6c",9476:"57c9a2b8",9479:"4e038a6a",9483:"7823fa72",9555:"dedd5914",9619:"29b8e27a",9642:"eae80ce0",9647:"5e95c892",9681:"5ff9f4db",9705:"ee3b5967",9751:"25255263",9789:"537e1953",9836:"b3c57e4b",9905:"43df3697"}[e]||e)+"."+{51:"41498688",145:"6d71cecb",191:"a08bfa01",230:"618133d8",265:"9eebedef",321:"bc87c671",417:"5cf29549",444:"66891820",730:"e24ec551",756:"240f2e9c",762:"f26eeca8",768:"91efce6f",787:"08ca0fba",800:"15dc0b4e",868:"047712b5",900:"f83a9a5d",944:"ad8345f5",957:"da9e1d2b",964:"143e1806",982:"9853829e",1022:"f9bfa397",1035:"fad9d746",1067:"1fc10d8a",1079:"812abec2",1185:"e5af6fb6",1227:"efa89a5e",1394:"c6bf3115",1488:"0fd73816",1500:"5f3a86c0",1556:"7436a87a",1563:"892a275e",1567:"dc682ff7",1625:"14cdddbe",1690:"5b40fedc",1809:"2ba71c72",1841:"2b011ec8",1845:"bcbaf5b9",1956:"6e125142",2008:"7ff881a6",2073:"5e92d106",2097:"e2eb4320",2138:"02023697",2273:"fc3be664",2288:"c860cf3b",2551:"0813cead",2624:"be6ae30b",2657:"e301f410",2777:"637f7970",2818:"5350eff1",3040:"5d7a37e8",3042:"f1fb0b14",3110:"0cb7cba6",3247:"833af9d5",3327:"adbee5b9",3347:"387fa1fc",3391:"4d9b6bc5",3576:"40d2c1c6",3694:"5982d997",3740:"dcdb4594",3758:"2c11871c",3859:"acb07400",3917:"5b041d0c",3964:"33002324",3968:"6d49ed88",3997:"ff54fe17",4028:"6050659f",4046:"f7eca8e9",4058:"44d6af12",4133:"56fe7f12",4526:"46dbc5ed",4615:"82ac6ca0",4633:"2670172c",4645:"84194b9e",4778:"1fa775b4",4784:"71d387c2",4806:"0f85ccb8",4841:"51cb3f60",4891:"0ef69a4f",4930:"dfda092c",4931:"1f0853a9",4954:"fd1a8596",4973:"76d07199",5107:"58f6e79c",5109:"534de25b",5138:"49cc192b",5179:"4f8b011f",5195:"bebcd954",5281:"9ddc9e59",5284:"d0977c2c",5304:"11ff4120",5339:"dac8b1d8",5395:"155b5cc5",5425:"7f5d538f",5467:"f6ad2d17",5474:"96903b46",5475:"d430c771",5513:"660ad024",5514:"fc300b5a",5562:"10eed1f2",5572:"f7be1bf9",5628:"42006513",5634:"f0694192",5647:"1223eeb9",5673:"b35cb4ee",5716:"ba9361e3",5718:"31276840",5742:"60b1d5b2",5772:"163a4f9c",5865:"a4ef00d2",5866:"6a945ff6",5883:"ef8a3be4",5894:"ac90a84f",5979:"e466f08f",6003:"77fae6eb",6008:"5253986f",6053:"cc7c3771",6066:"076e5cc7",6080:"7e45c875",6147:"0bd0c5ae",6201:"01e4e67e",6214:"b3a5b04f",6281:"8dfd970e",6332:"c7e90294",6350:"1d344846",6419:"d0f0fba0",6445:"8573a1d8",6473:"b5e32ff9",6511:"ba1e7472",6550:"5ba8d59c",6559:"74aa28ab",6682:"ef396306",6890:"af012556",6920:"34191f6c",6949:"ffd67006",7088:"1f49a1ed",7098:"d9bb61a0",7108:"6c6d838d",7118:"67e70c99",7142:"1d67c07a",7159:"c7233aca",7165:"c8204949",7211:"2931db6c",7338:"02a99984",7339:"76155fed",7408:"fe273d8c",7453:"bacf1bcd",7462:"ce0affd3",7472:"534a72f5",7507:"049e4cb9",7713:"e1701edb",7894:"dccf5bfa",8031:"d39ee16a",8054:"b01ef0b9",8064:"72f6ed59",8085:"5f2b7600",8102:"415d8aa0",8158:"20de8b80",8184:"136844f0",8188:"4091a08c",8196:"cc4d06ae",8208:"4eba57d0",8245:"d723ee5e",8298:"985267e8",8304:"2790419b",8356:"ff51d102",8401:"bf953603",8504:"964336ad",8598:"70cf61ed",8661:"cf70ad92",8679:"5cab7dcc",8913:"47209f3b",8921:"0aaacb65",8927:"9d9ff467",8929:"99703724",8953:"f5324ebd",8977:"637025ee",9036:"d3b02d7f",9048:"810f8ad8",9099:"032f6f65",9126:"81c883fb",9141:"d3838c09",9306:"8ecb1a62",9371:"f59bb3b9",9431:"d336aa34",9453:"087d9888",9455:"d3aec949",9476:"8043725a",9479:"be5b109a",9483:"b762982f",9555:"5e96820a",9619:"c627a58b",9642:"167c6e45",9647:"e6d9c2b6",9681:"1f0feb15",9705:"53ff8b44",9729:"2f32331e",9751:"3ce911cc",9789:"02bccaec",9836:"69fcbaa3",9905:"2bba93b4"}[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),c={},d="langflow-docs:",r.l=(e,a,f,b)=>{if(c[e])c[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 d=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.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={10156854:"5107",17896441:"8401",19136925:"9141",25255263:"9751",64045095:"3576",98058046:"5395",b7251463:"51","0be1d5fe":"145",c643a6d5:"191",bc63ae25:"230",d3ca7a96:"265","6e1a9721":"321","93e16042":"417","14f42f9e":"444","86b18dd0":"730","4af57a32":"762","6d684b63":"768","672a0eba":"787",a4c0ff01:"800",dc7b1ef3:"868",d3600190:"944",c141421f:"957","05d835b4":"964","021496c4":"982","8a61012d":"1022","24d32e91":"1035","4b04f5bc":"1067",f5818e36:"1079",c2de64b8:"1185","647965d5":"1227","8054effa":"1394",ac3cc3f5:"1488","1e9025f7":"1500","264ffc80":"1556","3ef76b56":"1563","22dd74f7":"1567","92852ade":"1625","41a97a99":"1690",de94873f:"1841","2ab0d4f5":"1845",fe6f9601:"1956","7ad92a12":"2008","7b7db446":"2073","338a6f8e":"2097","1a4e3797":"2138",e756fa26:"2273",faf7ef88:"2288","394022bb":"2551","8ff68e6f":"2624",a3ab51d1:"2657",b3ba68b4:"2777",a9b73094:"2818","2148ae42":"3040","6a2beaac":"3110",bd7ab245:"3247","6aa941bb":"3327",b5257597:"3347",f66238ae:"3391",c2b1730c:"3694",f113d167:"3740",a963b3cb:"3758","7679ca6e":"3859",c8dad5f1:"3917","829ff4d2":"3964","0e5205b8":"3968",c2ebd62a:"4028","9ac856ad":"4046","5cf11f26":"4133","8311683c":"4526","6801371f":"4615",c563aec0:"4633",fef056e9:"4645",e189eece:"4778","438e4337":"4784",fba42286:"4806","8298c1cb":"4841",ca67d85f:"4891",d2ad385b:"4930",a9b4f8aa:"4931",a71efd4a:"4954","2d2c4fcb":"4973","3542ed72":"5109","309383dc":"5138","41e3c105":"5179",b1ab2a41:"5195",a0511a5b:"5281","64ca91f1":"5284","7dbff1af":"5304","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",f178e9b3:"5894",a3a1efc2:"5979","4d983c8e":"6003","445668ec":"6008",dfc50084:"6053","3f19c00a":"6066","4d15791b":"6080",ab17fe15:"6147","9ab37888":"6201",b1220dbd:"6214",c96ce3ed:"6281","873508e7":"6332","188ee668":"6350","96eb0e67":"6419","9fb9a766":"6445","4c5e977b":"6473","320c2db0":"6511","05fbee1a":"6550","6f13807a":"6559","5a6d6120":"6682","8b85e1d0":"6890",c817e236:"6920",b36bb719:"6949","91282a5c":"7088",a7bd4aaa:"7098","688feaef":"7108","4ce9199e":"7118",d0c1f670:"7142",aecfdd3d:"7159","547df4a1":"7165",cacdc615:"7211",c39b795e:"7338","7a774ddf":"7339","3ae94ad4":"7408",fdefa9a8:"7453","921b5fc1":"7462","744aaf8b":"7472",be76515e:"7507","3a82b27e":"7713","0f44198a":"7894","25bf2d67":"8031","85112c90":"8054","274fd934":"8064",cc44357e:"8085","019dbd1f":"8102","222029a9":"8184",ecd67556:"8188","75a9e1e0":"8196","216e3ed7":"8208","5e834a3c":"8245","153f2b62":"8298","73d1a090":"8304",c6a5eaec:"8356",e6c6a4d2:"8504","44dfcf75":"8598","8f774222":"8661","3705a9c0":"8679","45476a69":"8921",ae68aa8b:"8927","172b3cfb":"8929",adef6868:"8953",e5eb12ce:"8977","850d3674":"9036",a94703ab:"9048",b1bc5ffe:"9099","169603ea":"9126","667d0790":"9306","991799c5":"9371",cd8dccb5:"9431","913561e8":"9453","54175a6c":"9455","57c9a2b8":"9476","4e038a6a":"9479","7823fa72":"9483",dedd5914:"9555","29b8e27a":"9619",eae80ce0:"9642","5e95c892":"9647","5ff9f4db":"9681",ee3b5967:"9705","537e1953":"9789",b3c57e4b:"9836","43df3697":"9905"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,f)=>{var c=r.o(e,a)?e[a]:void 0;if(0!==c)if(c)f.push(c[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>c=e[a]=[f,d]));f.push(c[2]=d);var b=r.p+r.u(a),t=new Error;r.l(b,(f=>{if(r.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),b=f&&f.target&&f.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",t.name="ChunkLoadError",t.type=d,t.request=b,c[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,b=f[0],t=f[1],o=f[2],n=0;if(b.some((a=>0!==e[a]))){for(c in t)r.o(t,c)&&(r.m[c]=t[c]);if(o)var i=o(r)}for(a&&a(f);n - + diff --git a/components-agents.html b/components-agents.html index 46272f6cd9..a0c5003be2 100644 --- a/components-agents.html +++ b/components-agents.html @@ -21,7 +21,7 @@ - + diff --git a/components-bundle-components.html b/components-bundle-components.html index b7dd13dec2..c08b87998f 100644 --- a/components-bundle-components.html +++ b/components-bundle-components.html @@ -21,7 +21,7 @@ - + diff --git a/components-custom-components.html b/components-custom-components.html index e2011d527b..eca0898dcd 100644 --- a/components-custom-components.html +++ b/components-custom-components.html @@ -21,7 +21,7 @@ - + diff --git a/components-data.html b/components-data.html index e2b3eb8dce..3d882649ca 100644 --- a/components-data.html +++ b/components-data.html @@ -21,7 +21,7 @@ - + diff --git a/components-embedding-models.html b/components-embedding-models.html index f9b63470ff..e10c7c858f 100644 --- a/components-embedding-models.html +++ b/components-embedding-models.html @@ -21,7 +21,7 @@ - + diff --git a/components-helpers.html b/components-helpers.html index 0e1a0e5968..9717a8e4d0 100644 --- a/components-helpers.html +++ b/components-helpers.html @@ -21,7 +21,7 @@ - + diff --git a/components-io.html b/components-io.html index 879429c785..756bd9dcd9 100644 --- a/components-io.html +++ b/components-io.html @@ -21,7 +21,7 @@ - + diff --git a/components-loaders.html b/components-loaders.html index 50be7dd43f..5c052cd2c2 100644 --- a/components-loaders.html +++ b/components-loaders.html @@ -21,7 +21,7 @@ - + diff --git a/components-logic.html b/components-logic.html index 73e9e63cf6..7b32ad9b44 100644 --- a/components-logic.html +++ b/components-logic.html @@ -21,7 +21,7 @@ - + diff --git a/components-memories.html b/components-memories.html index 7c29007585..9df50e58b1 100644 --- a/components-memories.html +++ b/components-memories.html @@ -21,7 +21,7 @@ - + diff --git a/components-models.html b/components-models.html index 66f6a0ec42..a710078914 100644 --- a/components-models.html +++ b/components-models.html @@ -21,7 +21,7 @@ - + diff --git a/components-processing.html b/components-processing.html index 56b8f32bd7..086fd8f1e7 100644 --- a/components-processing.html +++ b/components-processing.html @@ -21,7 +21,7 @@ - + diff --git a/components-prompts.html b/components-prompts.html index 26e4f7e04a..b404f45b19 100644 --- a/components-prompts.html +++ b/components-prompts.html @@ -21,7 +21,7 @@ - + diff --git a/components-tools.html b/components-tools.html index b59dc50d9f..749a87b6bb 100644 --- a/components-tools.html +++ b/components-tools.html @@ -21,7 +21,7 @@ - + diff --git a/components-vector-stores.html b/components-vector-stores.html index 794f5bcfc0..435a7e58cf 100644 --- a/components-vector-stores.html +++ b/components-vector-stores.html @@ -21,7 +21,7 @@ - + @@ -42,7 +42,7 @@

Use a vector store component in a flow​

This example uses the 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 model component, and stores them in the connected Astra DB database.

This vector data can then be retrieved for workloads like Retrieval Augmented Generation.

-

+

The user's chat input is embedded and compared to the vectors embedded during document ingestion for a similarity search. The results are output from the vector database component as a Data object and parsed into text. This text fills the {context} variable in the Prompt component, which informs the Open AI model component's responses.

diff --git a/concepts-components.html b/concepts-components.html index 398967f81c..346372886b 100644 --- a/concepts-components.html +++ b/concepts-components.html @@ -21,7 +21,7 @@ - + diff --git a/concepts-file-management.html b/concepts-file-management.html index dbce10d6dc..8cb4d93eb7 100644 --- a/concepts-file-management.html +++ b/concepts-file-management.html @@ -21,7 +21,7 @@ - + diff --git a/concepts-flows.html b/concepts-flows.html index bd1b014cd7..42fa13edac 100644 --- a/concepts-flows.html +++ b/concepts-flows.html @@ -21,7 +21,7 @@ - + diff --git a/concepts-objects.html b/concepts-objects.html index 7fb2e0c089..221746234a 100644 --- a/concepts-objects.html +++ b/concepts-objects.html @@ -21,7 +21,7 @@ - + diff --git a/concepts-overview.html b/concepts-overview.html index 37010b0848..e6d34a148d 100644 --- a/concepts-overview.html +++ b/concepts-overview.html @@ -21,7 +21,7 @@ - + diff --git a/concepts-playground.html b/concepts-playground.html index 415d57c6a5..b79e68c4bb 100644 --- a/concepts-playground.html +++ b/concepts-playground.html @@ -21,7 +21,7 @@ - + diff --git a/concepts-publish.html b/concepts-publish.html index 17b761cc50..e8a21480a2 100644 --- a/concepts-publish.html +++ b/concepts-publish.html @@ -21,7 +21,7 @@ - + diff --git a/concepts-voice-mode.html b/concepts-voice-mode.html index 2d25570a71..4d294448d0 100644 --- a/concepts-voice-mode.html +++ b/concepts-voice-mode.html @@ -21,7 +21,7 @@ - + diff --git a/configuration-api-keys.html b/configuration-api-keys.html index 3a17e4145a..70ae6e3a68 100644 --- a/configuration-api-keys.html +++ b/configuration-api-keys.html @@ -21,7 +21,7 @@ - + diff --git a/configuration-authentication.html b/configuration-authentication.html index 5573f06a07..eb494fab2b 100644 --- a/configuration-authentication.html +++ b/configuration-authentication.html @@ -21,7 +21,7 @@ - + diff --git a/configuration-cli.html b/configuration-cli.html index ba34344f1a..be29eebba0 100644 --- a/configuration-cli.html +++ b/configuration-cli.html @@ -21,7 +21,7 @@ - + diff --git a/configuration-custom-database.html b/configuration-custom-database.html index 3deec8667e..496f587e56 100644 --- a/configuration-custom-database.html +++ b/configuration-custom-database.html @@ -21,7 +21,7 @@ - + diff --git a/configuration-global-variables.html b/configuration-global-variables.html index d071825f9e..bed949e92d 100644 --- a/configuration-global-variables.html +++ b/configuration-global-variables.html @@ -21,7 +21,7 @@ - + diff --git a/contributing-community.html b/contributing-community.html index 9dac630966..84f5e8d0eb 100644 --- a/contributing-community.html +++ b/contributing-community.html @@ -21,7 +21,7 @@ - + diff --git a/contributing-component-tests.html b/contributing-component-tests.html index 26efaa066e..f1593dc9ff 100644 --- a/contributing-component-tests.html +++ b/contributing-component-tests.html @@ -21,7 +21,7 @@ - + diff --git a/contributing-components.html b/contributing-components.html index 4c009cd861..c5f813bc44 100644 --- a/contributing-components.html +++ b/contributing-components.html @@ -21,7 +21,7 @@ - + diff --git a/contributing-github-discussions.html b/contributing-github-discussions.html index 330e7c8036..55d3631296 100644 --- a/contributing-github-discussions.html +++ b/contributing-github-discussions.html @@ -21,7 +21,7 @@ - + diff --git a/contributing-github-issues.html b/contributing-github-issues.html index 72d5386e75..b013d10627 100644 --- a/contributing-github-issues.html +++ b/contributing-github-issues.html @@ -21,7 +21,7 @@ - + diff --git a/contributing-how-to-contribute.html b/contributing-how-to-contribute.html index 64d87acc11..1612eb31ff 100644 --- a/contributing-how-to-contribute.html +++ b/contributing-how-to-contribute.html @@ -21,7 +21,7 @@ - + diff --git a/contributing-telemetry.html b/contributing-telemetry.html index c78d681e96..eafbc572c3 100644 --- a/contributing-telemetry.html +++ b/contributing-telemetry.html @@ -21,7 +21,7 @@ - + diff --git a/deployment-docker.html b/deployment-docker.html index acdd939437..da65723fee 100644 --- a/deployment-docker.html +++ b/deployment-docker.html @@ -21,7 +21,7 @@ - + diff --git a/deployment-gcp.html b/deployment-gcp.html index 9e5727fd60..e24e5e59e4 100644 --- a/deployment-gcp.html +++ b/deployment-gcp.html @@ -21,7 +21,7 @@ - + diff --git a/deployment-hugging-face-spaces.html b/deployment-hugging-face-spaces.html index 1635e921b6..fbe107ca1c 100644 --- a/deployment-hugging-face-spaces.html +++ b/deployment-hugging-face-spaces.html @@ -21,7 +21,7 @@ - + diff --git a/deployment-kubernetes.html b/deployment-kubernetes.html index 109ba599f1..139ba79732 100644 --- a/deployment-kubernetes.html +++ b/deployment-kubernetes.html @@ -21,7 +21,7 @@ - + diff --git a/deployment-overview.html b/deployment-overview.html index 2eb43c8729..bc9805b5f9 100644 --- a/deployment-overview.html +++ b/deployment-overview.html @@ -21,7 +21,7 @@ - + diff --git a/deployment-railway.html b/deployment-railway.html index 85cdc955b1..60f15d8aca 100644 --- a/deployment-railway.html +++ b/deployment-railway.html @@ -21,7 +21,7 @@ - + diff --git a/deployment-render.html b/deployment-render.html index 9ae73086b3..ee17cad4c6 100644 --- a/deployment-render.html +++ b/deployment-render.html @@ -21,7 +21,7 @@ - + diff --git a/develop-application.html b/develop-application.html index 609cf8c858..5cc1c79df2 100644 --- a/develop-application.html +++ b/develop-application.html @@ -21,7 +21,7 @@ - + diff --git a/develop-overview.html b/develop-overview.html index 8851d041d4..98c56028ee 100644 --- a/develop-overview.html +++ b/develop-overview.html @@ -21,7 +21,7 @@ - + diff --git a/document-qa.html b/document-qa.html index a929e2f88b..37a54579de 100644 --- a/document-qa.html +++ b/document-qa.html @@ -21,7 +21,7 @@ - + diff --git a/environment-variables.html b/environment-variables.html index b9291b3877..1fd2eb2f4b 100644 --- a/environment-variables.html +++ b/environment-variables.html @@ -21,7 +21,7 @@ - + diff --git a/get-started-installation.html b/get-started-installation.html index 89a3f85a55..6e5079ffc8 100644 --- a/get-started-installation.html +++ b/get-started-installation.html @@ -21,7 +21,7 @@ - + diff --git a/get-started-quickstart.html b/get-started-quickstart.html index d10a4bb9b9..3a652db504 100644 --- a/get-started-quickstart.html +++ b/get-started-quickstart.html @@ -21,7 +21,7 @@ - + diff --git a/img/vector-store-retrieval.png b/img/vector-store-retrieval.png index dabfce5410..12d5923726 100644 Binary files a/img/vector-store-retrieval.png and b/img/vector-store-retrieval.png differ diff --git a/index.html b/index.html index f94095aa47..9613eec392 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ - + diff --git a/install-custom-dependencies.html b/install-custom-dependencies.html index 78f3439ba2..a2a75f79df 100644 --- a/install-custom-dependencies.html +++ b/install-custom-dependencies.html @@ -21,7 +21,7 @@ - + diff --git a/integrations-apify.html b/integrations-apify.html index d97b649757..bc87dc5e2f 100644 --- a/integrations-apify.html +++ b/integrations-apify.html @@ -21,7 +21,7 @@ - + diff --git a/integrations-arize.html b/integrations-arize.html index 0c0a9e3e33..d5e0075343 100644 --- a/integrations-arize.html +++ b/integrations-arize.html @@ -21,7 +21,7 @@ - + diff --git a/integrations-assemblyai.html b/integrations-assemblyai.html index c09a7183ab..daf6c485ee 100644 --- a/integrations-assemblyai.html +++ b/integrations-assemblyai.html @@ -21,7 +21,7 @@ - + diff --git a/integrations-composio.html b/integrations-composio.html index 06a548cf7f..366be3807a 100644 --- a/integrations-composio.html +++ b/integrations-composio.html @@ -21,7 +21,7 @@ - + diff --git a/integrations-langfuse.html b/integrations-langfuse.html index 74d4710bf0..3d393703a2 100644 --- a/integrations-langfuse.html +++ b/integrations-langfuse.html @@ -3,7 +3,7 @@ -Langfuse | Langflow Documentation +Langfuse | Langflow Documentation @@ -21,7 +21,7 @@ - + @@ -36,47 +36,83 @@

Integrate Langfuse with Langflow

-

Langfuse is an observability and analytics platform specifically designed for language models and AI applications.

+

Langfuse (GitHub) is an open-source platform for LLM observability. It provides tracing and monitoring capabilities for AI applications, helping developers debug, analyze, and optimize their AI systems. Langfuse integrates with various tools and frameworks such as workflows builders like Langflow.

This guide walks you through how to configure Langflow to collect tracing data about your flow executions and automatically send the data to Langfuse.

+

Prerequisites​

-

Create Langfuse project credentials​

+

Set Langfuse credentials as environment variables​

  1. -

    In Langfuse, go to your project settings, and then create a new set of API keys.

    +

    In Langfuse, go to Project Settings, and then create a new set of API keys.

  2. Copy the following API key information:

    +
  3. +
  • Secret Key
  • Public Key
  • Host URL
- +
    +
  1. Set your Langfuse project credentials as environment variables in the same environment where you run Langflow.
-

Set your Langfuse credentials as environment variables​

-

Set your Langfuse project credentials as environment variables in the same environment where you run Langflow.

-

You can use any method you prefer to set environment variables. -The following examples show how to set environment variables in a terminal session (Linux or macOS) and in a command prompt session (Windows):

+

The following examples set environment variables in a Linux or macOS terminal session or in a Windows command prompt session: +Replace SECRET_KEY, PUBLIC_KEY, and HOST_URL with the API key information you copied from Langfuse.


_10
export LANGFUSE_SECRET_KEY=SECRET_KEY
_10
export LANGFUSE_PUBLIC_KEY=PUBLIC_KEY
_10
export LANGFUSE_HOST=HOST_URL

-

Replace SECRET_KEY, PUBLIC_KEY, and HOST_URL with the API key information you copied from Langfuse.

-

Start Langflow and run a flow​

+

Start Langflow and view traces in Langfuse​

  1. Start Langflow in the same terminal or environment where you set the environment variables:

_10
uv run langflow run

    -
  1. In Langflow, open an existing project, and then run a flow.
  2. +
  3. +

    In Langflow, open an existing project, and then run a flow.

    +

    Langflow automatically collects and sends tracing data about the flow execution to Langfuse.

    +
  4. +
  5. +

    View the collected data in your Langfuse project dashboard.

    +
-

View tracing data in Langfuse​

-

Langflow automatically collects and sends tracing data about the flow execution to Langfuse. -You can view the collected data in your Langfuse project dashboard.

-

Disable the Langfuse integration​

-

To disable the Langfuse integration, remove the environment variables you set in the previous steps and restart Langflow.