diff --git a/404.html b/404.html index ac2b5f430c..028d05f0ab 100644 --- a/404.html +++ b/404.html @@ -10,7 +10,7 @@ - + diff --git a/Components/components-memories.html b/Components/components-memories.html index e303b8d03a..c72f1904e4 100644 --- a/Components/components-memories.html +++ b/Components/components-memories.html @@ -10,7 +10,7 @@ - + diff --git a/Components/components-tools.html b/Components/components-tools.html index 15d023a1c0..f3f3f11973 100644 --- a/Components/components-tools.html +++ b/Components/components-tools.html @@ -10,7 +10,7 @@ - + diff --git a/Configuration/configuration-custom-database.html b/Configuration/configuration-custom-database.html index 7c568bc629..d6dc3299e4 100644 --- a/Configuration/configuration-custom-database.html +++ b/Configuration/configuration-custom-database.html @@ -10,7 +10,7 @@ - + diff --git a/agents-overview.html b/agents-overview.html index 114f980d4e..65980306a3 100644 --- a/agents-overview.html +++ b/agents-overview.html @@ -10,7 +10,7 @@ - + diff --git a/agents-tool-calling-agent-component.html b/agents-tool-calling-agent-component.html index ee5a3e3b3e..2339186422 100644 --- a/agents-tool-calling-agent-component.html +++ b/agents-tool-calling-agent-component.html @@ -10,7 +10,7 @@ - + diff --git a/api.html b/api.html index 2412b65bfd..b26659d7fa 100644 --- a/api.html +++ b/api.html @@ -10,7 +10,7 @@ - + diff --git a/api/add-user.html b/api/add-user.html index f0abdf1875..b31f261011 100644 --- a/api/add-user.html +++ b/api/add-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/auto-login.html b/api/auto-login.html index 1cfe2b516c..62050a8769 100644 --- a/api/auto-login.html +++ b/api/auto-login.html @@ -10,7 +10,7 @@ - + diff --git a/api/build-flow.html b/api/build-flow.html index 035b820917..dcbb3bc209 100644 --- a/api/build-flow.html +++ b/api/build-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/build-vertex-stream.html b/api/build-vertex-stream.html index 2cf44cca7a..d3061e93c3 100644 --- a/api/build-vertex-stream.html +++ b/api/build-vertex-stream.html @@ -10,7 +10,7 @@ - + diff --git a/api/build-vertex.html b/api/build-vertex.html index 5a4a5e84b8..2e496abea2 100644 --- a/api/build-vertex.html +++ b/api/build-vertex.html @@ -10,7 +10,7 @@ - + diff --git a/api/check-if-store-has-api-key.html b/api/check-if-store-has-api-key.html index fa33d64a3e..60603bb959 100644 --- a/api/check-if-store-has-api-key.html +++ b/api/check-if-store-has-api-key.html @@ -10,7 +10,7 @@ - + diff --git a/api/check-if-store-is-enabled.html b/api/check-if-store-is-enabled.html index ce6a8cc476..1e32280f9c 100644 --- a/api/check-if-store-is-enabled.html +++ b/api/check-if-store-is-enabled.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-api-key-route.html b/api/create-api-key-route.html index b368b3053c..4c5484e11a 100644 --- a/api/create-api-key-route.html +++ b/api/create-api-key-route.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-flow.html b/api/create-flow.html index 42524e3d72..44e3184bfe 100644 --- a/api/create-flow.html +++ b/api/create-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-flows.html b/api/create-flows.html index 734e96d7d5..1a9492ed2b 100644 --- a/api/create-flows.html +++ b/api/create-flows.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-folder.html b/api/create-folder.html index af57905f49..74d1000ce9 100644 --- a/api/create-folder.html +++ b/api/create-folder.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-upload-file.html b/api/create-upload-file.html index 3da96643d8..ce1dbdcfea 100644 --- a/api/create-upload-file.html +++ b/api/create-upload-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/create-variable.html b/api/create-variable.html index f1d398fac2..86a78926e0 100644 --- a/api/create-variable.html +++ b/api/create-variable.html @@ -10,7 +10,7 @@ - + diff --git a/api/custom-component-update.html b/api/custom-component-update.html index 65c941674b..b999e1560b 100644 --- a/api/custom-component-update.html +++ b/api/custom-component-update.html @@ -10,7 +10,7 @@ - + diff --git a/api/custom-component.html b/api/custom-component.html index b8fc54ee3e..74186e9b37 100644 --- a/api/custom-component.html +++ b/api/custom-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-api-key-route.html b/api/delete-api-key-route.html index d97ec17830..ed56cdc32e 100644 --- a/api/delete-api-key-route.html +++ b/api/delete-api-key-route.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-file.html b/api/delete-file.html index 6e76a2e865..680684a7d8 100644 --- a/api/delete-file.html +++ b/api/delete-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-flow.html b/api/delete-flow.html index 285c70e015..63d5f3cb10 100644 --- a/api/delete-flow.html +++ b/api/delete-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-folder.html b/api/delete-folder.html index b7db2d2c79..c797ff7209 100644 --- a/api/delete-folder.html +++ b/api/delete-folder.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-messages-session.html b/api/delete-messages-session.html index e6e36a08da..e6e09b8c55 100644 --- a/api/delete-messages-session.html +++ b/api/delete-messages-session.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-messages.html b/api/delete-messages.html index d0a55d246f..02294b30aa 100644 --- a/api/delete-messages.html +++ b/api/delete-messages.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-multiple-flows.html b/api/delete-multiple-flows.html index 1734a60d13..985fc3c29e 100644 --- a/api/delete-multiple-flows.html +++ b/api/delete-multiple-flows.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-user.html b/api/delete-user.html index c5f699b20b..0c87e3e700 100644 --- a/api/delete-user.html +++ b/api/delete-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-variable.html b/api/delete-variable.html index 67f0e7aa55..84427e5787 100644 --- a/api/delete-variable.html +++ b/api/delete-variable.html @@ -10,7 +10,7 @@ - + diff --git a/api/delete-vertex-builds.html b/api/delete-vertex-builds.html index 62bff0d2f1..12488841d6 100644 --- a/api/delete-vertex-builds.html +++ b/api/delete-vertex-builds.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-component.html b/api/download-component.html index 1f9227e58c..ef50773702 100644 --- a/api/download-component.html +++ b/api/download-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-file-1.html b/api/download-file-1.html index 2c9d433710..8f0d6d755f 100644 --- a/api/download-file-1.html +++ b/api/download-file-1.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-file.html b/api/download-file.html index 25e5fe8627..19a3eb87d7 100644 --- a/api/download-file.html +++ b/api/download-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-image.html b/api/download-image.html index 948d3c7682..349a2b53b5 100644 --- a/api/download-image.html +++ b/api/download-image.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-multiple-file.html b/api/download-multiple-file.html index 273e41b6f1..685d04147c 100644 --- a/api/download-multiple-file.html +++ b/api/download-multiple-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/download-profile-picture.html b/api/download-profile-picture.html index 6a3cfd5471..43f128f7b6 100644 --- a/api/download-profile-picture.html +++ b/api/download-profile-picture.html @@ -10,7 +10,7 @@ - + diff --git a/api/experimental-run-flow.html b/api/experimental-run-flow.html index bcb29aa17a..732475d920 100644 --- a/api/experimental-run-flow.html +++ b/api/experimental-run-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-all.html b/api/get-all.html index 342f322a8e..3cd7a8bd1e 100644 --- a/api/get-all.html +++ b/api/get-all.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-api-keys-route.html b/api/get-api-keys-route.html index d9354ad745..ddb09cb49d 100644 --- a/api/get-api-keys-route.html +++ b/api/get-api-keys-route.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-components.html b/api/get-components.html index 15fede524f..d1bb8a7982 100644 --- a/api/get-components.html +++ b/api/get-components.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-config.html b/api/get-config.html index 4179701413..702c40b815 100644 --- a/api/get-config.html +++ b/api/get-config.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-list-of-components-liked-by-user.html b/api/get-list-of-components-liked-by-user.html index 04b5c8649f..09016b744b 100644 --- a/api/get-list-of-components-liked-by-user.html +++ b/api/get-list-of-components-liked-by-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-messages.html b/api/get-messages.html index c90f214d7a..618907c0cc 100644 --- a/api/get-messages.html +++ b/api/get-messages.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-starter-projects.html b/api/get-starter-projects.html index ac5cd3a969..33e7c576fa 100644 --- a/api/get-starter-projects.html +++ b/api/get-starter-projects.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-tags.html b/api/get-tags.html index a5aa766d37..6e2777b594 100644 --- a/api/get-tags.html +++ b/api/get-tags.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-task-status.html b/api/get-task-status.html index 9d0f2a63fb..9505b23ebe 100644 --- a/api/get-task-status.html +++ b/api/get-task-status.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-transactions.html b/api/get-transactions.html index fa28b82d99..324ec4d235 100644 --- a/api/get-transactions.html +++ b/api/get-transactions.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-version.html b/api/get-version.html index d1e07f58d0..23bfa0817b 100644 --- a/api/get-version.html +++ b/api/get-version.html @@ -10,7 +10,7 @@ - + diff --git a/api/get-vertex-builds.html b/api/get-vertex-builds.html index ba59629e7a..2a6a427000 100644 --- a/api/get-vertex-builds.html +++ b/api/get-vertex-builds.html @@ -10,7 +10,7 @@ - + diff --git a/api/health-check.html b/api/health-check.html index 17d91d18f1..7ebb303dd1 100644 --- a/api/health-check.html +++ b/api/health-check.html @@ -10,7 +10,7 @@ - + diff --git a/api/health.html b/api/health.html index cb63bce1a6..1a81860cb9 100644 --- a/api/health.html +++ b/api/health.html @@ -10,7 +10,7 @@ - + diff --git a/api/like-component.html b/api/like-component.html index 406792a5f1..3dc54d6164 100644 --- a/api/like-component.html +++ b/api/like-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/list-files.html b/api/list-files.html index f86ca1210d..3d421216c2 100644 --- a/api/list-files.html +++ b/api/list-files.html @@ -10,7 +10,7 @@ - + diff --git a/api/list-profile-pictures.html b/api/list-profile-pictures.html index 4eb3add156..11ad3bd9ed 100644 --- a/api/list-profile-pictures.html +++ b/api/list-profile-pictures.html @@ -10,7 +10,7 @@ - + diff --git a/api/login-to-get-access-token.html b/api/login-to-get-access-token.html index 2259a262fc..70e39f7c26 100644 --- a/api/login-to-get-access-token.html +++ b/api/login-to-get-access-token.html @@ -10,7 +10,7 @@ - + diff --git a/api/logout.html b/api/logout.html index cffff5cfaa..8e1ddfbe12 100644 --- a/api/logout.html +++ b/api/logout.html @@ -10,7 +10,7 @@ - + diff --git a/api/logs.html b/api/logs.html index 17b4cb5fbf..4dafdedd3c 100644 --- a/api/logs.html +++ b/api/logs.html @@ -10,7 +10,7 @@ - + diff --git a/api/patch-user.html b/api/patch-user.html index ee6d1b2a1a..eca1566a8a 100644 --- a/api/patch-user.html +++ b/api/patch-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/post-validate-code.html b/api/post-validate-code.html index 04a4ffb766..02a2ae55ca 100644 --- a/api/post-validate-code.html +++ b/api/post-validate-code.html @@ -10,7 +10,7 @@ - + diff --git a/api/post-validate-prompt.html b/api/post-validate-prompt.html index 3799792df3..9d334dcda8 100644 --- a/api/post-validate-prompt.html +++ b/api/post-validate-prompt.html @@ -10,7 +10,7 @@ - + diff --git a/api/process-1.html b/api/process-1.html index 177bf67075..48c1ce15d3 100644 --- a/api/process-1.html +++ b/api/process-1.html @@ -10,7 +10,7 @@ - + diff --git a/api/process.html b/api/process.html index 521066ea25..be2bc05b6a 100644 --- a/api/process.html +++ b/api/process.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-all-users.html b/api/read-all-users.html index 7ff47abf4b..79a170963c 100644 --- a/api/read-all-users.html +++ b/api/read-all-users.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-basic-examples.html b/api/read-basic-examples.html index bee00dcc9f..71590fe715 100644 --- a/api/read-basic-examples.html +++ b/api/read-basic-examples.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-current-user.html b/api/read-current-user.html index f51c9e3908..361d731c43 100644 --- a/api/read-current-user.html +++ b/api/read-current-user.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-flow.html b/api/read-flow.html index 93ccbd62a0..a6085de5ac 100644 --- a/api/read-flow.html +++ b/api/read-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-flows.html b/api/read-flows.html index 6eec6f1055..39b4ed10c9 100644 --- a/api/read-flows.html +++ b/api/read-flows.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-folder.html b/api/read-folder.html index b4250b046d..f272d71462 100644 --- a/api/read-folder.html +++ b/api/read-folder.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-folders.html b/api/read-folders.html index e28041c08c..ecd0594830 100644 --- a/api/read-folders.html +++ b/api/read-folders.html @@ -10,7 +10,7 @@ - + diff --git a/api/read-variables.html b/api/read-variables.html index aab96bbecb..2b4494ffe9 100644 --- a/api/read-variables.html +++ b/api/read-variables.html @@ -10,7 +10,7 @@ - + diff --git a/api/refresh-token.html b/api/refresh-token.html index e808e22425..5ccbd98075 100644 --- a/api/refresh-token.html +++ b/api/refresh-token.html @@ -10,7 +10,7 @@ - + diff --git a/api/reset-password.html b/api/reset-password.html index 83cce2615b..4feda0f78f 100644 --- a/api/reset-password.html +++ b/api/reset-password.html @@ -10,7 +10,7 @@ - + diff --git a/api/retrieve-vertices-order.html b/api/retrieve-vertices-order.html index 854ea6d645..f039e5273d 100644 --- a/api/retrieve-vertices-order.html +++ b/api/retrieve-vertices-order.html @@ -10,7 +10,7 @@ - + diff --git a/api/save-store-api-key.html b/api/save-store-api-key.html index 108ba65b78..63dac97b0b 100644 --- a/api/save-store-api-key.html +++ b/api/save-store-api-key.html @@ -10,7 +10,7 @@ - + diff --git a/api/share-component.html b/api/share-component.html index 32c4d49a29..27c6da7b5b 100644 --- a/api/share-component.html +++ b/api/share-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/simplified-run-flow.html b/api/simplified-run-flow.html index 758a09bb8a..4fd41d7f3c 100644 --- a/api/simplified-run-flow.html +++ b/api/simplified-run-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/stream-logs.html b/api/stream-logs.html index 7797990df9..32bc81594f 100644 --- a/api/stream-logs.html +++ b/api/stream-logs.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-flow.html b/api/update-flow.html index 3004ee4ad8..0b2edf9953 100644 --- a/api/update-flow.html +++ b/api/update-flow.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-folder.html b/api/update-folder.html index 40d0bbfac5..ce37413277 100644 --- a/api/update-folder.html +++ b/api/update-folder.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-message.html b/api/update-message.html index 72dfedf47f..f893052165 100644 --- a/api/update-message.html +++ b/api/update-message.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-session-id.html b/api/update-session-id.html index d8878d9548..6d3ae76f5c 100644 --- a/api/update-session-id.html +++ b/api/update-session-id.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-shared-component.html b/api/update-shared-component.html index 836ba71586..a3d881bfb0 100644 --- a/api/update-shared-component.html +++ b/api/update-shared-component.html @@ -10,7 +10,7 @@ - + diff --git a/api/update-variable.html b/api/update-variable.html index 4264151b45..54348ad557 100644 --- a/api/update-variable.html +++ b/api/update-variable.html @@ -10,7 +10,7 @@ - + diff --git a/api/upload-file-1.html b/api/upload-file-1.html index bff904cc94..e48ef8a0ae 100644 --- a/api/upload-file-1.html +++ b/api/upload-file-1.html @@ -10,7 +10,7 @@ - + diff --git a/api/upload-file-2.html b/api/upload-file-2.html index 14cb21b590..d4a968c676 100644 --- a/api/upload-file-2.html +++ b/api/upload-file-2.html @@ -10,7 +10,7 @@ - + diff --git a/api/upload-file.html b/api/upload-file.html index 55a6e9471f..b8d7c771a7 100644 --- a/api/upload-file.html +++ b/api/upload-file.html @@ -10,7 +10,7 @@ - + diff --git a/api/webhook-run-flow.html b/api/webhook-run-flow.html index 3ddaa81097..fd591ab200 100644 --- a/api/webhook-run-flow.html +++ b/api/webhook-run-flow.html @@ -10,7 +10,7 @@ - + diff --git a/assets/images/quickstart-add-document-ingestion-f56698cb430d093e8de22c44e889668e.png b/assets/images/quickstart-add-document-ingestion-f56698cb430d093e8de22c44e889668e.png new file mode 100644 index 0000000000..c86cae967f Binary files /dev/null and b/assets/images/quickstart-add-document-ingestion-f56698cb430d093e8de22c44e889668e.png differ diff --git a/assets/images/quickstart-basic-prompt-no-connections-890ddb68578d3202095ac450e9620878.png b/assets/images/quickstart-basic-prompt-no-connections-890ddb68578d3202095ac450e9620878.png new file mode 100644 index 0000000000..a1083e5d80 Binary files /dev/null and b/assets/images/quickstart-basic-prompt-no-connections-890ddb68578d3202095ac450e9620878.png differ diff --git a/assets/images/starter-flow-basic-prompting-08b0a690bdd14de3c9843fe835d8e3cc.png b/assets/images/starter-flow-basic-prompting-08b0a690bdd14de3c9843fe835d8e3cc.png new file mode 100644 index 0000000000..bd94efbff7 Binary files /dev/null and b/assets/images/starter-flow-basic-prompting-08b0a690bdd14de3c9843fe835d8e3cc.png differ diff --git a/assets/images/starter-flow-basic-prompting-40917cdcd3e69dcb5ed1a611df982d06.png b/assets/images/starter-flow-basic-prompting-40917cdcd3e69dcb5ed1a611df982d06.png deleted file mode 100644 index 8427eb4382..0000000000 Binary files a/assets/images/starter-flow-basic-prompting-40917cdcd3e69dcb5ed1a611df982d06.png and /dev/null differ diff --git a/assets/js/22dd74f7.d3969978.js b/assets/js/22dd74f7.5496219f.js similarity index 73% rename from assets/js/22dd74f7.d3969978.js rename to assets/js/22dd74f7.5496219f.js index f6fcea9139..6a565faccf 100644 --- a/assets/js/22dd74f7.d3969978.js +++ b/assets/js/22dd74f7.5496219f.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":false,"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":"Blog Writer","href":"/starter-projects-blog-writer","docId":"Starter-Projects/starter-projects-blog-writer","unlisted":false},{"type":"link","label":"Document QA","href":"/starter-projects-document-qa","docId":"Starter-Projects/starter-projects-document-qa","unlisted":false},{"type":"link","label":"Memory Chatbot","href":"/starter-projects-memory-chatbot","docId":"Starter-Projects/starter-projects-memory-chatbot","unlisted":false},{"type":"link","label":"Simple agent","href":"/starter-projects-simple-agent","docId":"Starter-Projects/starter-projects-simple-agent","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":"Sequential tasks agent","href":"/starter-projects-sequential-agent","docId":"Starter-Projects/starter-projects-sequential-agent","unlisted":false},{"type":"link","label":"Travel planning agent","href":"/starter-projects-travel-planning-agent","docId":"Starter-Projects/starter-projects-travel-planning-agent","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Workspace","items":[{"type":"link","label":"Workspace concepts","href":"/workspace-overview","docId":"Workspace/workspace-overview","unlisted":false},{"type":"link","label":"API","href":"/workspace-api","docId":"Workspace/workspace-api","unlisted":false},{"type":"link","label":"Logs","href":"/workspace-logs","docId":"Workspace/workspace-logs","unlisted":false},{"type":"link","label":"Playground","href":"/workspace-playground","docId":"Workspace/workspace-playground","unlisted":false}],"collapsed":false,"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":false,"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":"Auto-saving","href":"/configuration-auto-save","docId":"Configuration/configuration-auto-saving","unlisted":false},{"type":"link","label":"Run Langflow in backend-only mode","href":"/configuration-backend-only","docId":"Configuration/configuration-backend-only","unlisted":false},{"type":"link","label":"Langflow CLI","href":"/configuration-cli","docId":"Configuration/configuration-cli","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},{"type":"link","label":"Security best practices","href":"/configuration-security-best-practices","docId":"Configuration/configuration-security-best-practices","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Components","items":[{"type":"link","label":"How to build flows with components","href":"/components-overview","docId":"Components/components-overview","unlisted":false},{"type":"link","label":"Agents","href":"/components-agents","docId":"Components/components-agents","unlisted":false},{"type":"link","label":"Custom 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":"Embedding Models","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 & 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/components-memories","docId":"Components/components-memories","unlisted":false},{"type":"link","label":"Models","href":"/components-models","docId":"Components/components-models","unlisted":false},{"type":"link","label":"Prompts","href":"/components-prompts","docId":"Components/components-prompts","unlisted":false},{"type":"link","label":"RAG","href":"/components-rag","docId":"Components/components-rag","unlisted":false},{"type":"link","label":"Tools","href":"/Components/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":false,"collapsible":true},{"type":"category","label":"Guides","items":[{"type":"link","label":"Chat Memory","href":"/guides-chat-memory","docId":"Guides/guides-chat-memory","unlisted":false},{"type":"link","label":"Data & Message","href":"/guides-data-message","docId":"Guides/guides-data-message","unlisted":false},{"type":"link","label":"\ud83d\udcda New to LLMs?","href":"/guides-new-to-llms","docId":"Guides/guides-new-to-llms","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Deployment","items":[{"type":"link","label":"Docker","href":"/deployment-docker","docId":"Deployment/deployment-docker","unlisted":false},{"type":"link","label":"GCP","href":"/deployment-gcp","docId":"Deployment/deployment-gcp","unlisted":false},{"type":"link","label":"HuggingFace\xa0Spaces","href":"/deployment-hugging-face-spaces","docId":"Deployment/deployment-hugging-face-spaces","unlisted":false},{"type":"link","label":"Kubernetes","href":"/deployment-kubernetes","docId":"Deployment/deployment-kubernetes","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":false,"collapsible":true},{"type":"category","label":"Integrations","items":[{"type":"link","label":"AssemblyAI","href":"/integrations-assemblyai","docId":"Integrations/integrations-assemblyai","unlisted":false},{"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":"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":false,"collapsible":true},{"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":false,"collapsible":true}],"collapsed":false,"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":"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":false,"collapsible":true},{"type":"category","label":"API Reference","items":[{"type":"link","label":"API Documentation","href":"/api"}],"collapsed":false,"collapsible":true}]},"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"},"Components/components-agents":{"id":"Components/components-agents","title":"Agents","description":"Agent components are used to define the behavior and capabilities of AI agents in your flow. Agents can interact with APIs, databases, and other services and use LLMs as a reasoning engine to decide which course to take in your flow.","sidebar":"docs"},"Components/components-custom-components":{"id":"Components/components-custom-components","title":"Custom 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":"API Request","sidebar":"docs"},"Components/components-embedding-models":{"id":"Components/components-embedding-models","title":"Embedding Models","description":"Embeddings models are used to convert text into numerical vectors. These vectors can be used for various tasks such as similarity search, clustering, and classification.","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 & Outputs","description":"This category of components defines where data enters and exits your flow. They dynamically alter the Playground and can be renamed to facilitate building and maintaining your flows.","sidebar":"docs"},"Components/components-loaders":{"id":"Components/components-loaders","title":"Loaders","description":"Loaders are components used to load documents from various sources, such as databases, websites, and local files. They can be used to fetch data from external sources and convert it into a format that can be processed by other components.","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":"Chat memory components store and retrieve chat messages by session_id.","sidebar":"docs"},"Components/components-models":{"id":"Components/components-models","title":"Models","description":"Model components are used to generate text using language models. These components can be used to generate text for various tasks such as chatbots, content generation, and more.","sidebar":"docs"},"Components/components-overview":{"id":"Components/components-overview","title":"How to build flows with components","description":"A\xa0component\xa0is a single building block within a flow. It consists of inputs, outputs, and parameters that define their functionality. These elements provide a convenient and straightforward way to compose LLM-based applications. Learn more about components and how they work below.","sidebar":"docs"},"Components/components-prompts":{"id":"Components/components-prompts","title":"Prompts","description":"A prompt serves as the input to a language model, comprising multiple components that can be parameterized using prompt templates.","sidebar":"docs"},"Components/components-rag":{"id":"Components/components-rag","title":"RAG","description":"RAG (Retrieval-Augmented Generation) components process a user query by retrieving relevant documents and generating a concise summary that addresses the user\'s question.","sidebar":"docs"},"Components/components-tools":{"id":"Components/components-tools","title":"Tools","description":"Tool components are used to interact with external services, APIs, and tools. They can be used to search the web, query databases, and perform other tasks.","sidebar":"docs"},"Components/components-vector-stores":{"id":"Components/components-vector-stores","title":"Vector Stores","description":"Vector databases are used to store and search for vectors. They can be used to store embeddings, search for similar vectors, and perform other vector operations.","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. The API key is a user-specific token that can be included in the request header, query parameter, or as a command line argument to authenticate API calls. This documentation outlines how to generate, use, and manage API keys in Langflow.","sidebar":"docs"},"Configuration/configuration-authentication":{"id":"Configuration/configuration-authentication","title":"Authentication","description":"The login functionality in Langflow serves to authenticate users and protect sensitive routes in the application.","sidebar":"docs"},"Configuration/configuration-auto-saving":{"id":"Configuration/configuration-auto-saving","title":"Auto-saving","description":"Langflow supports both manual and auto-saving functionality.","sidebar":"docs"},"Configuration/configuration-backend-only":{"id":"Configuration/configuration-backend-only","title":"Run Langflow in backend-only mode","description":"Langflow can run in --backend-only mode to expose a Langflow app as an API endpoint, without running the frontend UI.","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."},"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/configuration-security-best-practices":{"id":"Configuration/configuration-security-best-practices","title":"Security best practices","description":"This guide outlines security best practices for deploying and managing Langflow.","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-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":"Docker","description":"This guide will help you get LangFlow up and running using Docker and Docker Compose.","sidebar":"docs"},"Deployment/deployment-gcp":{"id":"Deployment/deployment-gcp","title":"GCP","description":"To deploy Langflow on Google Cloud Platform using Cloud Shell, use the below script.","sidebar":"docs"},"Deployment/deployment-hugging-face-spaces":{"id":"Deployment/deployment-hugging-face-spaces","title":"HuggingFace\xa0Spaces","description":"HuggingFace Spaces","sidebar":"docs"},"Deployment/deployment-kubernetes":{"id":"Deployment/deployment-kubernetes","title":"Kubernetes","description":"This guide will help you get LangFlow up and running in Kubernetes cluster, including the following steps:","sidebar":"docs"},"Deployment/deployment-railway":{"id":"Deployment/deployment-railway","title":"Railway","description":"Deploy on Railway","sidebar":"docs"},"Deployment/deployment-render":{"id":"Deployment/deployment-render","title":"Render","description":"Deploy on Render","sidebar":"docs"},"Get-Started/get-started-installation":{"id":"Get-Started/get-started-installation","title":"Install Langflow","description":"You can deploy Langflow either locally or as a hosted service with Datastax Langflow.","sidebar":"docs"},"Get-Started/get-started-quickstart":{"id":"Get-Started/get-started-quickstart","title":"Quickstart","description":"Prerequisites","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"},"Guides/guides-chat-memory":{"id":"Guides/guides-chat-memory","title":"Chat Memory","description":"Langflow allows every chat message to be stored, and a single flow can have multiple memory sessions. This enables you to create separate memories for agents to store and recall information as needed.","sidebar":"docs"},"Guides/guides-data-message":{"id":"Guides/guides-data-message","title":"Data & Message","description":"In Langflow, the\xa0Data\xa0and\xa0Message\xa0objects serve as structured, functional representations of data that enhance the capabilities and reliability of the platform.","sidebar":"docs"},"Guides/guides-new-to-llms":{"id":"Guides/guides-new-to-llms","title":"\ud83d\udcda New to LLMs?","description":"Large Language Models, or LLMs, are part of an exciting new world in computing.","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/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"},"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-blog-writer":{"id":"Starter-Projects/starter-projects-blog-writer","title":"Blog Writer","description":"Build a Blog Writer flow for a one-shot application using OpenAI.","sidebar":"docs"},"Starter-Projects/starter-projects-document-qa":{"id":"Starter-Projects/starter-projects-document-qa","title":"Document QA","description":"Build a question-and-answer chatbot with a document loaded from local memory.","sidebar":"docs"},"Starter-Projects/starter-projects-memory-chatbot":{"id":"Starter-Projects/starter-projects-memory-chatbot","title":"Memory Chatbot","description":"This flow extends the\xa0basic prompting\xa0flow to include a chat memory. This makes the AI remember previous user inputs.","sidebar":"docs"},"Starter-Projects/starter-projects-sequential-agent":{"id":"Starter-Projects/starter-projects-sequential-agent","title":"Sequential tasks agent","description":"Build a Sequential Tasks Agent flow for a multi-agent application using multiple Agent components.","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.","sidebar":"docs"},"Starter-Projects/starter-projects-travel-planning-agent":{"id":"Starter-Projects/starter-projects-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-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"},"Workspace/workspace-api":{"id":"Workspace/workspace-api","title":"API","description":"The\xa0API\xa0section presents code templates for integrating your flow into external applications.","sidebar":"docs"},"Workspace/workspace-logs":{"id":"Workspace/workspace-logs","title":"Logs","description":"The\xa0Logs\xa0pane provides a detailed record of all component executions within a workspace. It is designed to help you track actions, debug issues, and understand the flow of data through various components.","sidebar":"docs"},"Workspace/workspace-overview":{"id":"Workspace/workspace-overview","title":"Workspace concepts","description":"The workspace is where you create AI applications by connecting and running components in flows.","sidebar":"docs"},"Workspace/workspace-playground":{"id":"Workspace/workspace-playground","title":"Playground","description":"The\xa0Playground\xa0is a dynamic interface designed for real-time interaction with AIs, allowing users to chat, access memories and monitor inputs and outputs. Here, users can directly prototype and their models, making adjustments and observing different outcomes.","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":false,"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":"Blog Writer","href":"/starter-projects-blog-writer","docId":"Starter-Projects/starter-projects-blog-writer","unlisted":false},{"type":"link","label":"Document QA","href":"/starter-projects-document-qa","docId":"Starter-Projects/starter-projects-document-qa","unlisted":false},{"type":"link","label":"Memory Chatbot","href":"/starter-projects-memory-chatbot","docId":"Starter-Projects/starter-projects-memory-chatbot","unlisted":false},{"type":"link","label":"Simple agent","href":"/starter-projects-simple-agent","docId":"Starter-Projects/starter-projects-simple-agent","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":"Sequential tasks agent","href":"/starter-projects-sequential-agent","docId":"Starter-Projects/starter-projects-sequential-agent","unlisted":false},{"type":"link","label":"Travel planning agent","href":"/starter-projects-travel-planning-agent","docId":"Starter-Projects/starter-projects-travel-planning-agent","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Workspace","items":[{"type":"link","label":"Workspace concepts","href":"/workspace-overview","docId":"Workspace/workspace-overview","unlisted":false},{"type":"link","label":"API","href":"/workspace-api","docId":"Workspace/workspace-api","unlisted":false},{"type":"link","label":"Logs","href":"/workspace-logs","docId":"Workspace/workspace-logs","unlisted":false},{"type":"link","label":"Playground","href":"/workspace-playground","docId":"Workspace/workspace-playground","unlisted":false}],"collapsed":false,"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":false,"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":"Auto-saving","href":"/configuration-auto-save","docId":"Configuration/configuration-auto-saving","unlisted":false},{"type":"link","label":"Run Langflow in backend-only mode","href":"/configuration-backend-only","docId":"Configuration/configuration-backend-only","unlisted":false},{"type":"link","label":"Langflow CLI","href":"/configuration-cli","docId":"Configuration/configuration-cli","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},{"type":"link","label":"Security best practices","href":"/configuration-security-best-practices","docId":"Configuration/configuration-security-best-practices","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Components","items":[{"type":"link","label":"How to build flows with components","href":"/components-overview","docId":"Components/components-overview","unlisted":false},{"type":"link","label":"Agents","href":"/components-agents","docId":"Components/components-agents","unlisted":false},{"type":"link","label":"Custom 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":"Embedding Models","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 & 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/components-memories","docId":"Components/components-memories","unlisted":false},{"type":"link","label":"Models","href":"/components-models","docId":"Components/components-models","unlisted":false},{"type":"link","label":"Prompts","href":"/components-prompts","docId":"Components/components-prompts","unlisted":false},{"type":"link","label":"RAG","href":"/components-rag","docId":"Components/components-rag","unlisted":false},{"type":"link","label":"Tools","href":"/Components/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":false,"collapsible":true},{"type":"category","label":"Guides","items":[{"type":"link","label":"Chat Memory","href":"/guides-chat-memory","docId":"Guides/guides-chat-memory","unlisted":false},{"type":"link","label":"Data & Message","href":"/guides-data-message","docId":"Guides/guides-data-message","unlisted":false},{"type":"link","label":"\ud83d\udcda New to LLMs?","href":"/guides-new-to-llms","docId":"Guides/guides-new-to-llms","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Deployment","items":[{"type":"link","label":"Docker","href":"/deployment-docker","docId":"Deployment/deployment-docker","unlisted":false},{"type":"link","label":"GCP","href":"/deployment-gcp","docId":"Deployment/deployment-gcp","unlisted":false},{"type":"link","label":"HuggingFace\xa0Spaces","href":"/deployment-hugging-face-spaces","docId":"Deployment/deployment-hugging-face-spaces","unlisted":false},{"type":"link","label":"Kubernetes","href":"/deployment-kubernetes","docId":"Deployment/deployment-kubernetes","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":false,"collapsible":true},{"type":"category","label":"Integrations","items":[{"type":"link","label":"AssemblyAI","href":"/integrations-assemblyai","docId":"Integrations/integrations-assemblyai","unlisted":false},{"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":"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":false,"collapsible":true},{"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":false,"collapsible":true}],"collapsed":false,"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":"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":false,"collapsible":true},{"type":"category","label":"API Reference","items":[{"type":"link","label":"API Documentation","href":"/api"}],"collapsed":false,"collapsible":true}]},"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"},"Components/components-agents":{"id":"Components/components-agents","title":"Agents","description":"Agent components are used to define the behavior and capabilities of AI agents in your flow. Agents can interact with APIs, databases, and other services and use LLMs as a reasoning engine to decide which course to take in your flow.","sidebar":"docs"},"Components/components-custom-components":{"id":"Components/components-custom-components","title":"Custom 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":"API Request","sidebar":"docs"},"Components/components-embedding-models":{"id":"Components/components-embedding-models","title":"Embedding Models","description":"Embeddings models are used to convert text into numerical vectors. These vectors can be used for various tasks such as similarity search, clustering, and classification.","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 & Outputs","description":"This category of components defines where data enters and exits your flow. They dynamically alter the Playground and can be renamed to facilitate building and maintaining your flows.","sidebar":"docs"},"Components/components-loaders":{"id":"Components/components-loaders","title":"Loaders","description":"Loaders are components used to load documents from various sources, such as databases, websites, and local files. They can be used to fetch data from external sources and convert it into a format that can be processed by other components.","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":"Chat memory components store and retrieve chat messages by session_id.","sidebar":"docs"},"Components/components-models":{"id":"Components/components-models","title":"Models","description":"Model components are used to generate text using language models. These components can be used to generate text for various tasks such as chatbots, content generation, and more.","sidebar":"docs"},"Components/components-overview":{"id":"Components/components-overview","title":"How to build flows with components","description":"A\xa0component\xa0is a single building block within a flow. It consists of inputs, outputs, and parameters that define their functionality. These elements provide a convenient and straightforward way to compose LLM-based applications. Learn more about components and how they work below.","sidebar":"docs"},"Components/components-prompts":{"id":"Components/components-prompts","title":"Prompts","description":"A prompt serves as the input to a language model, comprising multiple components that can be parameterized using prompt templates.","sidebar":"docs"},"Components/components-rag":{"id":"Components/components-rag","title":"RAG","description":"RAG (Retrieval-Augmented Generation) components process a user query by retrieving relevant documents and generating a concise summary that addresses the user\'s question.","sidebar":"docs"},"Components/components-tools":{"id":"Components/components-tools","title":"Tools","description":"Tool components are used to interact with external services, APIs, and tools. They can be used to search the web, query databases, and perform other tasks.","sidebar":"docs"},"Components/components-vector-stores":{"id":"Components/components-vector-stores","title":"Vector Stores","description":"Vector databases are used to store and search for vectors. They can be used to store embeddings, search for similar vectors, and perform other vector operations.","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. The API key is a user-specific token that can be included in the request header, query parameter, or as a command line argument to authenticate API calls. This documentation outlines how to generate, use, and manage API keys in Langflow.","sidebar":"docs"},"Configuration/configuration-authentication":{"id":"Configuration/configuration-authentication","title":"Authentication","description":"The login functionality in Langflow serves to authenticate users and protect sensitive routes in the application.","sidebar":"docs"},"Configuration/configuration-auto-saving":{"id":"Configuration/configuration-auto-saving","title":"Auto-saving","description":"Langflow supports both manual and auto-saving functionality.","sidebar":"docs"},"Configuration/configuration-backend-only":{"id":"Configuration/configuration-backend-only","title":"Run Langflow in backend-only mode","description":"Langflow can run in --backend-only mode to expose a Langflow app as an API endpoint, without running the frontend UI.","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."},"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/configuration-security-best-practices":{"id":"Configuration/configuration-security-best-practices","title":"Security best practices","description":"This guide outlines security best practices for deploying and managing Langflow.","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-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":"Docker","description":"This guide will help you get LangFlow up and running using Docker and Docker Compose.","sidebar":"docs"},"Deployment/deployment-gcp":{"id":"Deployment/deployment-gcp","title":"GCP","description":"To deploy Langflow on Google Cloud Platform using Cloud Shell, use the below script.","sidebar":"docs"},"Deployment/deployment-hugging-face-spaces":{"id":"Deployment/deployment-hugging-face-spaces","title":"HuggingFace\xa0Spaces","description":"HuggingFace Spaces","sidebar":"docs"},"Deployment/deployment-kubernetes":{"id":"Deployment/deployment-kubernetes","title":"Kubernetes","description":"This guide will help you get LangFlow up and running in Kubernetes cluster, including the following steps:","sidebar":"docs"},"Deployment/deployment-railway":{"id":"Deployment/deployment-railway","title":"Railway","description":"Deploy on Railway","sidebar":"docs"},"Deployment/deployment-render":{"id":"Deployment/deployment-render","title":"Render","description":"Deploy on Render","sidebar":"docs"},"Get-Started/get-started-installation":{"id":"Get-Started/get-started-installation","title":"Install Langflow","description":"You can deploy Langflow either locally or as a hosted service with Datastax Langflow.","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"},"Guides/guides-chat-memory":{"id":"Guides/guides-chat-memory","title":"Chat Memory","description":"Langflow allows every chat message to be stored, and a single flow can have multiple memory sessions. This enables you to create separate memories for agents to store and recall information as needed.","sidebar":"docs"},"Guides/guides-data-message":{"id":"Guides/guides-data-message","title":"Data & Message","description":"In Langflow, the\xa0Data\xa0and\xa0Message\xa0objects serve as structured, functional representations of data that enhance the capabilities and reliability of the platform.","sidebar":"docs"},"Guides/guides-new-to-llms":{"id":"Guides/guides-new-to-llms","title":"\ud83d\udcda New to LLMs?","description":"Large Language Models, or LLMs, are part of an exciting new world in computing.","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/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"},"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-blog-writer":{"id":"Starter-Projects/starter-projects-blog-writer","title":"Blog Writer","description":"Build a Blog Writer flow for a one-shot application using OpenAI.","sidebar":"docs"},"Starter-Projects/starter-projects-document-qa":{"id":"Starter-Projects/starter-projects-document-qa","title":"Document QA","description":"Build a question-and-answer chatbot with a document loaded from local memory.","sidebar":"docs"},"Starter-Projects/starter-projects-memory-chatbot":{"id":"Starter-Projects/starter-projects-memory-chatbot","title":"Memory Chatbot","description":"This flow extends the\xa0basic prompting\xa0flow to include a chat memory. This makes the AI remember previous user inputs.","sidebar":"docs"},"Starter-Projects/starter-projects-sequential-agent":{"id":"Starter-Projects/starter-projects-sequential-agent","title":"Sequential tasks agent","description":"Build a Sequential Tasks Agent flow for a multi-agent application using multiple Agent components.","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.","sidebar":"docs"},"Starter-Projects/starter-projects-travel-planning-agent":{"id":"Starter-Projects/starter-projects-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-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"},"Workspace/workspace-api":{"id":"Workspace/workspace-api","title":"API","description":"The\xa0API\xa0section presents code templates for integrating your flow into external applications.","sidebar":"docs"},"Workspace/workspace-logs":{"id":"Workspace/workspace-logs","title":"Logs","description":"The\xa0Logs\xa0pane provides a detailed record of all component executions within a workspace. It is designed to help you track actions, debug issues, and understand the flow of data through various components.","sidebar":"docs"},"Workspace/workspace-overview":{"id":"Workspace/workspace-overview","title":"Workspace concepts","description":"The workspace is where you create AI applications by connecting and running components in flows.","sidebar":"docs"},"Workspace/workspace-playground":{"id":"Workspace/workspace-playground","title":"Playground","description":"The\xa0Playground\xa0is a dynamic interface designed for real-time interaction with AIs, allowing users to chat, access memories and monitor inputs and outputs. Here, users can directly prototype and their models, making adjustments and observing different outcomes.","sidebar":"docs"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/25bf2d67.121757d8.js b/assets/js/25bf2d67.121757d8.js new file mode 100644 index 0000000000..860a2f92b6 --- /dev/null +++ b/assets/js/25bf2d67.121757d8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[8031],{43956:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>h,frontMatter:()=>i,metadata:()=>a,toc:()=>l});var r=t(74848),s=t(28453);const i={title:"Basic Prompting",sidebar_position:0,slug:"/starter-projects-basic-prompting"},o=void 0,a={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.",source:"@site/docs/Starter-Projects/starter-projects-basic-prompting.md",sourceDirName:"Starter-Projects",slug:"/starter-projects-basic-prompting",permalink:"/starter-projects-basic-prompting",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:0,frontMatter:{title:"Basic Prompting",sidebar_position:0,slug:"/starter-projects-basic-prompting"},sidebar:"docs",previous:{title:"Quickstart",permalink:"/get-started-quickstart"},next:{title:"Blog Writer",permalink:"/starter-projects-blog-writer"}},c={},l=[{value:"Prerequisites",id:"20bd7bc51ce04e2fb4922c95f00870d3",level:2},{value:"Create the basic prompting flow",id:"19d5305239c841548a695e2bf7839e7a",level:2},{value:"Run the basic prompting flow",id:"ce52f8e6b491452a9dfb069feb962eed",level:2},{value:"Modify the prompt for a different result",id:"3ab045fcbe774c8fb3adc528f9042ba0",level:2}];function d(e){const n={a:"a",code:"code",h2:"h2",hr:"hr",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.p,{children:"Prompts serve as the inputs to a large language model (LLM), acting as the interface between human instructions and computational tasks."}),"\n",(0,r.jsx)(n.p,{children:"By submitting natural language requests in a prompt to an LLM, you can obtain answers, generate text, and solve problems."}),"\n",(0,r.jsx)(n.p,{children:"This article demonstrates how to use Langflow's prompt tools to issue basic prompts to an LLM, and how various prompting strategies can affect your outcomes."}),"\n",(0,r.jsx)(n.h2,{id:"20bd7bc51ce04e2fb4922c95f00870d3",children:"Prerequisites"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/get-started-installation",children:"Langflow installed and running"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"https://platform.openai.com/",children:"OpenAI API key created"})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"19d5305239c841548a695e2bf7839e7a",children:"Create the basic prompting flow"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["From the Langflow dashboard, click\xa0",(0,r.jsx)(n.strong,{children:"New Flow"}),"."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["Select\xa0",(0,r.jsx)(n.strong,{children:"Basic Prompting"}),"."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["The\xa0",(0,r.jsx)(n.strong,{children:"Basic Prompting"}),"\xa0flow is created."]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{src:t(90567).A+"",width:"2486",height:"1534"})}),"\n",(0,r.jsxs)(n.p,{children:["This flow allows you to chat with the\xa0",(0,r.jsx)(n.strong,{children:"OpenAI"}),"\xa0component through the\xa0",(0,r.jsx)(n.strong,{children:"Prompt"}),"\xa0component."]}),"\n",(0,r.jsxs)(n.p,{children:["Examine the\xa0",(0,r.jsx)(n.strong,{children:"Prompt"}),"\xa0component. The\xa0",(0,r.jsx)(n.strong,{children:"Template"}),"\xa0field instructs the LLM to\xa0",(0,r.jsx)(n.code,{children:"Answer the user as if you were a pirate."}),"\xa0This should be interesting..."]}),"\n",(0,r.jsxs)(n.ol,{start:"4",children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["To create an environment variable for the\xa0",(0,r.jsx)(n.strong,{children:"OpenAI"}),"\xa0component, in the\xa0",(0,r.jsx)(n.strong,{children:"OpenAI API Key"}),"\xa0field, click the\xa0",(0,r.jsx)(n.strong,{children:"Globe"}),"\xa0button, and then click\xa0",(0,r.jsx)(n.strong,{children:"Add New Variable"}),"."]}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["In the\xa0",(0,r.jsx)(n.strong,{children:"Variable Name"}),"\xa0field, enter\xa0",(0,r.jsx)(n.code,{children:"openai_api_key"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:["In the\xa0",(0,r.jsx)(n.strong,{children:"Value"}),"\xa0field, paste your OpenAI API Key (",(0,r.jsx)(n.code,{children:"sk-..."}),")."]}),"\n",(0,r.jsxs)(n.li,{children:["Click\xa0",(0,r.jsx)(n.strong,{children:"Save Variable"}),"."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"ce52f8e6b491452a9dfb069feb962eed",children:"Run the basic prompting flow"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["Click the\xa0",(0,r.jsx)(n.strong,{children:"Playground"}),"\xa0button on the control panel (bottom right side of the workspace). This is where you can interact with your AI."]}),"\n",(0,r.jsx)(n.li,{children:"Type a message and press Enter. The bot should respond in a markedly piratical manner!"}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"3ab045fcbe774c8fb3adc528f9042ba0",children:"Modify the prompt for a different result"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["To modify your prompt results, in the\xa0",(0,r.jsx)(n.strong,{children:"Prompt"}),"\xa0template, click the\xa0",(0,r.jsx)(n.strong,{children:"Template"}),"\xa0field. The\xa0",(0,r.jsx)(n.strong,{children:"Edit Prompt"}),"\xa0window opens."]}),"\n",(0,r.jsxs)(n.li,{children:["Change\xa0",(0,r.jsx)(n.code,{children:"Answer the user as if you were a pirate"}),"\xa0to a different character, perhaps\xa0",(0,r.jsx)(n.code,{children:"Answer the user as if you were Hermione Granger."})]}),"\n",(0,r.jsx)(n.li,{children:"Run the workflow again. The response will be markedly different."}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},90567:(e,n,t)=>{t.d(n,{A:()=>r});const r=t.p+"assets/images/starter-flow-basic-prompting-08b0a690bdd14de3c9843fe835d8e3cc.png"},28453:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>a});var r=t(96540);const s={},i=r.createContext(s);function o(e){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/25bf2d67.46f2eb17.js b/assets/js/25bf2d67.46f2eb17.js deleted file mode 100644 index 2489502493..0000000000 --- a/assets/js/25bf2d67.46f2eb17.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[8031],{43956:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>h,frontMatter:()=>i,metadata:()=>a,toc:()=>l});var r=t(74848),s=t(28453);const i={title:"Basic Prompting",sidebar_position:0,slug:"/starter-projects-basic-prompting"},o=void 0,a={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.",source:"@site/docs/Starter-Projects/starter-projects-basic-prompting.md",sourceDirName:"Starter-Projects",slug:"/starter-projects-basic-prompting",permalink:"/starter-projects-basic-prompting",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:0,frontMatter:{title:"Basic Prompting",sidebar_position:0,slug:"/starter-projects-basic-prompting"},sidebar:"docs",previous:{title:"Quickstart",permalink:"/get-started-quickstart"},next:{title:"Blog Writer",permalink:"/starter-projects-blog-writer"}},c={},l=[{value:"Prerequisites",id:"20bd7bc51ce04e2fb4922c95f00870d3",level:2},{value:"Create the basic prompting flow",id:"19d5305239c841548a695e2bf7839e7a",level:2},{value:"Run the basic prompting flow",id:"ce52f8e6b491452a9dfb069feb962eed",level:2},{value:"Modify the prompt for a different result",id:"3ab045fcbe774c8fb3adc528f9042ba0",level:2}];function d(e){const n={a:"a",code:"code",h2:"h2",hr:"hr",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.p,{children:"Prompts serve as the inputs to a large language model (LLM), acting as the interface between human instructions and computational tasks."}),"\n",(0,r.jsx)(n.p,{children:"By submitting natural language requests in a prompt to an LLM, you can obtain answers, generate text, and solve problems."}),"\n",(0,r.jsx)(n.p,{children:"This article demonstrates how to use Langflow's prompt tools to issue basic prompts to an LLM, and how various prompting strategies can affect your outcomes."}),"\n",(0,r.jsx)(n.h2,{id:"20bd7bc51ce04e2fb4922c95f00870d3",children:"Prerequisites"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/get-started-installation",children:"Langflow installed and running"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"https://platform.openai.com/",children:"OpenAI API key created"})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"19d5305239c841548a695e2bf7839e7a",children:"Create the basic prompting flow"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["From the Langflow dashboard, click\xa0",(0,r.jsx)(n.strong,{children:"New Flow"}),"."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["Select\xa0",(0,r.jsx)(n.strong,{children:"Basic Prompting"}),"."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["The\xa0",(0,r.jsx)(n.strong,{children:"Basic Prompting"}),"\xa0flow is created."]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{src:t(90567).A+"",width:"2874",height:"966"})}),"\n",(0,r.jsxs)(n.p,{children:["This flow allows you to chat with the\xa0",(0,r.jsx)(n.strong,{children:"OpenAI"}),"\xa0component through the\xa0",(0,r.jsx)(n.strong,{children:"Prompt"}),"\xa0component."]}),"\n",(0,r.jsxs)(n.p,{children:["Examine the\xa0",(0,r.jsx)(n.strong,{children:"Prompt"}),"\xa0component. The\xa0",(0,r.jsx)(n.strong,{children:"Template"}),"\xa0field instructs the LLM to\xa0",(0,r.jsx)(n.code,{children:"Answer the user as if you were a pirate."}),"\xa0This should be interesting..."]}),"\n",(0,r.jsxs)(n.ol,{start:"4",children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["To create an environment variable for the\xa0",(0,r.jsx)(n.strong,{children:"OpenAI"}),"\xa0component, in the\xa0",(0,r.jsx)(n.strong,{children:"OpenAI API Key"}),"\xa0field, click the\xa0",(0,r.jsx)(n.strong,{children:"Globe"}),"\xa0button, and then click\xa0",(0,r.jsx)(n.strong,{children:"Add New Variable"}),"."]}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["In the\xa0",(0,r.jsx)(n.strong,{children:"Variable Name"}),"\xa0field, enter\xa0",(0,r.jsx)(n.code,{children:"openai_api_key"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:["In the\xa0",(0,r.jsx)(n.strong,{children:"Value"}),"\xa0field, paste your OpenAI API Key (",(0,r.jsx)(n.code,{children:"sk-..."}),")."]}),"\n",(0,r.jsxs)(n.li,{children:["Click\xa0",(0,r.jsx)(n.strong,{children:"Save Variable"}),"."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"ce52f8e6b491452a9dfb069feb962eed",children:"Run the basic prompting flow"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["Click the\xa0",(0,r.jsx)(n.strong,{children:"Playground"}),"\xa0button on the control panel (bottom right side of the workspace). This is where you can interact with your AI."]}),"\n",(0,r.jsx)(n.li,{children:"Type a message and press Enter. The bot should respond in a markedly piratical manner!"}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"3ab045fcbe774c8fb3adc528f9042ba0",children:"Modify the prompt for a different result"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["To modify your prompt results, in the\xa0",(0,r.jsx)(n.strong,{children:"Prompt"}),"\xa0template, click the\xa0",(0,r.jsx)(n.strong,{children:"Template"}),"\xa0field. The\xa0",(0,r.jsx)(n.strong,{children:"Edit Prompt"}),"\xa0window opens."]}),"\n",(0,r.jsxs)(n.li,{children:["Change\xa0",(0,r.jsx)(n.code,{children:"Answer the user as if you were a pirate"}),"\xa0to a different character, perhaps\xa0",(0,r.jsx)(n.code,{children:"Answer the user as if you were Hermione Granger."})]}),"\n",(0,r.jsx)(n.li,{children:"Run the workflow again. The response will be markedly different."}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},90567:(e,n,t)=>{t.d(n,{A:()=>r});const r=t.p+"assets/images/starter-flow-basic-prompting-40917cdcd3e69dcb5ed1a611df982d06.png"},28453:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>a});var r=t(96540);const s={},i=r.createContext(s);function o(e){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a9b4f8aa.300ccd7e.js b/assets/js/a9b4f8aa.300ccd7e.js deleted file mode 100644 index b835d5ee96..0000000000 --- a/assets/js/a9b4f8aa.300ccd7e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[4931],{94782:(e,t,r)=>{r.r(t),r.d(t,{CH:()=>l,assets:()=>a,chCodeConfig:()=>h,contentTitle:()=>c,default:()=>g,frontMatter:()=>o,metadata:()=>d,toc:()=>p});var n=r(74848),i=r(28453),s=r(24754);const o={title:"Quickstart",sidebar_position:2,slug:"/get-started-quickstart"},c=void 0,d={id:"Get-Started/get-started-quickstart",title:"Quickstart",description:"Prerequisites",source:"@site/docs/Get-Started/get-started-quickstart.md",sourceDirName:"Get-Started",slug:"/get-started-quickstart",permalink:"/get-started-quickstart",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Quickstart",sidebar_position:2,slug:"/get-started-quickstart"},sidebar:"docs",previous:{title:"Install Langflow",permalink:"/get-started-installation"},next:{title:"Basic Prompting",permalink:"/starter-projects-basic-prompting"}},a={},l={annotations:s.hk,Code:s.Cy},h={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},p=[{value:"Prerequisites",id:"b5f154a3a1d242c7bdf57acf0a552732",level:2},{value:"Create the basic prompting flow",id:"create-the-basic-prompting-flow",level:2},{value:"Run the Basic Prompting flow",id:"ef0e8283bfb646f99bbb825462d8cbab",level:2},{value:"Modify the prompt for a different result",id:"dcea9df0cd51434db76717c78b1e9a94",level:2},{value:"Next steps",id:"63b6db6cb571489c86b3ae89051f1a4f",level:2}];function u(e){const t={a:"a",code:"code",h2:"h2",hr:"hr",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return l||f("CH",!1),l.Code||f("CH.Code",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n",(0,n.jsx)(t.h2,{id:"b5f154a3a1d242c7bdf57acf0a552732",children:"Prerequisites"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.a,{href:"https://www.python.org/downloads/release/python-3100/",children:"Python 3.10 to 3.12"})," installed"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.a,{href:"https://pypi.org/project/pip/",children:"pip"}),",\xa0",(0,n.jsx)(t.a,{href:"https://docs.astral.sh/uv/getting-started/installation/",children:"uv"}),", or ",(0,n.jsx)(t.a,{href:"https://pipx.pypa.io/stable/installation/",children:"pipx"})," installed"]}),"\n",(0,n.jsxs)(t.li,{children:["Before installing Langflow, we recommend creating a virtual environment to isolate your Python dependencies with ",(0,n.jsx)(t.a,{href:"https://docs.python.org/3/library/venv.html",children:"venv"}),", ",(0,n.jsx)(t.a,{href:"https://docs.astral.sh/uv/pip/environments",children:"uv"}),", or ",(0,n.jsx)(t.a,{href:"https://anaconda.org/anaconda/conda",children:"conda"})]}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"create-the-basic-prompting-flow",children:"Create the basic prompting flow"}),"\n",(0,n.jsxs)(t.ol,{children:["\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsxs)(t.p,{children:["From the Langflow dashboard, click\xa0",(0,n.jsx)(t.strong,{children:"New Flow"}),"."]}),"\n"]}),"\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsxs)(t.p,{children:["Select\xa0",(0,n.jsx)(t.strong,{children:"Basic Prompting"}),"."]}),"\n"]}),"\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.strong,{children:"Basic Prompting"}),"\xa0flow is created."]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.img,{src:r(90567).A+"",width:"2874",height:"966"})}),"\n",(0,n.jsxs)(t.p,{children:["This flow allows you to chat with the\xa0",(0,n.jsx)(t.strong,{children:"OpenAI"}),"\xa0component through the\xa0",(0,n.jsx)(t.strong,{children:"Prompt"}),"\xa0component."]}),"\n",(0,n.jsxs)(t.ol,{start:"4",children:["\n",(0,n.jsxs)(t.li,{children:["To examine the flow's ",(0,n.jsx)(t.strong,{children:"Prompt"}),"\xa0component, click on the ",(0,n.jsx)(t.strong,{children:"Template"}),"\xa0field of the ",(0,n.jsx)(t.strong,{children:"Prompt"})," component."]}),"\n"]}),"\n",(0,n.jsx)(l.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"Answer the user as if you were a pirate.",props:{}}]},{tokens:[{content:"",props:{}}]},{tokens:[{content:"User: {user_input}",props:{}}]},{tokens:[{content:"",props:{}}]},{tokens:[{content:"Answer:",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.strong,{children:"Template"}),"\xa0instructs the LLM to accept ",(0,n.jsx)(t.code,{children:"{user_input}"})," and\xa0",(0,n.jsx)(t.code,{children:"Answer the user as if you were a pirate."}),"."]}),"\n",(0,n.jsxs)(t.ol,{start:"5",children:["\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsxs)(t.p,{children:["To create an environment variable for the\xa0",(0,n.jsx)(t.strong,{children:"OpenAI"}),"\xa0component, in the\xa0",(0,n.jsx)(t.strong,{children:"OpenAI API Key"}),"\xa0field, click the\xa0",(0,n.jsx)(t.strong,{children:"Globe"}),"\xa0button, and then click\xa0",(0,n.jsx)(t.strong,{children:"Add New Variable"}),"."]}),"\n",(0,n.jsxs)(t.ol,{children:["\n",(0,n.jsxs)(t.li,{children:["In the\xa0",(0,n.jsx)(t.strong,{children:"Variable Name"}),"\xa0field, enter\xa0",(0,n.jsx)(t.code,{children:"openai_api_key"}),"."]}),"\n",(0,n.jsxs)(t.li,{children:["In the\xa0",(0,n.jsx)(t.strong,{children:"Value"}),"\xa0field, paste your OpenAI API Key (",(0,n.jsx)(t.code,{children:"sk-..."}),")."]}),"\n",(0,n.jsxs)(t.li,{children:["Click\xa0",(0,n.jsx)(t.strong,{children:"Save Variable"}),"."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"ef0e8283bfb646f99bbb825462d8cbab",children:"Run the Basic Prompting flow"}),"\n",(0,n.jsxs)(t.ol,{children:["\n",(0,n.jsxs)(t.li,{children:["To open the ",(0,n.jsx)(t.strong,{children:"Playground"})," pane, click ",(0,n.jsx)(t.strong,{children:"Playground"}),".\nThis is where you can interact with your AI."]}),"\n",(0,n.jsx)(t.li,{children:"Type a message and press Enter. The bot should respond in a markedly piratical manner!"}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"dcea9df0cd51434db76717c78b1e9a94",children:"Modify the prompt for a different result"}),"\n",(0,n.jsxs)(t.ol,{children:["\n",(0,n.jsxs)(t.li,{children:["To modify your prompt results, in the\xa0",(0,n.jsx)(t.strong,{children:"Prompt"}),"\xa0template, click the\xa0",(0,n.jsx)(t.strong,{children:"Template"}),"\xa0field. The\xa0",(0,n.jsx)(t.strong,{children:"Edit Prompt"}),"\xa0window opens."]}),"\n",(0,n.jsxs)(t.li,{children:["Change\xa0",(0,n.jsx)(t.code,{children:"Answer the user as if you were a pirate"}),"\xa0to a different character, perhaps\xa0",(0,n.jsx)(t.code,{children:"Answer the user as if you were Hermione Granger."})]}),"\n",(0,n.jsx)(t.li,{children:"Run the workflow again. The response will be very different."}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"63b6db6cb571489c86b3ae89051f1a4f",children:"Next steps"}),"\n",(0,n.jsx)(t.hr,{}),"\n",(0,n.jsx)(t.p,{children:"Well done! You've built your first prompt in Langflow. \ud83c\udf89"}),"\n",(0,n.jsx)(t.p,{children:"By dragging Langflow components to your workspace, you can create all sorts of interesting behaviors. Here are a couple of examples:"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/starter-projects-memory-chatbot",children:"Memory Chatbot"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/starter-projects-blog-writer",children:"Blog Writer"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/starter-projects-document-qa",children:"Document QA"})}),"\n"]})]})}function g(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}function f(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},90567:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/starter-flow-basic-prompting-40917cdcd3e69dcb5ed1a611df982d06.png"}}]); \ No newline at end of file diff --git a/assets/js/a9b4f8aa.e6305f3e.js b/assets/js/a9b4f8aa.e6305f3e.js new file mode 100644 index 0000000000..4aff609a6f --- /dev/null +++ b/assets/js/a9b4f8aa.e6305f3e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[4931],{94782:(e,t,n)=>{n.r(t),n.d(t,{CH:()=>l,assets:()=>d,chCodeConfig:()=>h,contentTitle:()=>c,default:()=>g,frontMatter:()=>i,metadata:()=>a,toc:()=>p});var o=n(74848),s=n(28453),r=n(24754);const i={title:"Quickstart",sidebar_position:2,slug:"/get-started-quickstart"},c=void 0,a={id:"Get-Started/get-started-quickstart",title:"Quickstart",description:"Get to know Langflow by building an OpenAI-powered chatbot application. After you've constructed a chatbot, add Retrieval Augmented Generation (RAG) to chat with your own data.",source:"@site/docs/Get-Started/get-started-quickstart.md",sourceDirName:"Get-Started",slug:"/get-started-quickstart",permalink:"/get-started-quickstart",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Quickstart",sidebar_position:2,slug:"/get-started-quickstart"},sidebar:"docs",previous:{title:"Install Langflow",permalink:"/get-started-installation"},next:{title:"Basic Prompting",permalink:"/starter-projects-basic-prompting"}},d={},l={annotations:r.hk,Code:r.Cy},h={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},p=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Open Langflow and start a new project",id:"open-langflow-and-start-a-new-project",level:2},{value:"Build the basic prompting flow",id:"build-the-basic-prompting-flow",level:2},{value:"Run the Basic Prompting flow",id:"run-basic-prompting-flow",level:3},{value:"Add vector RAG to your application",id:"add-vector-rag-to-your-application",level:2},{value:"Add vector RAG with the Astra DB component",id:"add-vector-rag-with-the-astra-db-component",level:2},{value:"Run the chatbot with retrieved context",id:"run-the-chatbot-with-retrieved-context",level:3},{value:"Next steps",id:"next-steps",level:2}];function u(e){const t={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return l||x("CH",!1),l.Code||x("CH.Code",!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n",(0,o.jsx)(t.p,{children:"Get to know Langflow by building an OpenAI-powered chatbot application. After you've constructed a chatbot, add Retrieval Augmented Generation (RAG) to chat with your own data."}),"\n",(0,o.jsx)(t.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:(0,o.jsx)(t.a,{href:"https://platform.openai.com/",children:"An OpenAI API key"})}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/get-started/quickstart.html",children:"An Astra DB vector database"}),"\xa0with:","\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:"AstraDB application token"}),"\n",(0,o.jsx)(t.li,{children:"API endpoint"}),"\n",(0,o.jsx)(t.li,{children:(0,o.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection",children:"A collection in Astra"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"open-langflow-and-start-a-new-project",children:"Open Langflow and start a new project"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["From the Langflow dashboard, click\xa0",(0,o.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,o.jsx)(t.strong,{children:"Blank Flow"}),". A blank workspace opens where you can build your flow."]}),"\n"]}),"\n",(0,o.jsx)(t.admonition,{type:"tip",children:(0,o.jsxs)(t.p,{children:["If you don't want to create a blank flow, click ",(0,o.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,o.jsx)(t.strong,{children:"Basic Prompting"})," for a pre-built flow.\nContinue to ",(0,o.jsx)(t.a,{href:"#run-basic-prompting-flow",children:"Run the basic prompting flow"}),"."]})}),"\n",(0,o.jsxs)(t.ol,{start:"2",children:["\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsxs)(t.p,{children:["Select\xa0",(0,o.jsx)(t.strong,{children:"Basic Prompting"}),"."]}),"\n"]}),"\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsxs)(t.p,{children:["The\xa0",(0,o.jsx)(t.strong,{children:"Basic Prompting"}),"\xa0flow is created."]}),"\n"]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"build-the-basic-prompting-flow",children:"Build the basic prompting flow"}),"\n",(0,o.jsx)(t.p,{children:"The Basic Prompting flow will look like this when it's completed:"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.img,{src:n(90567).A+"",width:"2486",height:"1534"})}),"\n",(0,o.jsxs)(t.p,{children:["To build the ",(0,o.jsx)(t.strong,{children:"Basic Prompting"})," flow, follow these steps:"]}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Inputs"}),", select the ",(0,o.jsx)(t.strong,{children:"Chat Input"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"/components-io#chat-input",children:"Chat Input"})," component accepts user input to the chat."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Prompt"}),", select the ",(0,o.jsx)(t.strong,{children:"Prompt"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"/components-prompts",children:"Prompt"})," component combines the user input with a user-defined prompt."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Outputs"}),", select the ",(0,o.jsx)(t.strong,{children:"Chat Output"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"/components-io#chat-output",children:"Chat Output"})," component prints the flow's output to the chat."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Models"}),", select the ",(0,o.jsx)(t.strong,{children:"OpenAI"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"components-models#openai",children:"OpenAI"})," model component sends the user input and prompt to the OpenAI API and receives a response."]}),"\n"]}),"\n",(0,o.jsx)(t.p,{children:"You should now have a flow that looks like this:"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.img,{src:n(32358).A+"",width:"2440",height:"1548"})}),"\n",(0,o.jsxs)(t.p,{children:["With no connections between them, the components won't interact with each other.\nYou want data to flow from ",(0,o.jsx)(t.strong,{children:"Chat Input"})," to ",(0,o.jsx)(t.strong,{children:"Chat Output"})," via the connectors between the components.\nEach component accepts inputs on its left side, and sends outputs on its right side.\nHover over the connection ports to see the data types that the component accepts.\nFor more on component inputs and outputs, see ",(0,o.jsx)(t.a,{href:"/components-overview",children:"Components overview"}),"."]}),"\n",(0,o.jsxs)(t.ol,{start:"5",children:["\n",(0,o.jsxs)(t.li,{children:["To connect the ",(0,o.jsx)(t.strong,{children:"Chat Input"})," component to the OpenAI model component, click and drag a line from the blue ",(0,o.jsx)(t.strong,{children:"Message"})," port to the OpenAI model component's ",(0,o.jsx)(t.strong,{children:"Input"})," port."]}),"\n",(0,o.jsxs)(t.li,{children:["To connect the ",(0,o.jsx)(t.strong,{children:"Prompt"})," component to the OpenAI model component, click and drag a line from the blue ",(0,o.jsx)(t.strong,{children:"Prompt Message"})," port to the OpenAI model component's ",(0,o.jsx)(t.strong,{children:"System Message"})," port."]}),"\n",(0,o.jsxs)(t.li,{children:["To connect the ",(0,o.jsx)(t.strong,{children:"OpenAI"})," model component to the ",(0,o.jsx)(t.strong,{children:"Chat Output"}),", click and drag a line from the blue ",(0,o.jsx)(t.strong,{children:"Text"})," port to the ",(0,o.jsx)(t.strong,{children:"Chat Output"})," component's ",(0,o.jsx)(t.strong,{children:"Text"})," port."]}),"\n"]}),"\n",(0,o.jsx)(t.p,{children:"Your finished basic prompting flow should look like this:"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.img,{src:n(90567).A+"",width:"2486",height:"1534"})}),"\n",(0,o.jsx)(t.h3,{id:"run-basic-prompting-flow",children:"Run the Basic Prompting flow"}),"\n",(0,o.jsx)(t.p,{children:"Add your OpenAI API key to the OpenAI model component, and add a prompt to the Prompt component to instruct the model how to respond."}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsxs)(t.p,{children:["Add your credentials to the OpenAI component. The fastest way to complete these fields is with Langflow\u2019s ",(0,o.jsx)(t.a,{href:"/configuration-global-variables",children:"Global Variables"}),"."]}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["In the OpenAI component\u2019s OpenAI API Key field, click the language Globe icon, and then click ",(0,o.jsx)(t.strong,{children:"Add New Variable"}),".\nAlternatively, click your username in the top right corner, and then click ",(0,o.jsx)(t.strong,{children:"Settings"}),", ",(0,o.jsx)(t.strong,{children:"Global Variables"}),", and then ",(0,o.jsx)(t.strong,{children:"Add New"}),"."]}),"\n",(0,o.jsx)(t.li,{children:"Name your variable. Paste your OpenAI API key (sk-\u2026\u200b) in the Value field."}),"\n",(0,o.jsxs)(t.li,{children:["In the ",(0,o.jsx)(t.strong,{children:"Apply To Fields"})," field, select the OpenAI API Key field to apply this variable to all OpenAI Embeddings components."]}),"\n"]}),"\n"]}),"\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsxs)(t.p,{children:["To add a prompt to the ",(0,o.jsx)(t.strong,{children:"Prompt"})," component, click the ",(0,o.jsx)(t.strong,{children:"Template"})," field, and then enter your prompt.\nThe prompt guides the bot's responses to input.\nIf you're unsure, use ",(0,o.jsx)(t.code,{children:"Answer the user as if you were a GenAI expert, enthusiastic about helping them get started building something fresh."})]}),"\n"]}),"\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsxs)(t.p,{children:["Click ",(0,o.jsx)(t.strong,{children:"Playground"})," to start a chat session."]}),"\n"]}),"\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsxs)(t.p,{children:["Enter a query, and then make sure the bot responds according to the prompt you set in the ",(0,o.jsx)(t.strong,{children:"Prompt"})," component."]}),"\n"]}),"\n"]}),"\n",(0,o.jsx)(t.p,{children:"You have successfully created a chatbot application using OpenAI in the Langflow Workspace."}),"\n",(0,o.jsx)(t.h2,{id:"add-vector-rag-to-your-application",children:"Add vector RAG to your application"}),"\n",(0,o.jsx)(t.p,{children:"You created a chatbot application with Langflow, but let's try an experiment."}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["Ask the bot: ",(0,o.jsx)(t.code,{children:"Who won the Oscar in 2024 for best movie?"})]}),"\n",(0,o.jsx)(t.li,{children:"The bot's response is similar to this:"}),"\n"]}),"\n",(0,o.jsx)(l.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"I'm sorry, but I don't have information on events or awards that occurred after",props:{}}]},{tokens:[{content:"October 2023, including the Oscars in 2024.",props:{}}]},{tokens:[{content:"You may want to check the latest news or the official Oscars website",props:{}}]},{tokens:[{content:"for the most current information.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,o.jsxs)(t.p,{children:["Well, that's unfortunate, but you can load more up-to-date data with ",(0,o.jsx)(t.strong,{children:"Retrieval Augmented Generation"}),", or ",(0,o.jsx)(t.strong,{children:"RAG"}),"."]}),"\n",(0,o.jsx)(t.p,{children:"Vector RAG allows you to load your own data and chat with it, unlocking a wider range of possibilities for your chatbot application."}),"\n",(0,o.jsx)(t.h2,{id:"add-vector-rag-with-the-astra-db-component",children:"Add vector RAG with the Astra DB component"}),"\n",(0,o.jsxs)(t.p,{children:["Build on the basic prompting flow and add vector RAG to your chatbot application with the ",(0,o.jsx)(t.strong,{children:"Astra DB Vector Store"})," component."]}),"\n",(0,o.jsxs)(t.p,{children:["Add document ingestion to your basic prompting flow, with the ",(0,o.jsx)(t.strong,{children:"Astra DB"})," component as the vector store."]}),"\n",(0,o.jsx)(t.admonition,{type:"tip",children:(0,o.jsxs)(t.p,{children:["If you don't want to create a blank flow, click ",(0,o.jsx)(t.strong,{children:"New Flow"}),", and then select ",(0,o.jsx)(t.strong,{children:"Vector RAG"})," for a pre-built flow."]})}),"\n",(0,o.jsx)(t.p,{children:"Adding vector RAG to the basic prompting flow will look like this when completed:"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.img,{src:n(69645).A+"",width:"1453",height:"659"})}),"\n",(0,o.jsx)(t.p,{children:"To build the flow, follow these steps:"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["Disconnect the ",(0,o.jsx)(t.strong,{children:"Chat Input"})," component from the ",(0,o.jsx)(t.strong,{children:"OpenAI"})," component by double-clicking on the connecting line."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Vector Stores"}),", select the ",(0,o.jsx)(t.strong,{children:"Astra DB"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"/components-vector-stores#astra-db-vector-store",children:"Astra DB vector store"})," component connects to your ",(0,o.jsx)(t.strong,{children:"Astra DB"})," database."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Data"}),", select the ",(0,o.jsx)(t.strong,{children:"File"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"/components-data#file",children:"File"})," component loads files from your local machine."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Processing"}),", select the ",(0,o.jsx)(t.strong,{children:"Split Text"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"/components-helpers#split-text",children:"Split Text"})," component splits the loaded text into smaller chunks."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Processing"}),", select the ",(0,o.jsx)(t.strong,{children:"Parse Data"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"/components-helpers#parse-data",children:"Parse Data"})," component converts the data from the ",(0,o.jsx)(t.strong,{children:"Astra DB"})," component into plain text."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Embeddings"}),", select the ",(0,o.jsx)(t.strong,{children:"OpenAI Embeddings"})," component, and then drag it to the canvas.\nThe ",(0,o.jsx)(t.a,{href:"/components-embedding-models#openai-embeddings",children:"OpenAI Embeddings"})," component generates embeddings for the user's input, which are compared to the vector data in the database."]}),"\n",(0,o.jsx)(t.li,{children:"Connect the new components into the existing flow, so your flow looks like this:"}),"\n"]}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.img,{src:n(69645).A+"",width:"1453",height:"659"})}),"\n",(0,o.jsxs)(t.ol,{start:"8",children:["\n",(0,o.jsxs)(t.li,{children:["Configure the ",(0,o.jsx)(t.strong,{children:"Astra DB"})," component.","\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["In the ",(0,o.jsx)(t.strong,{children:"Astra DB Application Token"})," field, add your ",(0,o.jsx)(t.strong,{children:"Astra DB"})," application token."]}),"\n",(0,o.jsxs)(t.li,{children:["In the ",(0,o.jsx)(t.strong,{children:"API Endpoint"})," field, add your ",(0,o.jsx)(t.strong,{children:"Astra DB"})," API endpoint. This value is found in your ",(0,o.jsx)(t.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"})," and looks similar to ",(0,o.jsx)(t.code,{children:"https://ASTRA_DB_ID-ASTRA_DB_REGION.apps.astra.datastax.com"}),"."]}),"\n",(0,o.jsxs)(t.li,{children:["In the ",(0,o.jsx)(t.strong,{children:"Collection"})," field, enter your Astra DB collection's name. Collections are created in your ",(0,o.jsx)(t.a,{href:"https://astra.datastax.com",children:"Astra DB deployment"})," for storing vector data. The collection\u2019s ",(0,o.jsx)(t.strong,{children:"Dimensions"})," value must match the dimensions of the ",(0,o.jsx)(t.strong,{children:"OpenAI Embeddings Model"}),". If you\u2019re unsure, enter ",(0,o.jsx)(t.code,{children:"1536"})," and select the ",(0,o.jsx)(t.code,{children:"text-embedding-ada-002"})," model in the OpenAI Embeddings component. For more on collections, see the ",(0,o.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection",children:"DataStax Astra DB Serverless documentation"}),"."]}),"\n",(0,o.jsxs)(t.li,{children:["Select ",(0,o.jsx)(t.strong,{children:"Embedding Model"})," to bring your own embeddings model, which is the connected ",(0,o.jsx)(t.strong,{children:"OpenAI Embeddings"})," component."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,o.jsxs)(t.p,{children:["If you used Langflow's ",(0,o.jsx)(t.strong,{children:"Global Variables"})," feature, the RAG application flow components are already configured with the necessary credentials."]}),"\n",(0,o.jsx)(t.h3,{id:"run-the-chatbot-with-retrieved-context",children:"Run the chatbot with retrieved context"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["Modify the ",(0,o.jsx)(t.strong,{children:"Prompt"})," component to contain variables for both ",(0,o.jsx)(t.code,{children:"{user_question}"})," and ",(0,o.jsx)(t.code,{children:"{context}"}),".\nThe ",(0,o.jsx)(t.code,{children:"{context}"})," variable gives the bot additional context for answering ",(0,o.jsx)(t.code,{children:"{user_question}"})," beyond what the LLM was trained on."]}),"\n"]}),"\n",(0,o.jsx)(l.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"Given the context",props:{}}]},{tokens:[{content:"{context}",props:{}}]},{tokens:[{content:"Answer the question",props:{}}]},{tokens:[{content:"{user_question}",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,o.jsxs)(t.ol,{start:"2",children:["\n",(0,o.jsxs)(t.li,{children:["In the ",(0,o.jsx)(t.strong,{children:"File"})," component, upload a text file from your local machine with data you want to ingest into the ",(0,o.jsx)(t.strong,{children:"Astra DB"})," component database.\nThis example uploads an up-to-date CSV about Oscar winners."]}),"\n",(0,o.jsxs)(t.li,{children:["Click ",(0,o.jsx)(t.strong,{children:"Playground"})," to start a chat session."]}),"\n",(0,o.jsxs)(t.li,{children:["Ask the bot: ",(0,o.jsx)(t.code,{children:"Who won the Oscar in 2024 for best movie?"})]}),"\n",(0,o.jsx)(t.li,{children:"The bot's response should be similar to this:"}),"\n"]}),"\n",(0,o.jsx)(l.Code,{codeConfig:h,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:'The Oscar for Best Picture in 2024 was awarded to "Oppenheimer,"',props:{}}]},{tokens:[{content:"produced by Emma Thomas, Charles Roven, and Christopher Nolan.",props:{}}]}],lang:"text"},annotations:[]}]}),"\n",(0,o.jsxs)(t.p,{children:["Adding an ",(0,o.jsx)(t.strong,{children:"Astra DB"})," vector store brought your chatbot all the way into 2024.\nYou have successfully added RAG to your chatbot application using the ",(0,o.jsx)(t.strong,{children:"Astra DB"})," component."]}),"\n",(0,o.jsx)(t.h2,{id:"next-steps",children:"Next steps"}),"\n",(0,o.jsx)(t.p,{children:"This example used movie data, but the RAG pattern can be used with any data you want to load and chat with."}),"\n",(0,o.jsxs)(t.p,{children:["Make the ",(0,o.jsx)(t.strong,{children:"Astra DB"})," database the brain that ",(0,o.jsx)(t.a,{href:"/agents-overview",children:"Agents"})," use to make decisions."]}),"\n",(0,o.jsxs)(t.p,{children:["Expose this flow as an ",(0,o.jsx)(t.a,{href:"/workspace-api",children:"API"})," and call it from your external applications."]}),"\n",(0,o.jsxs)(t.p,{children:["For more on the ",(0,o.jsx)(t.strong,{children:"Astra DB"})," component, see ",(0,o.jsx)(t.a,{href:"/components-vector-stores#astra-db-vector-store",children:"Astra DB vector store"}),"."]})]})}function g(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}function x(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},69645:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/quickstart-add-document-ingestion-f56698cb430d093e8de22c44e889668e.png"},32358:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/quickstart-basic-prompt-no-connections-890ddb68578d3202095ac450e9620878.png"},90567:(e,t,n)=>{n.d(t,{A:()=>o});const o=n.p+"assets/images/starter-flow-basic-prompting-08b0a690bdd14de3c9843fe835d8e3cc.png"}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.93e25b1e.js b/assets/js/runtime~main.fed923fd.js similarity index 98% rename from assets/js/runtime~main.93e25b1e.js rename to assets/js/runtime~main.fed923fd.js index 549474a2a0..9dab78e6c4 100644 --- a/assets/js/runtime~main.93e25b1e.js +++ b/assets/js/runtime~main.fed923fd.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,c,d,f,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(c.exports,c,c.exports,r),c.loaded=!0,c.exports}r.m=b,r.c=t,e=[],r.O=(a,c,d,f)=>{if(!c){var b=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[c,d,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var b={};a=a||[null,c({}),c([]),c(c)];for(var t=2&d&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(f,b),f},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({51:"b7251463",145:"0be1d5fe",191:"c643a6d5",230:"bc63ae25",417:"93e16042",768:"6d684b63",784:"fe965b62",787:"672a0eba",800:"a4c0ff01",868:"dc7b1ef3",964:"05d835b4",1022:"8a61012d",1035:"24d32e91",1039:"16d61ab3",1185:"c2de64b8",1227:"647965d5",1246:"1b523369",1258:"7da17ff3",1394:"8054effa",1488:"ac3cc3f5",1500:"1e9025f7",1563:"3ef76b56",1567:"22dd74f7",1625:"92852ade",1690:"41a97a99",1845:"2ab0d4f5",1917:"c3616f7f",1956:"fe6f9601",2073:"7b7db446",2097:"338a6f8e",2273:"e756fa26",2431:"c0d3c6ab",2624:"8ff68e6f",2657:"a3ab51d1",2691:"2efb9d3a",2777:"b3ba68b4",2818:"a9b73094",3040:"2148ae42",3110:"6a2beaac",3247:"bd7ab245",3327:"6aa941bb",3347:"b5257597",3391:"f66238ae",3576:"64045095",3694:"c2b1730c",3758:"a963b3cb",3859:"7679ca6e",3917:"c8dad5f1",3964:"829ff4d2",4028:"c2ebd62a",4046:"9ac856ad",4133:"5cf11f26",4429:"32cedcea",4633:"c563aec0",4645:"fef056e9",4778:"e189eece",4784:"438e4337",4841:"8298c1cb",4891:"ca67d85f",4930:"d2ad385b",4931:"a9b4f8aa",4954:"a71efd4a",4973:"2d2c4fcb",5138:"309383dc",5179:"41e3c105",5281:"a0511a5b",5284:"64ca91f1",5339:"9447891f",5425:"ee32130c",5467:"40d13080",5474:"d175aa8b",5475:"18f3809a",5513:"20d49d07",5514:"02955c09",5562:"20e9af62",5572:"873ebc27",5628:"a83bc7c0",5634:"9822a706",5673:"73af8c33",5716:"946d1cee",5718:"5ccf4833",5742:"aba21aa0",5772:"4e7126f8",5865:"e1766139",5866:"3b577cbb",5883:"61cfab8e",5923:"73d1a090",5979:"a3a1efc2",6003:"4d983c8e",6008:"445668ec",6053:"dfc50084",6080:"4d15791b",6147:"ab17fe15",6281:"c96ce3ed",6332:"873508e7",6350:"188ee668",6419:"96eb0e67",6445:"9fb9a766",6473:"4c5e977b",6559:"6f13807a",6668:"18988c08",6682:"5a6d6120",6890:"8b85e1d0",6920:"c817e236",6949:"b36bb719",7098:"a7bd4aaa",7108:"688feaef",7118:"4ce9199e",7165:"547df4a1",7211:"cacdc615",7258:"11478de3",7338:"c39b795e",7408:"3ae94ad4",7453:"fdefa9a8",7462:"921b5fc1",7472:"744aaf8b",7507:"be76515e",7713:"3a82b27e",7892:"790349b7",7894:"0f44198a",8031:"25bf2d67",8054:"85112c90",8064:"274fd934",8085:"cc44357e",8102:"019dbd1f",8188:"ecd67556",8196:"75a9e1e0",8208:"216e3ed7",8261:"474d53cd",8304:"3b356402",8356:"c6a5eaec",8401:"17896441",8504:"e6c6a4d2",8598:"44dfcf75",8661:"8f774222",8679:"3705a9c0",8921:"45476a69",8927:"ae68aa8b",8929:"172b3cfb",8953:"adef6868",9048:"a94703ab",9126:"ea3c040a",9141:"19136925",9304:"c329cc2b",9306:"667d0790",9371:"991799c5",9455:"54175a6c",9461:"23d0e682",9476:"57c9a2b8",9479:"4e038a6a",9483:"7823fa72",9555:"dedd5914",9580:"f81a91eb",9619:"29b8e27a",9642:"eae80ce0",9647:"5e95c892",9905:"43df3697"}[e]||e)+"."+{51:"170583e3",145:"79381adb",191:"5f273688",230:"04fbccf0",417:"099ab03e",768:"65469bf5",784:"b6a35b07",787:"7486d7e0",800:"9022588c",868:"dcdd6bc3",900:"f83a9a5d",964:"3893612e",1022:"11c801ab",1035:"1a6c2f56",1039:"69fae80f",1185:"9748a9a7",1227:"6e74c5d8",1246:"4186baef",1258:"a4bce530",1394:"e591c566",1488:"517c076b",1500:"6ea32b36",1563:"90358b4f",1567:"d3969978",1625:"14cdddbe",1690:"e0babedf",1845:"05da85d7",1917:"8eb62a8e",1956:"ba4da060",2073:"b3f8d739",2097:"ab549652",2237:"254217db",2273:"9499374f",2431:"c2a4a552",2624:"521e4384",2657:"0a14fc05",2691:"137f1b76",2777:"50ca02a1",2818:"807cd6bf",3040:"1a81b288",3110:"3dbd74ae",3247:"52c928ff",3327:"a94a2c25",3347:"a02e271f",3391:"a423a13f",3477:"5c645be2",3576:"da9c580a",3694:"af3527cf",3758:"8dca7900",3859:"51e75ae4",3917:"bdc0c146",3964:"0cd22fac",4028:"c46fe749",4046:"d82ce2df",4133:"709a34ca",4429:"d4f6479b",4633:"6fa1329f",4645:"e8d61841",4778:"88b91dab",4784:"942b7b69",4841:"ce23a523",4848:"03d25b14",4891:"b33e29f2",4930:"616ac30c",4931:"300ccd7e",4954:"e5b1d897",4973:"6543f011",5138:"8e4ae7ac",5179:"64e4c1f0",5281:"e84e8032",5284:"03bad459",5339:"a7de1f63",5425:"212e3898",5467:"1e54ecae",5474:"d264c1d9",5475:"41f624bc",5513:"5dafbef0",5514:"3b4a4736",5562:"88e5e3a2",5572:"7b5d4ffc",5628:"5d209b33",5634:"91c6ae65",5673:"3b49b5ef",5716:"39697a86",5718:"36eb37b6",5742:"60b1d5b2",5772:"1fcd9acf",5865:"7ce0748f",5866:"82b75810",5883:"42922af9",5923:"929d7e31",5979:"16e1357e",6003:"61570841",6008:"adfa0d2f",6053:"da80e031",6080:"cbe50574",6147:"d40743e8",6281:"33a3c771",6332:"f2a4f3d5",6350:"620eb4c9",6419:"219b4ba9",6445:"48996318",6473:"f971cbc2",6559:"d1058175",6668:"73c6cd59",6682:"44a73ed9",6890:"1481bb90",6920:"02274d7b",6949:"f88bd12b",7098:"7a425922",7108:"685fe17f",7118:"05de067b",7165:"3ae4f8e5",7211:"62628bc5",7258:"4eea06e3",7338:"3e8c79c0",7408:"c6de4fbc",7453:"9b7dd8c8",7462:"60236844",7472:"ce946c2a",7507:"cd4f7aad",7713:"cb6d0f3d",7892:"e97eef4c",7894:"5e157eb4",8031:"46f2eb17",8054:"a9dd4a34",8064:"c255462c",8085:"c3449534",8102:"d5229333",8188:"5e58698d",8196:"7af007ad",8208:"872c8aa4",8261:"6883b6d6",8304:"0f075a89",8356:"63481bd6",8401:"72b10a31",8504:"47593649",8598:"47a85797",8661:"098d5c8a",8679:"b99c1633",8921:"a78561cd",8927:"3a5836ad",8929:"27d12542",8953:"fda6291f",9048:"271808f7",9126:"108a0e55",9141:"89b0e034",9304:"8d1cf604",9306:"203273db",9371:"4b41f654",9455:"7870fd22",9461:"5b63a573",9476:"d1729427",9479:"f58748d6",9483:"c57cc5af",9495:"b0827074",9555:"5269bca3",9580:"e76bfa8b",9619:"3d4e8dce",9642:"f8fc243a",9647:"7a7fae88",9905:"7d9e471a"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),d={},f="langflow-docs:",r.l=(e,a,c,b)=>{if(d[e])d[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(c))),a)return a(c)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",r.gca=function(e){return e={17896441:"8401",19136925:"9141",64045095:"3576",b7251463:"51","0be1d5fe":"145",c643a6d5:"191",bc63ae25:"230","93e16042":"417","6d684b63":"768",fe965b62:"784","672a0eba":"787",a4c0ff01:"800",dc7b1ef3:"868","05d835b4":"964","8a61012d":"1022","24d32e91":"1035","16d61ab3":"1039",c2de64b8:"1185","647965d5":"1227","1b523369":"1246","7da17ff3":"1258","8054effa":"1394",ac3cc3f5:"1488","1e9025f7":"1500","3ef76b56":"1563","22dd74f7":"1567","92852ade":"1625","41a97a99":"1690","2ab0d4f5":"1845",c3616f7f:"1917",fe6f9601:"1956","7b7db446":"2073","338a6f8e":"2097",e756fa26:"2273",c0d3c6ab:"2431","8ff68e6f":"2624",a3ab51d1:"2657","2efb9d3a":"2691",b3ba68b4:"2777",a9b73094:"2818","2148ae42":"3040","6a2beaac":"3110",bd7ab245:"3247","6aa941bb":"3327",b5257597:"3347",f66238ae:"3391",c2b1730c:"3694",a963b3cb:"3758","7679ca6e":"3859",c8dad5f1:"3917","829ff4d2":"3964",c2ebd62a:"4028","9ac856ad":"4046","5cf11f26":"4133","32cedcea":"4429",c563aec0:"4633",fef056e9:"4645",e189eece:"4778","438e4337":"4784","8298c1cb":"4841",ca67d85f:"4891",d2ad385b:"4930",a9b4f8aa:"4931",a71efd4a:"4954","2d2c4fcb":"4973","309383dc":"5138","41e3c105":"5179",a0511a5b:"5281","64ca91f1":"5284","9447891f":"5339",ee32130c:"5425","40d13080":"5467",d175aa8b:"5474","18f3809a":"5475","20d49d07":"5513","02955c09":"5514","20e9af62":"5562","873ebc27":"5572",a83bc7c0:"5628","9822a706":"5634","73af8c33":"5673","946d1cee":"5716","5ccf4833":"5718",aba21aa0:"5742","4e7126f8":"5772",e1766139:"5865","3b577cbb":"5866","61cfab8e":"5883","73d1a090":"5923",a3a1efc2:"5979","4d983c8e":"6003","445668ec":"6008",dfc50084:"6053","4d15791b":"6080",ab17fe15:"6147",c96ce3ed:"6281","873508e7":"6332","188ee668":"6350","96eb0e67":"6419","9fb9a766":"6445","4c5e977b":"6473","6f13807a":"6559","18988c08":"6668","5a6d6120":"6682","8b85e1d0":"6890",c817e236:"6920",b36bb719:"6949",a7bd4aaa:"7098","688feaef":"7108","4ce9199e":"7118","547df4a1":"7165",cacdc615:"7211","11478de3":"7258",c39b795e:"7338","3ae94ad4":"7408",fdefa9a8:"7453","921b5fc1":"7462","744aaf8b":"7472",be76515e:"7507","3a82b27e":"7713","790349b7":"7892","0f44198a":"7894","25bf2d67":"8031","85112c90":"8054","274fd934":"8064",cc44357e:"8085","019dbd1f":"8102",ecd67556:"8188","75a9e1e0":"8196","216e3ed7":"8208","474d53cd":"8261","3b356402":"8304",c6a5eaec:"8356",e6c6a4d2:"8504","44dfcf75":"8598","8f774222":"8661","3705a9c0":"8679","45476a69":"8921",ae68aa8b:"8927","172b3cfb":"8929",adef6868:"8953",a94703ab:"9048",ea3c040a:"9126",c329cc2b:"9304","667d0790":"9306","991799c5":"9371","54175a6c":"9455","23d0e682":"9461","57c9a2b8":"9476","4e038a6a":"9479","7823fa72":"9483",dedd5914:"9555",f81a91eb:"9580","29b8e27a":"9619",eae80ce0:"9642","5e95c892":"9647","43df3697":"9905"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,c)=>{var d=r.o(e,a)?e[a]:void 0;if(0!==d)if(d)c.push(d[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var f=new Promise(((c,f)=>d=e[a]=[c,f]));c.push(d[2]=f);var b=r.p+r.u(a),t=new Error;r.l(b,(c=>{if(r.o(e,a)&&(0!==(d=e[a])&&(e[a]=void 0),d)){var f=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+b+")",t.name="ChunkLoadError",t.type=f,t.request=b,d[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var d,f,b=c[0],t=c[1],o=c[2],n=0;if(b.some((a=>0!==e[a]))){for(d in t)r.o(t,d)&&(r.m[d]=t[d]);if(o)var i=o(r)}for(a&&a(c);n{"use strict";var e,a,c,d,f,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(c.exports,c,c.exports,r),c.loaded=!0,c.exports}r.m=b,r.c=t,e=[],r.O=(a,c,d,f)=>{if(!c){var b=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[c,d,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var b={};a=a||[null,c({}),c([]),c(c)];for(var t=2&d&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(f,b),f},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({51:"b7251463",145:"0be1d5fe",191:"c643a6d5",230:"bc63ae25",417:"93e16042",768:"6d684b63",784:"fe965b62",787:"672a0eba",800:"a4c0ff01",868:"dc7b1ef3",964:"05d835b4",1022:"8a61012d",1035:"24d32e91",1039:"16d61ab3",1185:"c2de64b8",1227:"647965d5",1246:"1b523369",1258:"7da17ff3",1394:"8054effa",1488:"ac3cc3f5",1500:"1e9025f7",1563:"3ef76b56",1567:"22dd74f7",1625:"92852ade",1690:"41a97a99",1845:"2ab0d4f5",1917:"c3616f7f",1956:"fe6f9601",2073:"7b7db446",2097:"338a6f8e",2273:"e756fa26",2431:"c0d3c6ab",2624:"8ff68e6f",2657:"a3ab51d1",2691:"2efb9d3a",2777:"b3ba68b4",2818:"a9b73094",3040:"2148ae42",3110:"6a2beaac",3247:"bd7ab245",3327:"6aa941bb",3347:"b5257597",3391:"f66238ae",3576:"64045095",3694:"c2b1730c",3758:"a963b3cb",3859:"7679ca6e",3917:"c8dad5f1",3964:"829ff4d2",4028:"c2ebd62a",4046:"9ac856ad",4133:"5cf11f26",4429:"32cedcea",4633:"c563aec0",4645:"fef056e9",4778:"e189eece",4784:"438e4337",4841:"8298c1cb",4891:"ca67d85f",4930:"d2ad385b",4931:"a9b4f8aa",4954:"a71efd4a",4973:"2d2c4fcb",5138:"309383dc",5179:"41e3c105",5281:"a0511a5b",5284:"64ca91f1",5339:"9447891f",5425:"ee32130c",5467:"40d13080",5474:"d175aa8b",5475:"18f3809a",5513:"20d49d07",5514:"02955c09",5562:"20e9af62",5572:"873ebc27",5628:"a83bc7c0",5634:"9822a706",5673:"73af8c33",5716:"946d1cee",5718:"5ccf4833",5742:"aba21aa0",5772:"4e7126f8",5865:"e1766139",5866:"3b577cbb",5883:"61cfab8e",5923:"73d1a090",5979:"a3a1efc2",6003:"4d983c8e",6008:"445668ec",6053:"dfc50084",6080:"4d15791b",6147:"ab17fe15",6281:"c96ce3ed",6332:"873508e7",6350:"188ee668",6419:"96eb0e67",6445:"9fb9a766",6473:"4c5e977b",6559:"6f13807a",6668:"18988c08",6682:"5a6d6120",6890:"8b85e1d0",6920:"c817e236",6949:"b36bb719",7098:"a7bd4aaa",7108:"688feaef",7118:"4ce9199e",7165:"547df4a1",7211:"cacdc615",7258:"11478de3",7338:"c39b795e",7408:"3ae94ad4",7453:"fdefa9a8",7462:"921b5fc1",7472:"744aaf8b",7507:"be76515e",7713:"3a82b27e",7892:"790349b7",7894:"0f44198a",8031:"25bf2d67",8054:"85112c90",8064:"274fd934",8085:"cc44357e",8102:"019dbd1f",8188:"ecd67556",8196:"75a9e1e0",8208:"216e3ed7",8261:"474d53cd",8304:"3b356402",8356:"c6a5eaec",8401:"17896441",8504:"e6c6a4d2",8598:"44dfcf75",8661:"8f774222",8679:"3705a9c0",8921:"45476a69",8927:"ae68aa8b",8929:"172b3cfb",8953:"adef6868",9048:"a94703ab",9126:"ea3c040a",9141:"19136925",9304:"c329cc2b",9306:"667d0790",9371:"991799c5",9455:"54175a6c",9461:"23d0e682",9476:"57c9a2b8",9479:"4e038a6a",9483:"7823fa72",9555:"dedd5914",9580:"f81a91eb",9619:"29b8e27a",9642:"eae80ce0",9647:"5e95c892",9905:"43df3697"}[e]||e)+"."+{51:"170583e3",145:"79381adb",191:"5f273688",230:"04fbccf0",417:"099ab03e",768:"65469bf5",784:"b6a35b07",787:"7486d7e0",800:"9022588c",868:"dcdd6bc3",900:"f83a9a5d",964:"3893612e",1022:"11c801ab",1035:"1a6c2f56",1039:"69fae80f",1185:"9748a9a7",1227:"6e74c5d8",1246:"4186baef",1258:"a4bce530",1394:"e591c566",1488:"517c076b",1500:"6ea32b36",1563:"90358b4f",1567:"5496219f",1625:"14cdddbe",1690:"e0babedf",1845:"05da85d7",1917:"8eb62a8e",1956:"ba4da060",2073:"b3f8d739",2097:"ab549652",2237:"254217db",2273:"9499374f",2431:"c2a4a552",2624:"521e4384",2657:"0a14fc05",2691:"137f1b76",2777:"50ca02a1",2818:"807cd6bf",3040:"1a81b288",3110:"3dbd74ae",3247:"52c928ff",3327:"a94a2c25",3347:"a02e271f",3391:"a423a13f",3477:"5c645be2",3576:"da9c580a",3694:"af3527cf",3758:"8dca7900",3859:"51e75ae4",3917:"bdc0c146",3964:"0cd22fac",4028:"c46fe749",4046:"d82ce2df",4133:"709a34ca",4429:"d4f6479b",4633:"6fa1329f",4645:"e8d61841",4778:"88b91dab",4784:"942b7b69",4841:"ce23a523",4848:"03d25b14",4891:"b33e29f2",4930:"616ac30c",4931:"e6305f3e",4954:"e5b1d897",4973:"6543f011",5138:"8e4ae7ac",5179:"64e4c1f0",5281:"e84e8032",5284:"03bad459",5339:"a7de1f63",5425:"212e3898",5467:"1e54ecae",5474:"d264c1d9",5475:"41f624bc",5513:"5dafbef0",5514:"3b4a4736",5562:"88e5e3a2",5572:"7b5d4ffc",5628:"5d209b33",5634:"91c6ae65",5673:"3b49b5ef",5716:"39697a86",5718:"36eb37b6",5742:"60b1d5b2",5772:"1fcd9acf",5865:"7ce0748f",5866:"82b75810",5883:"42922af9",5923:"929d7e31",5979:"16e1357e",6003:"61570841",6008:"adfa0d2f",6053:"da80e031",6080:"cbe50574",6147:"d40743e8",6281:"33a3c771",6332:"f2a4f3d5",6350:"620eb4c9",6419:"219b4ba9",6445:"48996318",6473:"f971cbc2",6559:"d1058175",6668:"73c6cd59",6682:"44a73ed9",6890:"1481bb90",6920:"02274d7b",6949:"f88bd12b",7098:"7a425922",7108:"685fe17f",7118:"05de067b",7165:"3ae4f8e5",7211:"62628bc5",7258:"4eea06e3",7338:"3e8c79c0",7408:"c6de4fbc",7453:"9b7dd8c8",7462:"60236844",7472:"ce946c2a",7507:"cd4f7aad",7713:"cb6d0f3d",7892:"e97eef4c",7894:"5e157eb4",8031:"121757d8",8054:"a9dd4a34",8064:"c255462c",8085:"c3449534",8102:"d5229333",8188:"5e58698d",8196:"7af007ad",8208:"872c8aa4",8261:"6883b6d6",8304:"0f075a89",8356:"63481bd6",8401:"72b10a31",8504:"47593649",8598:"47a85797",8661:"098d5c8a",8679:"b99c1633",8921:"a78561cd",8927:"3a5836ad",8929:"27d12542",8953:"fda6291f",9048:"271808f7",9126:"108a0e55",9141:"89b0e034",9304:"8d1cf604",9306:"203273db",9371:"4b41f654",9455:"7870fd22",9461:"5b63a573",9476:"d1729427",9479:"f58748d6",9483:"c57cc5af",9495:"b0827074",9555:"5269bca3",9580:"e76bfa8b",9619:"3d4e8dce",9642:"f8fc243a",9647:"7a7fae88",9905:"7d9e471a"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),d={},f="langflow-docs:",r.l=(e,a,c,b)=>{if(d[e])d[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(c))),a)return a(c)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",r.gca=function(e){return e={17896441:"8401",19136925:"9141",64045095:"3576",b7251463:"51","0be1d5fe":"145",c643a6d5:"191",bc63ae25:"230","93e16042":"417","6d684b63":"768",fe965b62:"784","672a0eba":"787",a4c0ff01:"800",dc7b1ef3:"868","05d835b4":"964","8a61012d":"1022","24d32e91":"1035","16d61ab3":"1039",c2de64b8:"1185","647965d5":"1227","1b523369":"1246","7da17ff3":"1258","8054effa":"1394",ac3cc3f5:"1488","1e9025f7":"1500","3ef76b56":"1563","22dd74f7":"1567","92852ade":"1625","41a97a99":"1690","2ab0d4f5":"1845",c3616f7f:"1917",fe6f9601:"1956","7b7db446":"2073","338a6f8e":"2097",e756fa26:"2273",c0d3c6ab:"2431","8ff68e6f":"2624",a3ab51d1:"2657","2efb9d3a":"2691",b3ba68b4:"2777",a9b73094:"2818","2148ae42":"3040","6a2beaac":"3110",bd7ab245:"3247","6aa941bb":"3327",b5257597:"3347",f66238ae:"3391",c2b1730c:"3694",a963b3cb:"3758","7679ca6e":"3859",c8dad5f1:"3917","829ff4d2":"3964",c2ebd62a:"4028","9ac856ad":"4046","5cf11f26":"4133","32cedcea":"4429",c563aec0:"4633",fef056e9:"4645",e189eece:"4778","438e4337":"4784","8298c1cb":"4841",ca67d85f:"4891",d2ad385b:"4930",a9b4f8aa:"4931",a71efd4a:"4954","2d2c4fcb":"4973","309383dc":"5138","41e3c105":"5179",a0511a5b:"5281","64ca91f1":"5284","9447891f":"5339",ee32130c:"5425","40d13080":"5467",d175aa8b:"5474","18f3809a":"5475","20d49d07":"5513","02955c09":"5514","20e9af62":"5562","873ebc27":"5572",a83bc7c0:"5628","9822a706":"5634","73af8c33":"5673","946d1cee":"5716","5ccf4833":"5718",aba21aa0:"5742","4e7126f8":"5772",e1766139:"5865","3b577cbb":"5866","61cfab8e":"5883","73d1a090":"5923",a3a1efc2:"5979","4d983c8e":"6003","445668ec":"6008",dfc50084:"6053","4d15791b":"6080",ab17fe15:"6147",c96ce3ed:"6281","873508e7":"6332","188ee668":"6350","96eb0e67":"6419","9fb9a766":"6445","4c5e977b":"6473","6f13807a":"6559","18988c08":"6668","5a6d6120":"6682","8b85e1d0":"6890",c817e236:"6920",b36bb719:"6949",a7bd4aaa:"7098","688feaef":"7108","4ce9199e":"7118","547df4a1":"7165",cacdc615:"7211","11478de3":"7258",c39b795e:"7338","3ae94ad4":"7408",fdefa9a8:"7453","921b5fc1":"7462","744aaf8b":"7472",be76515e:"7507","3a82b27e":"7713","790349b7":"7892","0f44198a":"7894","25bf2d67":"8031","85112c90":"8054","274fd934":"8064",cc44357e:"8085","019dbd1f":"8102",ecd67556:"8188","75a9e1e0":"8196","216e3ed7":"8208","474d53cd":"8261","3b356402":"8304",c6a5eaec:"8356",e6c6a4d2:"8504","44dfcf75":"8598","8f774222":"8661","3705a9c0":"8679","45476a69":"8921",ae68aa8b:"8927","172b3cfb":"8929",adef6868:"8953",a94703ab:"9048",ea3c040a:"9126",c329cc2b:"9304","667d0790":"9306","991799c5":"9371","54175a6c":"9455","23d0e682":"9461","57c9a2b8":"9476","4e038a6a":"9479","7823fa72":"9483",dedd5914:"9555",f81a91eb:"9580","29b8e27a":"9619",eae80ce0:"9642","5e95c892":"9647","43df3697":"9905"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,c)=>{var d=r.o(e,a)?e[a]:void 0;if(0!==d)if(d)c.push(d[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var f=new Promise(((c,f)=>d=e[a]=[c,f]));c.push(d[2]=f);var b=r.p+r.u(a),t=new Error;r.l(b,(c=>{if(r.o(e,a)&&(0!==(d=e[a])&&(e[a]=void 0),d)){var f=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+b+")",t.name="ChunkLoadError",t.type=f,t.request=b,d[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var d,f,b=c[0],t=c[1],o=c[2],n=0;if(b.some((a=>0!==e[a]))){for(d in t)r.o(t,d)&&(r.m[d]=t[d]);if(o)var i=o(r)}for(a&&a(c);n - + diff --git a/components-custom-components.html b/components-custom-components.html index e972d3c24f..4fa059639f 100644 --- a/components-custom-components.html +++ b/components-custom-components.html @@ -10,7 +10,7 @@ - + diff --git a/components-data.html b/components-data.html index dc2129e8e0..3ffc43a199 100644 --- a/components-data.html +++ b/components-data.html @@ -10,7 +10,7 @@ - + diff --git a/components-embedding-models.html b/components-embedding-models.html index 0dc0fc2ca3..8837502c21 100644 --- a/components-embedding-models.html +++ b/components-embedding-models.html @@ -10,7 +10,7 @@ - + diff --git a/components-helpers.html b/components-helpers.html index 92c2ec9119..3a8aad6642 100644 --- a/components-helpers.html +++ b/components-helpers.html @@ -10,7 +10,7 @@ - + diff --git a/components-io.html b/components-io.html index 024a7a2552..ade20178e3 100644 --- a/components-io.html +++ b/components-io.html @@ -10,7 +10,7 @@ - + diff --git a/components-loaders.html b/components-loaders.html index db880394fb..fbc8eb83f9 100644 --- a/components-loaders.html +++ b/components-loaders.html @@ -10,7 +10,7 @@ - + diff --git a/components-logic.html b/components-logic.html index f8d103da0a..03d8e4b4b0 100644 --- a/components-logic.html +++ b/components-logic.html @@ -10,7 +10,7 @@ - + diff --git a/components-models.html b/components-models.html index 6fafe942a2..18361d07ac 100644 --- a/components-models.html +++ b/components-models.html @@ -10,7 +10,7 @@ - + diff --git a/components-overview.html b/components-overview.html index baae7a51f9..cb2478c842 100644 --- a/components-overview.html +++ b/components-overview.html @@ -10,7 +10,7 @@ - + diff --git a/components-prompts.html b/components-prompts.html index 4945d36b6f..3e4687af2b 100644 --- a/components-prompts.html +++ b/components-prompts.html @@ -10,7 +10,7 @@ - + diff --git a/components-rag.html b/components-rag.html index 700772a879..d29640dee3 100644 --- a/components-rag.html +++ b/components-rag.html @@ -10,7 +10,7 @@ - + diff --git a/components-vector-stores.html b/components-vector-stores.html index 61bec74749..5cff7917b9 100644 --- a/components-vector-stores.html +++ b/components-vector-stores.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-api-keys.html b/configuration-api-keys.html index b1d49062ba..15cc1c689d 100644 --- a/configuration-api-keys.html +++ b/configuration-api-keys.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-authentication.html b/configuration-authentication.html index 4343b05232..2e3ba76aa0 100644 --- a/configuration-authentication.html +++ b/configuration-authentication.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-auto-save.html b/configuration-auto-save.html index 0022d0bd24..e4f1ffef69 100644 --- a/configuration-auto-save.html +++ b/configuration-auto-save.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-backend-only.html b/configuration-backend-only.html index 87e4f786a2..06978a5f8d 100644 --- a/configuration-backend-only.html +++ b/configuration-backend-only.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-cli.html b/configuration-cli.html index 49037f8181..77549a1856 100644 --- a/configuration-cli.html +++ b/configuration-cli.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-global-variables.html b/configuration-global-variables.html index b540affbbb..55eae61425 100644 --- a/configuration-global-variables.html +++ b/configuration-global-variables.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-security-best-practices.html b/configuration-security-best-practices.html index 5802f02c4b..47de013c1b 100644 --- a/configuration-security-best-practices.html +++ b/configuration-security-best-practices.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-community.html b/contributing-community.html index f5d335105f..1a0bd2ccee 100644 --- a/contributing-community.html +++ b/contributing-community.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-components.html b/contributing-components.html index 160a2aaf00..11e6695943 100644 --- a/contributing-components.html +++ b/contributing-components.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-github-discussions.html b/contributing-github-discussions.html index 89ba96e488..4f87f20e67 100644 --- a/contributing-github-discussions.html +++ b/contributing-github-discussions.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-github-issues.html b/contributing-github-issues.html index c69860f9b8..a9bcc8356f 100644 --- a/contributing-github-issues.html +++ b/contributing-github-issues.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-how-to-contribute.html b/contributing-how-to-contribute.html index 90a1d49e7a..cabe9e06d6 100644 --- a/contributing-how-to-contribute.html +++ b/contributing-how-to-contribute.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-telemetry.html b/contributing-telemetry.html index 6889c23b39..55c67ed45b 100644 --- a/contributing-telemetry.html +++ b/contributing-telemetry.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-docker.html b/deployment-docker.html index 3765daca71..390bc2f1f6 100644 --- a/deployment-docker.html +++ b/deployment-docker.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-gcp.html b/deployment-gcp.html index c00ff921e1..5854e504cf 100644 --- a/deployment-gcp.html +++ b/deployment-gcp.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-hugging-face-spaces.html b/deployment-hugging-face-spaces.html index f439eecfe6..50620bddf7 100644 --- a/deployment-hugging-face-spaces.html +++ b/deployment-hugging-face-spaces.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-kubernetes.html b/deployment-kubernetes.html index 74111a206a..4b047cc657 100644 --- a/deployment-kubernetes.html +++ b/deployment-kubernetes.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-railway.html b/deployment-railway.html index 810a0af792..fbf52a1231 100644 --- a/deployment-railway.html +++ b/deployment-railway.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-render.html b/deployment-render.html index 225d8c3ec0..9a667f99d3 100644 --- a/deployment-render.html +++ b/deployment-render.html @@ -10,7 +10,7 @@ - + diff --git a/environment-variables.html b/environment-variables.html index d1d1e8c84b..152d888970 100644 --- a/environment-variables.html +++ b/environment-variables.html @@ -10,7 +10,7 @@ - + diff --git a/get-started-installation.html b/get-started-installation.html index 77d728b1b6..6602620e07 100644 --- a/get-started-installation.html +++ b/get-started-installation.html @@ -10,7 +10,7 @@ - + diff --git a/get-started-quickstart.html b/get-started-quickstart.html index eda794284e..b1651d42ab 100644 --- a/get-started-quickstart.html +++ b/get-started-quickstart.html @@ -3,14 +3,14 @@ -Quickstart | Langflow Documentation +Quickstart | Langflow Documentation - + @@ -19,17 +19,25 @@

Quickstart

-

Prerequisites

+

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.

+

Prerequisites

+

Open Langflow and start a new project

+
    +
  1. From the Langflow dashboard, click New Flow, and then select Blank Flow. A blank workspace opens where you can build your flow.
  2. +
+
tip

If you don't want to create a blank flow, click New Flow, and then select Basic Prompting for a pre-built flow. +Continue to Run the basic prompting flow.

+
  1. Select Basic Prompting.

  2. @@ -37,43 +45,121 @@

    The Basic Prompting flow is created.

-

-

This flow allows you to chat with the OpenAI component through the Prompt component.

-
    -
  1. To examine the flow's Prompt component, click on the Template field of the Prompt component.
  2. -
-

_10
Answer the user as if you were a pirate.
_10
_10
User: {user_input}
_10
_10
Answer:

-

The Template instructs the LLM to accept {user_input} and Answer the user as if you were a pirate..

-
    -
  1. -

    To create an environment variable for the OpenAI component, in the OpenAI API Key field, click the Globe button, and then click Add New Variable.

    +

    Build the basic prompting flow

    +

    The Basic Prompting flow will look like this when it's completed:

    +

    +

    To build the Basic Prompting flow, follow these steps:

      -
    1. In the Variable Name field, enter openai_api_key.
    2. -
    3. In the Value field, paste your OpenAI API Key (sk-...).
    4. -
    5. Click Save Variable.
    6. +
    7. Click Inputs, select the Chat Input component, and then drag it to the canvas. +The Chat Input component accepts user input to the chat.
    8. +
    9. Click Prompt, select the Prompt component, and then drag it to the canvas. +The Prompt component combines the user input with a user-defined prompt.
    10. +
    11. Click Outputs, select the Chat Output component, and then drag it to the canvas. +The Chat Output component prints the flow's output to the chat.
    12. +
    13. Click Models, select the OpenAI component, and then drag it to the canvas. +The OpenAI model component sends the user input and prompt to the OpenAI API and receives a response.
    14. +
    +

    You should now have a flow that looks like this:

    +

    +

    With no connections between them, the components won't interact with each other. +You want data to flow from Chat Input to Chat Output via the connectors between the components. +Each component accepts inputs on its left side, and sends outputs on its right side. +Hover over the connection ports to see the data types that the component accepts. +For more on component inputs and outputs, see Components overview.

    +
      +
    1. To connect the Chat Input component to the OpenAI model component, click and drag a line from the blue Message port to the OpenAI model component's Input port.
    2. +
    3. To connect the Prompt component to the OpenAI model component, click and drag a line from the blue Prompt Message port to the OpenAI model component's System Message port.
    4. +
    5. To connect the OpenAI model component to the Chat Output, click and drag a line from the blue Text port to the Chat Output component's Text port.
    6. +
    +

    Your finished basic prompting flow should look like this:

    +

    +

    Run the Basic Prompting flow

    +

    Add your OpenAI API key to the OpenAI model component, and add a prompt to the Prompt component to instruct the model how to respond.

    +
      +
    1. +

      Add your credentials to the OpenAI component. The fastest way to complete these fields is with Langflow’s Global Variables.

      +
        +
      1. In the OpenAI component’s OpenAI API Key field, click the language Globe icon, and then click Add New Variable. +Alternatively, click your username in the top right corner, and then click Settings, Global Variables, and then Add New.
      2. +
      3. Name your variable. Paste your OpenAI API key (sk-…​) in the Value field.
      4. +
      5. In the Apply To Fields field, select the OpenAI API Key field to apply this variable to all OpenAI Embeddings components.
      6. +
      +
    2. +
    3. +

      To add a prompt to the Prompt component, click the Template field, and then enter your prompt. +The prompt guides the bot's responses to input. +If you're unsure, use Answer the user as if you were a GenAI expert, enthusiastic about helping them get started building something fresh.

      +
    4. +
    5. +

      Click Playground to start a chat session.

      +
    6. +
    7. +

      Enter a query, and then make sure the bot responds according to the prompt you set in the Prompt component.

      +
    8. +
    +

    You have successfully created a chatbot application using OpenAI in the Langflow Workspace.

    +

    Add vector RAG to your application

    +

    You created a chatbot application with Langflow, but let's try an experiment.

    +
      +
    1. Ask the bot: Who won the Oscar in 2024 for best movie?
    2. +
    3. The bot's response is similar to this:
    4. +
    +

    _10
    I'm sorry, but I don't have information on events or awards that occurred after
    _10
    October 2023, including the Oscars in 2024.
    _10
    You may want to check the latest news or the official Oscars website
    _10
    for the most current information.

    +

    Well, that's unfortunate, but you can load more up-to-date data with Retrieval Augmented Generation, or RAG.

    +

    Vector RAG allows you to load your own data and chat with it, unlocking a wider range of possibilities for your chatbot application.

    +

    Add vector RAG with the Astra DB component

    +

    Build on the basic prompting flow and add vector RAG to your chatbot application with the Astra DB Vector Store component.

    +

    Add document ingestion to your basic prompting flow, with the Astra DB component as the vector store.

    +
    tip

    If you don't want to create a blank flow, click New Flow, and then select Vector RAG for a pre-built flow.

    +

    Adding vector RAG to the basic prompting flow will look like this when completed:

    +

    +

    To build the flow, follow these steps:

    +
      +
    1. Disconnect the Chat Input component from the OpenAI component by double-clicking on the connecting line.
    2. +
    3. Click Vector Stores, select the Astra DB component, and then drag it to the canvas. +The Astra DB vector store component connects to your Astra DB database.
    4. +
    5. Click Data, select the File component, and then drag it to the canvas. +The File component loads files from your local machine.
    6. +
    7. Click Processing, select the Split Text component, and then drag it to the canvas. +The Split Text component splits the loaded text into smaller chunks.
    8. +
    9. Click Processing, select the Parse Data component, and then drag it to the canvas. +The Parse Data component converts the data from the Astra DB component into plain text.
    10. +
    11. Click Embeddings, select the OpenAI Embeddings component, and then drag it to the canvas. +The OpenAI Embeddings component generates embeddings for the user's input, which are compared to the vector data in the database.
    12. +
    13. Connect the new components into the existing flow, so your flow looks like this:
    14. +
    +

    +
      +
    1. Configure the Astra DB component. +
        +
      1. In the Astra DB Application Token field, add your Astra DB application token.
      2. +
      3. In the API Endpoint field, add your Astra DB API endpoint. This value is found in your Astra DB deployment and looks similar to https://ASTRA_DB_ID-ASTRA_DB_REGION.apps.astra.datastax.com.
      4. +
      5. In the Collection field, enter your Astra DB collection's name. Collections are created in your Astra DB deployment for storing vector data. The collection’s Dimensions value must match the dimensions of the OpenAI Embeddings Model. If you’re unsure, enter 1536 and select the text-embedding-ada-002 model in the OpenAI Embeddings component. For more on collections, see the DataStax Astra DB Serverless documentation.
      6. +
      7. Select Embedding Model to bring your own embeddings model, which is the connected OpenAI Embeddings component.
    -

    Run the Basic Prompting flow

    +

    If you used Langflow's Global Variables feature, the RAG application flow components are already configured with the necessary credentials.

    +

    Run the chatbot with retrieved context

      -
    1. To open the Playground pane, click Playground. -This is where you can interact with your AI.
    2. -
    3. Type a message and press Enter. The bot should respond in a markedly piratical manner!
    4. +
    5. Modify the Prompt component to contain variables for both {user_question} and {context}. +The {context} variable gives the bot additional context for answering {user_question} beyond what the LLM was trained on.
    -

    Modify the prompt for a different result

    -
      -
    1. To modify your prompt results, in the Prompt template, click the Template field. The Edit Prompt window opens.
    2. -
    3. Change Answer the user as if you were a pirate to a different character, perhaps Answer the user as if you were Hermione Granger.
    4. -
    5. Run the workflow again. The response will be very different.
    6. +

      _10
      Given the context
      _10
      {context}
      _10
      Answer the question
      _10
      {user_question}

      +
        +
      1. In the File component, upload a text file from your local machine with data you want to ingest into the Astra DB component database. +This example uploads an up-to-date CSV about Oscar winners.
      2. +
      3. Click Playground to start a chat session.
      4. +
      5. Ask the bot: Who won the Oscar in 2024 for best movie?
      6. +
      7. The bot's response should be similar to this:
      -

      Next steps

      -
      -

      Well done! You've built your first prompt in Langflow. 🎉

      -

      By dragging Langflow components to your workspace, you can create all sorts of interesting behaviors. Here are a couple of examples:

      -

Hi, how can I help you?

+

_10
The Oscar for Best Picture in 2024 was awarded to "Oppenheimer,"
_10
produced by Emma Thomas, Charles Roven, and Christopher Nolan.

+

Adding an Astra DB vector store brought your chatbot all the way into 2024. +You have successfully added RAG to your chatbot application using the Astra DB component.

+

Next steps

+

This example used movie data, but the RAG pattern can be used with any data you want to load and chat with.

+

Make the Astra DB database the brain that Agents use to make decisions.

+

Expose this flow as an API and call it from your external applications.

+

For more on the Astra DB component, see Astra DB vector store.

Hi, how can I help you?

\ No newline at end of file diff --git a/guides-chat-memory.html b/guides-chat-memory.html index 426b03313e..25d9d31bc6 100644 --- a/guides-chat-memory.html +++ b/guides-chat-memory.html @@ -10,7 +10,7 @@ - + diff --git a/guides-data-message.html b/guides-data-message.html index b8459c7ca1..dc87a82f9e 100644 --- a/guides-data-message.html +++ b/guides-data-message.html @@ -10,7 +10,7 @@ - + diff --git a/guides-new-to-llms.html b/guides-new-to-llms.html index f8a722a2c3..9f4d69e4fb 100644 --- a/guides-new-to-llms.html +++ b/guides-new-to-llms.html @@ -10,7 +10,7 @@ - + diff --git a/img/quickstart-add-document-ingestion.png b/img/quickstart-add-document-ingestion.png new file mode 100644 index 0000000000..c86cae967f Binary files /dev/null and b/img/quickstart-add-document-ingestion.png differ diff --git a/img/quickstart-basic-prompt-no-connections.png b/img/quickstart-basic-prompt-no-connections.png new file mode 100644 index 0000000000..a1083e5d80 Binary files /dev/null and b/img/quickstart-basic-prompt-no-connections.png differ diff --git a/img/starter-flow-basic-prompting.png b/img/starter-flow-basic-prompting.png index 8427eb4382..bd94efbff7 100644 Binary files a/img/starter-flow-basic-prompting.png and b/img/starter-flow-basic-prompting.png differ diff --git a/index.html b/index.html index a36fe80cd5..edfbb715dd 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-assemblyai.html b/integrations-assemblyai.html index d027676a7d..2d2e115636 100644 --- a/integrations-assemblyai.html +++ b/integrations-assemblyai.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-langfuse.html b/integrations-langfuse.html index 8e192f668e..91b63910af 100644 --- a/integrations-langfuse.html +++ b/integrations-langfuse.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-langsmith.html b/integrations-langsmith.html index 6b69a4ae49..c4d03c9195 100644 --- a/integrations-langsmith.html +++ b/integrations-langsmith.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-langwatch.html b/integrations-langwatch.html index d874ce287e..bf4e7858c3 100644 --- a/integrations-langwatch.html +++ b/integrations-langwatch.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-setup-google-cloud-vertex-ai-langflow.html b/integrations-setup-google-cloud-vertex-ai-langflow.html index 9ca486a3c5..6df4f30188 100644 --- a/integrations-setup-google-cloud-vertex-ai-langflow.html +++ b/integrations-setup-google-cloud-vertex-ai-langflow.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-setup-google-oauth-langflow.html b/integrations-setup-google-oauth-langflow.html index 97f2a7f974..6508b0919d 100644 --- a/integrations-setup-google-oauth-langflow.html +++ b/integrations-setup-google-oauth-langflow.html @@ -10,7 +10,7 @@ - + diff --git a/integrations/notion/notion-agent-conversational.html b/integrations/notion/notion-agent-conversational.html index dfa596ac5a..c5c58d2923 100644 --- a/integrations/notion/notion-agent-conversational.html +++ b/integrations/notion/notion-agent-conversational.html @@ -10,7 +10,7 @@ - + diff --git a/integrations/notion/notion-agent-meeting-notes.html b/integrations/notion/notion-agent-meeting-notes.html index e12fb30553..30c1338c81 100644 --- a/integrations/notion/notion-agent-meeting-notes.html +++ b/integrations/notion/notion-agent-meeting-notes.html @@ -10,7 +10,7 @@ - + diff --git a/integrations/notion/setup.html b/integrations/notion/setup.html index 9be326742f..acc0f05209 100644 --- a/integrations/notion/setup.html +++ b/integrations/notion/setup.html @@ -10,7 +10,7 @@ - + diff --git a/sitemap.xml b/sitemap.xml index f229a7e6da..05e9c01b24 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://docs.langflow.org/apihttps://docs.langflow.org/api/add-userhttps://docs.langflow.org/api/auto-loginhttps://docs.langflow.org/api/build-flowhttps://docs.langflow.org/api/build-vertexhttps://docs.langflow.org/api/build-vertex-streamhttps://docs.langflow.org/api/check-if-store-has-api-keyhttps://docs.langflow.org/api/check-if-store-is-enabledhttps://docs.langflow.org/api/create-api-key-routehttps://docs.langflow.org/api/create-flowhttps://docs.langflow.org/api/create-flowshttps://docs.langflow.org/api/create-folderhttps://docs.langflow.org/api/create-upload-filehttps://docs.langflow.org/api/create-variablehttps://docs.langflow.org/api/custom-componenthttps://docs.langflow.org/api/custom-component-updatehttps://docs.langflow.org/api/delete-api-key-routehttps://docs.langflow.org/api/delete-filehttps://docs.langflow.org/api/delete-flowhttps://docs.langflow.org/api/delete-folderhttps://docs.langflow.org/api/delete-messageshttps://docs.langflow.org/api/delete-messages-sessionhttps://docs.langflow.org/api/delete-multiple-flowshttps://docs.langflow.org/api/delete-userhttps://docs.langflow.org/api/delete-variablehttps://docs.langflow.org/api/delete-vertex-buildshttps://docs.langflow.org/api/download-componenthttps://docs.langflow.org/api/download-filehttps://docs.langflow.org/api/download-file-1https://docs.langflow.org/api/download-imagehttps://docs.langflow.org/api/download-multiple-filehttps://docs.langflow.org/api/download-profile-picturehttps://docs.langflow.org/api/experimental-run-flowhttps://docs.langflow.org/api/get-allhttps://docs.langflow.org/api/get-api-keys-routehttps://docs.langflow.org/api/get-componentshttps://docs.langflow.org/api/get-confighttps://docs.langflow.org/api/get-list-of-components-liked-by-userhttps://docs.langflow.org/api/get-messageshttps://docs.langflow.org/api/get-starter-projectshttps://docs.langflow.org/api/get-tagshttps://docs.langflow.org/api/get-task-statushttps://docs.langflow.org/api/get-transactionshttps://docs.langflow.org/api/get-versionhttps://docs.langflow.org/api/get-vertex-buildshttps://docs.langflow.org/api/healthhttps://docs.langflow.org/api/health-checkhttps://docs.langflow.org/api/like-componenthttps://docs.langflow.org/api/list-fileshttps://docs.langflow.org/api/list-profile-pictureshttps://docs.langflow.org/api/login-to-get-access-tokenhttps://docs.langflow.org/api/logouthttps://docs.langflow.org/api/logshttps://docs.langflow.org/api/patch-userhttps://docs.langflow.org/api/post-validate-codehttps://docs.langflow.org/api/post-validate-prompthttps://docs.langflow.org/api/processhttps://docs.langflow.org/api/process-1https://docs.langflow.org/api/read-all-usershttps://docs.langflow.org/api/read-basic-exampleshttps://docs.langflow.org/api/read-current-userhttps://docs.langflow.org/api/read-flowhttps://docs.langflow.org/api/read-flowshttps://docs.langflow.org/api/read-folderhttps://docs.langflow.org/api/read-foldershttps://docs.langflow.org/api/read-variableshttps://docs.langflow.org/api/refresh-tokenhttps://docs.langflow.org/api/reset-passwordhttps://docs.langflow.org/api/retrieve-vertices-orderhttps://docs.langflow.org/api/save-store-api-keyhttps://docs.langflow.org/api/share-componenthttps://docs.langflow.org/api/simplified-run-flowhttps://docs.langflow.org/api/stream-logshttps://docs.langflow.org/api/update-flowhttps://docs.langflow.org/api/update-folderhttps://docs.langflow.org/api/update-messagehttps://docs.langflow.org/api/update-session-idhttps://docs.langflow.org/api/update-shared-componenthttps://docs.langflow.org/api/update-variablehttps://docs.langflow.org/api/upload-filehttps://docs.langflow.org/api/upload-file-1https://docs.langflow.org/api/upload-file-2https://docs.langflow.org/api/webhook-run-flowhttps://docs.langflow.org/agents-overview2024-12-11T17:30:08.000Zhttps://docs.langflow.org/agents-tool-calling-agent-component2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-agents2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-custom-components2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-data2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-embedding-models2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-helpers2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-io2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-loaders2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-logic2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-models2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-overview2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-prompts2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-rag2024-12-11T17:30:08.000Zhttps://docs.langflow.org/components-vector-stores2024-12-11T17:30:08.000Zhttps://docs.langflow.org/Components/components-memories2024-12-11T17:30:08.000Zhttps://docs.langflow.org/Components/components-tools2024-12-11T17:30:08.000Zhttps://docs.langflow.org/configuration-api-keys2024-12-11T17:30:08.000Zhttps://docs.langflow.org/configuration-authentication2024-12-11T17:30:08.000Zhttps://docs.langflow.org/configuration-auto-save2024-12-11T17:30:08.000Zhttps://docs.langflow.org/configuration-backend-only2024-12-11T17:30:08.000Zhttps://docs.langflow.org/configuration-cli2024-12-11T17:30:08.000Zhttps://docs.langflow.org/configuration-global-variables2024-12-11T17:30:08.000Zhttps://docs.langflow.org/configuration-security-best-practices2024-12-11T17:30:08.000Zhttps://docs.langflow.org/Configuration/configuration-custom-database2024-12-11T17:30:08.000Zhttps://docs.langflow.org/contributing-community2024-12-11T17:30:08.000Zhttps://docs.langflow.org/contributing-components2024-12-11T17:30:08.000Zhttps://docs.langflow.org/contributing-github-discussions2024-12-11T17:30:08.000Zhttps://docs.langflow.org/contributing-github-issues2024-12-11T17:30:08.000Zhttps://docs.langflow.org/contributing-how-to-contribute2024-12-11T17:30:08.000Zhttps://docs.langflow.org/contributing-telemetry2024-12-11T17:30:08.000Zhttps://docs.langflow.org/deployment-docker2024-12-11T17:30:08.000Zhttps://docs.langflow.org/deployment-gcp2024-12-11T17:30:08.000Zhttps://docs.langflow.org/deployment-hugging-face-spaces2024-12-11T17:30:08.000Zhttps://docs.langflow.org/deployment-kubernetes2024-12-11T17:30:08.000Zhttps://docs.langflow.org/deployment-railway2024-12-11T17:30:08.000Zhttps://docs.langflow.org/deployment-render2024-12-11T17:30:08.000Zhttps://docs.langflow.org/environment-variables2024-12-11T17:30:08.000Zhttps://docs.langflow.org/get-started-installation2024-12-11T17:30:08.000Zhttps://docs.langflow.org/get-started-quickstart2024-12-11T17:30:08.000Zhttps://docs.langflow.org/guides-chat-memory2024-12-11T17:30:08.000Zhttps://docs.langflow.org/guides-data-message2024-12-11T17:30:08.000Zhttps://docs.langflow.org/guides-new-to-llms2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations-assemblyai2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations-langfuse2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations-langsmith2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations-langwatch2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations-setup-google-cloud-vertex-ai-langflow2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations-setup-google-oauth-langflow2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations/notion/notion-agent-conversational2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations/notion/notion-agent-meeting-notes2024-12-11T17:30:08.000Zhttps://docs.langflow.org/integrations/notion/setup2024-12-11T17:30:08.000Zhttps://docs.langflow.org/starter-projects-basic-prompting2024-12-11T17:30:08.000Zhttps://docs.langflow.org/starter-projects-blog-writer2024-12-11T17:30:08.000Zhttps://docs.langflow.org/starter-projects-document-qa2024-12-11T17:30:08.000Zhttps://docs.langflow.org/starter-projects-memory-chatbot2024-12-11T17:30:08.000Zhttps://docs.langflow.org/starter-projects-sequential-agent2024-12-11T17:30:08.000Zhttps://docs.langflow.org/starter-projects-simple-agent2024-12-11T17:30:08.000Zhttps://docs.langflow.org/starter-projects-travel-planning-agent2024-12-11T17:30:08.000Zhttps://docs.langflow.org/starter-projects-vector-store-rag2024-12-11T17:30:08.000Zhttps://docs.langflow.org/workspace-api2024-12-11T17:30:08.000Zhttps://docs.langflow.org/workspace-logs2024-12-11T17:30:08.000Zhttps://docs.langflow.org/workspace-overview2024-12-11T17:30:08.000Zhttps://docs.langflow.org/workspace-playground2024-12-11T17:30:08.000Zhttps://docs.langflow.org/2024-12-11T17:30:08.000Z \ No newline at end of file +https://docs.langflow.org/apihttps://docs.langflow.org/api/add-userhttps://docs.langflow.org/api/auto-loginhttps://docs.langflow.org/api/build-flowhttps://docs.langflow.org/api/build-vertexhttps://docs.langflow.org/api/build-vertex-streamhttps://docs.langflow.org/api/check-if-store-has-api-keyhttps://docs.langflow.org/api/check-if-store-is-enabledhttps://docs.langflow.org/api/create-api-key-routehttps://docs.langflow.org/api/create-flowhttps://docs.langflow.org/api/create-flowshttps://docs.langflow.org/api/create-folderhttps://docs.langflow.org/api/create-upload-filehttps://docs.langflow.org/api/create-variablehttps://docs.langflow.org/api/custom-componenthttps://docs.langflow.org/api/custom-component-updatehttps://docs.langflow.org/api/delete-api-key-routehttps://docs.langflow.org/api/delete-filehttps://docs.langflow.org/api/delete-flowhttps://docs.langflow.org/api/delete-folderhttps://docs.langflow.org/api/delete-messageshttps://docs.langflow.org/api/delete-messages-sessionhttps://docs.langflow.org/api/delete-multiple-flowshttps://docs.langflow.org/api/delete-userhttps://docs.langflow.org/api/delete-variablehttps://docs.langflow.org/api/delete-vertex-buildshttps://docs.langflow.org/api/download-componenthttps://docs.langflow.org/api/download-filehttps://docs.langflow.org/api/download-file-1https://docs.langflow.org/api/download-imagehttps://docs.langflow.org/api/download-multiple-filehttps://docs.langflow.org/api/download-profile-picturehttps://docs.langflow.org/api/experimental-run-flowhttps://docs.langflow.org/api/get-allhttps://docs.langflow.org/api/get-api-keys-routehttps://docs.langflow.org/api/get-componentshttps://docs.langflow.org/api/get-confighttps://docs.langflow.org/api/get-list-of-components-liked-by-userhttps://docs.langflow.org/api/get-messageshttps://docs.langflow.org/api/get-starter-projectshttps://docs.langflow.org/api/get-tagshttps://docs.langflow.org/api/get-task-statushttps://docs.langflow.org/api/get-transactionshttps://docs.langflow.org/api/get-versionhttps://docs.langflow.org/api/get-vertex-buildshttps://docs.langflow.org/api/healthhttps://docs.langflow.org/api/health-checkhttps://docs.langflow.org/api/like-componenthttps://docs.langflow.org/api/list-fileshttps://docs.langflow.org/api/list-profile-pictureshttps://docs.langflow.org/api/login-to-get-access-tokenhttps://docs.langflow.org/api/logouthttps://docs.langflow.org/api/logshttps://docs.langflow.org/api/patch-userhttps://docs.langflow.org/api/post-validate-codehttps://docs.langflow.org/api/post-validate-prompthttps://docs.langflow.org/api/processhttps://docs.langflow.org/api/process-1https://docs.langflow.org/api/read-all-usershttps://docs.langflow.org/api/read-basic-exampleshttps://docs.langflow.org/api/read-current-userhttps://docs.langflow.org/api/read-flowhttps://docs.langflow.org/api/read-flowshttps://docs.langflow.org/api/read-folderhttps://docs.langflow.org/api/read-foldershttps://docs.langflow.org/api/read-variableshttps://docs.langflow.org/api/refresh-tokenhttps://docs.langflow.org/api/reset-passwordhttps://docs.langflow.org/api/retrieve-vertices-orderhttps://docs.langflow.org/api/save-store-api-keyhttps://docs.langflow.org/api/share-componenthttps://docs.langflow.org/api/simplified-run-flowhttps://docs.langflow.org/api/stream-logshttps://docs.langflow.org/api/update-flowhttps://docs.langflow.org/api/update-folderhttps://docs.langflow.org/api/update-messagehttps://docs.langflow.org/api/update-session-idhttps://docs.langflow.org/api/update-shared-componenthttps://docs.langflow.org/api/update-variablehttps://docs.langflow.org/api/upload-filehttps://docs.langflow.org/api/upload-file-1https://docs.langflow.org/api/upload-file-2https://docs.langflow.org/api/webhook-run-flowhttps://docs.langflow.org/agents-overview2024-12-11T21:33:03.000Zhttps://docs.langflow.org/agents-tool-calling-agent-component2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-agents2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-custom-components2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-data2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-embedding-models2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-helpers2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-io2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-loaders2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-logic2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-models2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-overview2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-prompts2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-rag2024-12-11T21:33:03.000Zhttps://docs.langflow.org/components-vector-stores2024-12-11T21:33:03.000Zhttps://docs.langflow.org/Components/components-memories2024-12-11T21:33:03.000Zhttps://docs.langflow.org/Components/components-tools2024-12-11T21:33:03.000Zhttps://docs.langflow.org/configuration-api-keys2024-12-11T21:33:03.000Zhttps://docs.langflow.org/configuration-authentication2024-12-11T21:33:03.000Zhttps://docs.langflow.org/configuration-auto-save2024-12-11T21:33:03.000Zhttps://docs.langflow.org/configuration-backend-only2024-12-11T21:33:03.000Zhttps://docs.langflow.org/configuration-cli2024-12-11T21:33:03.000Zhttps://docs.langflow.org/configuration-global-variables2024-12-11T21:33:03.000Zhttps://docs.langflow.org/configuration-security-best-practices2024-12-11T21:33:03.000Zhttps://docs.langflow.org/Configuration/configuration-custom-database2024-12-11T21:33:03.000Zhttps://docs.langflow.org/contributing-community2024-12-11T21:33:03.000Zhttps://docs.langflow.org/contributing-components2024-12-11T21:33:03.000Zhttps://docs.langflow.org/contributing-github-discussions2024-12-11T21:33:03.000Zhttps://docs.langflow.org/contributing-github-issues2024-12-11T21:33:03.000Zhttps://docs.langflow.org/contributing-how-to-contribute2024-12-11T21:33:03.000Zhttps://docs.langflow.org/contributing-telemetry2024-12-11T21:33:03.000Zhttps://docs.langflow.org/deployment-docker2024-12-11T21:33:03.000Zhttps://docs.langflow.org/deployment-gcp2024-12-11T21:33:03.000Zhttps://docs.langflow.org/deployment-hugging-face-spaces2024-12-11T21:33:03.000Zhttps://docs.langflow.org/deployment-kubernetes2024-12-11T21:33:03.000Zhttps://docs.langflow.org/deployment-railway2024-12-11T21:33:03.000Zhttps://docs.langflow.org/deployment-render2024-12-11T21:33:03.000Zhttps://docs.langflow.org/environment-variables2024-12-11T21:33:03.000Zhttps://docs.langflow.org/get-started-installation2024-12-11T21:33:03.000Zhttps://docs.langflow.org/get-started-quickstart2024-12-11T21:33:03.000Zhttps://docs.langflow.org/guides-chat-memory2024-12-11T21:33:03.000Zhttps://docs.langflow.org/guides-data-message2024-12-11T21:33:03.000Zhttps://docs.langflow.org/guides-new-to-llms2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations-assemblyai2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations-langfuse2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations-langsmith2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations-langwatch2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations-setup-google-cloud-vertex-ai-langflow2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations-setup-google-oauth-langflow2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations/notion/notion-agent-conversational2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations/notion/notion-agent-meeting-notes2024-12-11T21:33:03.000Zhttps://docs.langflow.org/integrations/notion/setup2024-12-11T21:33:03.000Zhttps://docs.langflow.org/starter-projects-basic-prompting2024-12-11T21:33:03.000Zhttps://docs.langflow.org/starter-projects-blog-writer2024-12-11T21:33:03.000Zhttps://docs.langflow.org/starter-projects-document-qa2024-12-11T21:33:03.000Zhttps://docs.langflow.org/starter-projects-memory-chatbot2024-12-11T21:33:03.000Zhttps://docs.langflow.org/starter-projects-sequential-agent2024-12-11T21:33:03.000Zhttps://docs.langflow.org/starter-projects-simple-agent2024-12-11T21:33:03.000Zhttps://docs.langflow.org/starter-projects-travel-planning-agent2024-12-11T21:33:03.000Zhttps://docs.langflow.org/starter-projects-vector-store-rag2024-12-11T21:33:03.000Zhttps://docs.langflow.org/workspace-api2024-12-11T21:33:03.000Zhttps://docs.langflow.org/workspace-logs2024-12-11T21:33:03.000Zhttps://docs.langflow.org/workspace-overview2024-12-11T21:33:03.000Zhttps://docs.langflow.org/workspace-playground2024-12-11T21:33:03.000Zhttps://docs.langflow.org/2024-12-11T21:33:03.000Z \ No newline at end of file diff --git a/starter-projects-basic-prompting.html b/starter-projects-basic-prompting.html index 3292053466..741e7f3e24 100644 --- a/starter-projects-basic-prompting.html +++ b/starter-projects-basic-prompting.html @@ -10,7 +10,7 @@ - + @@ -39,7 +39,7 @@

The Basic Prompting flow is created.

-

+

This flow allows you to chat with the OpenAI component through the Prompt component.

Examine the Prompt component. The Template field instructs the LLM to Answer the user as if you were a pirate. This should be interesting...

    diff --git a/starter-projects-blog-writer.html b/starter-projects-blog-writer.html index 5cfd733a4c..0b6b245ddd 100644 --- a/starter-projects-blog-writer.html +++ b/starter-projects-blog-writer.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-document-qa.html b/starter-projects-document-qa.html index 38e52d9f3a..baf9ba226a 100644 --- a/starter-projects-document-qa.html +++ b/starter-projects-document-qa.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-memory-chatbot.html b/starter-projects-memory-chatbot.html index cb0403cae5..134e275ba2 100644 --- a/starter-projects-memory-chatbot.html +++ b/starter-projects-memory-chatbot.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-sequential-agent.html b/starter-projects-sequential-agent.html index b9ac797190..d21ba6dd83 100644 --- a/starter-projects-sequential-agent.html +++ b/starter-projects-sequential-agent.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-simple-agent.html b/starter-projects-simple-agent.html index 32dd9e444b..e1c798f80a 100644 --- a/starter-projects-simple-agent.html +++ b/starter-projects-simple-agent.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-travel-planning-agent.html b/starter-projects-travel-planning-agent.html index f1a4a83479..da5a9f4517 100644 --- a/starter-projects-travel-planning-agent.html +++ b/starter-projects-travel-planning-agent.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-vector-store-rag.html b/starter-projects-vector-store-rag.html index 4def5cc5e8..b32301d825 100644 --- a/starter-projects-vector-store-rag.html +++ b/starter-projects-vector-store-rag.html @@ -10,7 +10,7 @@ - + diff --git a/workspace-api.html b/workspace-api.html index 51ebae1cb3..f69eab4b0b 100644 --- a/workspace-api.html +++ b/workspace-api.html @@ -10,7 +10,7 @@ - + diff --git a/workspace-logs.html b/workspace-logs.html index 4f1012622c..6176cec8be 100644 --- a/workspace-logs.html +++ b/workspace-logs.html @@ -10,7 +10,7 @@ - + diff --git a/workspace-overview.html b/workspace-overview.html index 9cfb500c24..41b5e020ef 100644 --- a/workspace-overview.html +++ b/workspace-overview.html @@ -10,7 +10,7 @@ - + diff --git a/workspace-playground.html b/workspace-playground.html index 5ac791a676..42fa613761 100644 --- a/workspace-playground.html +++ b/workspace-playground.html @@ -10,7 +10,7 @@ - +