diff --git a/404.html b/404.html index b558ce2dbc..d76b724e15 100644 --- a/404.html +++ b/404.html @@ -10,7 +10,7 @@ - +
diff --git a/Concepts/concepts-flows.html b/Concepts/concepts-flows.html index af9dddb451..fd70808a4f 100644 --- a/Concepts/concepts-flows.html +++ b/Concepts/concepts-flows.html @@ -10,7 +10,7 @@ - + diff --git a/Deployment/deployment-docker.html b/Deployment/deployment-docker.html index 1271e1e5a4..e135c847ed 100644 --- a/Deployment/deployment-docker.html +++ b/Deployment/deployment-docker.html @@ -10,7 +10,7 @@ - + diff --git a/agents-overview.html b/agents-overview.html index 3d7b229e20..88dacb29d9 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 87f9084ad0..04dd966e53 100644 --- a/agents-tool-calling-agent-component.html +++ b/agents-tool-calling-agent-component.html @@ -10,7 +10,7 @@ - + diff --git a/api-reference-api-examples.html b/api-reference-api-examples.html index eeb28e2359..e90cb72797 100644 --- a/api-reference-api-examples.html +++ b/api-reference-api-examples.html @@ -10,7 +10,7 @@ - + diff --git a/api.html b/api.html index 9a5bd8f2ef..47d27fbb99 100644 --- a/api.html +++ b/api.html @@ -10,7 +10,7 @@ - + diff --git a/api/add-user.html b/api/add-user.html index 76acb8929b..a3e6cf82c0 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 4daca2ab6d..078e362f33 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 8a0e4e6f83..3b6c18ad3a 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 a93d39a41e..e7cc221c81 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 0f67e76119..04bb0a7019 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 bac3bc0a38..969a44e20c 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 3c24ec9239..8cffaf02e4 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 bb566392fe..023a22485d 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 f74a62bbde..223edbc30d 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 42a7227da7..f632b1b030 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 af863c288f..ed18b0360b 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 d988a0b8ab..0fb14db50f 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 d19628be2b..811169ca22 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 08374093e7..e81b6b5a35 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 c7648239bf..0175f3d4b9 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 3a43c6f31b..9ce569891a 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 a0b3e40324..c8a2f7da40 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 0a0cdf5653..f153fefab9 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 5167138913..bd78589345 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 40f06be5c6..2a6e1738fc 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 c665548b84..08b24eefbb 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 7def2d9f1c..e0c8d4f75b 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 75570d4d21..9f5f0f851b 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 e6faf70907..8c2180835c 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 4dc43ebf9e..8484d48384 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 fe990cec95..485c7873c0 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 f27160f896..1b49d9fe87 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 8f1bfcb104..2c44d955b8 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 394adc980e..e8ea1c3b63 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 04b5943493..3bb4ef2a24 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 085953fec1..908c6f4653 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 0985ac951f..f614af4a6b 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 19f4209847..53fb015ede 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 859aae0afd..fb68da5745 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 4699cc26d1..b5b42200db 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 5168f151ab..71e7e50e80 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 5a5fd3e00c..760e6d41d3 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 6e52ec93aa..15be940cab 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 c9bbe185e5..64ec3181b2 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 a631b728bc..f79f11b7f7 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 0598061dbe..7eeac9a7ad 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 59fbf9100e..fdac031b79 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 fb2f492717..dc83e2fc95 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 6bb7d9d7f2..2d50681baa 100644 --- a/api/get-vertex-builds.html +++ b/api/get-vertex-builds.html @@ -10,7 +10,7 @@ - + diff --git a/api/handle-messages.html b/api/handle-messages.html index 259c05f927..882e9e6cf2 100644 --- a/api/handle-messages.html +++ b/api/handle-messages.html @@ -10,7 +10,7 @@ - + diff --git a/api/handle-sse.html b/api/handle-sse.html index 3c9e5a4385..8bc269832b 100644 --- a/api/handle-sse.html +++ b/api/handle-sse.html @@ -10,7 +10,7 @@ - + diff --git a/api/health-check.html b/api/health-check.html index 37687339ab..39447bb0d1 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 eafda3a350..47ec5b2a1a 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 8b406028d2..bb0682109e 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 82d7a70f7a..c3559d5e54 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 4a015dd23b..3be634856e 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 59c30159fa..ed266faab6 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 e461452ea7..885d50f3e4 100644 --- a/api/logout.html +++ b/api/logout.html @@ -10,7 +10,7 @@ - + diff --git a/api/logs.html b/api/logs.html index cb594ac14b..ed88bbb0c3 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 002b4ab07a..1d302ddae6 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 825acee145..1b1ac49782 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 385c721dc7..8d3ee777b4 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 aa40e21ea5..79d42d90c9 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 b514d223c3..cd19e1fa80 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 42f40a0d9f..76f84e5ee1 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 cb25c90551..12633d29b9 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 bacc36955d..32a565981c 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 9345d3aaf2..27db106f5b 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 c38647d183..df65aa7c0e 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 a8ddb40c22..a39438cccf 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 9c7467189b..b0e1f0fdff 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 caf1ccb6ca..0837ae5cc0 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 28f7ca9197..7f8da58d76 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 8fb603d42b..88877e94fc 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 6b18652cce..3c2a32c8d0 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 f14ab78e84..be82bb6e64 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 e99578e761..2fca14a6a0 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 a912d1c9d8..b18235032c 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 8b5faa24b7..388210d02b 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 e7df41816e..56ff52bb3d 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 ec1e9466b9..574eb78b95 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 b74e3ef252..4126d52609 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 282a8c6155..25b2c42536 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 b277085365..c8287914e1 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 57e4552e30..846d68d635 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 87f89a9f99..52220aa755 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 a4d16abcbc..e6d828e3e3 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 76fe1ec3fb..c94fbeede3 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 b285e2aa84..bcc63c8531 100644 --- a/api/webhook-run-flow.html +++ b/api/webhook-run-flow.html @@ -10,7 +10,7 @@ - + diff --git a/assets/js/0be1d5fe.47b01dee.js b/assets/js/0be1d5fe.47b01dee.js deleted file mode 100644 index ed8e79cd0b..0000000000 --- a/assets/js/0be1d5fe.47b01dee.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[145],{73630:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>l,default:()=>a,frontMatter:()=>i,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"Components/components-models","title":"Models","description":"Model components generate text using large language models.","source":"@site/docs/Components/components-models.md","sourceDirName":"Components","slug":"/components-models","permalink":"/components-models","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Models","slug":"/components-models"},"sidebar":"docs","previous":{"title":"Memories","permalink":"/components-memories"},"next":{"title":"Processing","permalink":"/components-processing"}}');var d=n(74848),r=n(28453);const i={title:"Models",slug:"/components-models"},l="Model components in Langflow",h={},c=[{value:"Use a model component in a flow",id:"use-a-model-component-in-a-flow",level:2},{value:"AI/ML API",id:"aiml-api",level:2},{value:"Inputs",id:"inputs",level:3},{value:"Outputs",id:"outputs",level:3},{value:"Amazon Bedrock",id:"amazon-bedrock",level:2},{value:"Inputs",id:"inputs-1",level:3},{value:"Outputs",id:"outputs-1",level:3},{value:"Anthropic",id:"anthropic",level:2},{value:"Inputs",id:"inputs-2",level:3},{value:"Outputs",id:"outputs-2",level:3},{value:"Azure OpenAI",id:"azure-openai",level:2},{value:"Inputs",id:"inputs-3",level:3},{value:"Cohere",id:"cohere",level:2},{value:"Inputs",id:"inputs-4",level:3},{value:"Outputs",id:"outputs-3",level:3},{value:"Google Generative AI",id:"google-generative-ai",level:2},{value:"Inputs",id:"inputs-5",level:3},{value:"Groq",id:"groq",level:2},{value:"Inputs",id:"inputs-6",level:3},{value:"Outputs",id:"outputs-4",level:3},{value:"Hugging Face API",id:"hugging-face-api",level:2},{value:"Inputs",id:"inputs-7",level:3},{value:"Maritalk",id:"maritalk",level:2},{value:"Inputs",id:"inputs-8",level:3},{value:"Outputs",id:"outputs-5",level:3},{value:"Mistral",id:"mistral",level:2},{value:"Inputs",id:"inputs-9",level:3},{value:"Outputs",id:"outputs-6",level:3},{value:"NVIDIA",id:"nvidia",level:2},{value:"Inputs",id:"inputs-10",level:3},{value:"Outputs",id:"outputs-7",level:3},{value:"Ollama",id:"ollama",level:2},{value:"Inputs",id:"inputs-11",level:3},{value:"Outputs",id:"outputs-8",level:3},{value:"OpenAI",id:"openai",level:2},{value:"Inputs",id:"inputs-12",level:3},{value:"Outputs",id:"outputs-9",level:3},{value:"Qianfan",id:"qianfan",level:2},{value:"OpenRouter",id:"openrouter",level:2},{value:"Inputs",id:"inputs-13",level:3},{value:"Outputs",id:"outputs-10",level:3},{value:"Perplexity",id:"perplexity",level:2},{value:"Inputs",id:"inputs-14",level:3},{value:"Outputs",id:"outputs-11",level:3},{value:"SambaNova",id:"sambanova",level:2},{value:"Inputs",id:"inputs-15",level:3},{value:"Outputs",id:"outputs-12",level:3},{value:"VertexAI",id:"vertexai",level:2},{value:"Inputs",id:"inputs-16",level:3},{value:"Outputs",id:"outputs-13",level:3},{value:"Novita AI",id:"novita-ai",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Inputs",id:"inputs-17",level:4}];function o(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",img:"img",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.header,{children:(0,d.jsx)(t.h1,{id:"model-components-in-langflow",children:"Model components in Langflow"})}),"\n",(0,d.jsx)(t.p,{children:"Model components generate text using large language models."}),"\n",(0,d.jsx)(t.p,{children:"Refer to your specific component's documentation for more information on parameters."}),"\n",(0,d.jsx)(t.h2,{id:"use-a-model-component-in-a-flow",children:"Use a model component in a flow"}),"\n",(0,d.jsx)(t.p,{children:"Model components receive inputs and prompts for generating text, and the generated text is sent to an output component."}),"\n",(0,d.jsxs)(t.p,{children:["The model output can also be sent to the ",(0,d.jsx)(t.strong,{children:"Language Model"})," port and on to a ",(0,d.jsx)(t.strong,{children:"Parse Data"})," component, where the output can be parsed into structured ",(0,d.jsx)(t.a,{href:"/concepts-objects",children:"Data"})," objects."]}),"\n",(0,d.jsxs)(t.p,{children:["This example has the OpenAI model in a chatbot flow. For more information, see the ",(0,d.jsx)(t.a,{href:"/starter-projects-basic-prompting",children:"Basic prompting flow"}),"."]}),"\n",(0,d.jsx)(t.p,{children:(0,d.jsx)(t.img,{src:n(90567).A+"",width:"2500",height:"1528"})}),"\n",(0,d.jsx)(t.h2,{id:"aiml-api",children:"AI/ML API"}),"\n",(0,d.jsx)(t.p,{children:"This component creates a ChatOpenAI model instance using the AIML API."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://docs.aimlapi.com/",children:"AIML documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens. Range: 0-128000."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_kwargs"}),(0,d.jsx)(t.td,{children:"Dictionary"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the model."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The name of the AIML model to use. Options are predefined in ",(0,d.jsx)(t.code,{children:"AIML_CHAT_MODELS"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"aiml_api_base"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The base URL of the AIML API. Defaults to ",(0,d.jsx)(t.code,{children:"https://api.aimlapi.com"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The AIML API Key to use for the model."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Default: ",(0,d.jsx)(t.code,{children:"0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"seed"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Controls reproducibility of the job."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatOpenAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"amazon-bedrock",children:"Amazon Bedrock"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Amazon Bedrock LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://docs.aws.amazon.com/bedrock",children:"Amazon Bedrock documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-1",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The ID of the Amazon Bedrock model to use. Options include various models."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"aws_access_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"AWS Access Key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"aws_secret_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"AWS Secret Key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"credentials_profile_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the AWS credentials profile to use (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"region_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["AWS region name. Default: ",(0,d.jsx)(t.code,{children:"us-east-1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_kwargs"}),(0,d.jsx)(t.td,{children:"Dictionary"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the model (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"endpoint_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Custom endpoint URL for the Bedrock service (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-1",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatBedrock configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"anthropic",children:"Anthropic"}),"\n",(0,d.jsx)(t.p,{children:"This component allows the generation of text using Anthropic Chat and Language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.anthropic.com/en/docs/welcome",children:"Anthropic documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-2",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["The maximum number of tokens to generate. Set to 0 for unlimited tokens. Default: ",(0,d.jsx)(t.code,{children:"4096"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The name of the Anthropic model to use. Options include various Claude 3 models."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"anthropic_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your Anthropic API key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Default: ",(0,d.jsx)(t.code,{children:"0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"anthropic_api_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["Endpoint of the Anthropic API. Defaults to ",(0,d.jsx)(t.code,{children:"https://api.anthropic.com"})," if not specified (advanced)."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"prefill"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Prefill text to guide the model's response (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-2",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatAnthropic configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"azure-openai",children:"Azure OpenAI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Azure OpenAI LLM."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://learn.microsoft.com/en-us/azure/ai-services/openai/",children:"Azure OpenAI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-3",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Model Name"}),(0,d.jsx)(t.td,{children:"Model Name"}),(0,d.jsx)(t.td,{children:"Specifies the name of the Azure OpenAI model to be used for text generation."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Azure Endpoint"}),(0,d.jsx)(t.td,{children:"Azure Endpoint"}),(0,d.jsx)(t.td,{children:"Your Azure endpoint, including the resource."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Deployment Name"}),(0,d.jsx)(t.td,{children:"Deployment Name"}),(0,d.jsx)(t.td,{children:"Specifies the name of the deployment."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"API Version"}),(0,d.jsx)(t.td,{children:"API Version"}),(0,d.jsx)(t.td,{children:"Specifies the version of the Azure OpenAI API to be used."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"API Key"}),(0,d.jsx)(t.td,{children:"API Key"}),(0,d.jsx)(t.td,{children:"Your Azure OpenAI API key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsxs)(t.td,{children:["Specifies the sampling temperature. Defaults to ",(0,d.jsx)(t.code,{children:"0.7"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Max Tokens"}),(0,d.jsx)(t.td,{children:"Max Tokens"}),(0,d.jsxs)(t.td,{children:["Specifies the maximum number of tokens to generate. Defaults to ",(0,d.jsx)(t.code,{children:"1000"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Specifies the input text for text generation."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Stream"}),(0,d.jsx)(t.td,{children:"Stream"}),(0,d.jsxs)(t.td,{children:["Specifies whether to stream the response from the model. Defaults to ",(0,d.jsx)(t.code,{children:"False"}),"."]})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"cohere",children:"Cohere"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Cohere's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://cohere.ai/",children:"Cohere documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-4",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Cohere API Key"}),(0,d.jsx)(t.td,{children:"Cohere API Key"}),(0,d.jsx)(t.td,{children:"Your Cohere API key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Max Tokens"}),(0,d.jsx)(t.td,{children:"Max Tokens"}),(0,d.jsxs)(t.td,{children:["Specifies the maximum number of tokens to generate. Defaults to ",(0,d.jsx)(t.code,{children:"256"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsxs)(t.td,{children:["Specifies the sampling temperature. Defaults to ",(0,d.jsx)(t.code,{children:"0.75"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Specifies the input text for text generation."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-3",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of the Cohere model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"google-generative-ai",children:"Google Generative AI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Google's Generative AI models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://cloud.google.com/vertex-ai/docs/",children:"Google Generative AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-5",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Google API Key"}),(0,d.jsx)(t.td,{children:"Google API Key"}),(0,d.jsx)(t.td,{children:"Your Google API key to use for the Google Generative AI."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Model"}),(0,d.jsx)(t.td,{children:"Model"}),(0,d.jsxs)(t.td,{children:["The name of the model to use, such as ",(0,d.jsx)(t.code,{children:'"gemini-pro"'}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Max Output Tokens"}),(0,d.jsx)(t.td,{children:"Max Output Tokens"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Run inference with this temperature."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Top K"}),(0,d.jsx)(t.td,{children:"Top K"}),(0,d.jsx)(t.td,{children:"Consider the set of top K most probable tokens."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Top P"}),(0,d.jsx)(t.td,{children:"Top P"}),(0,d.jsx)(t.td,{children:"The maximum cumulative probability of tokens to consider when sampling."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"N"}),(0,d.jsx)(t.td,{children:"N"}),(0,d.jsx)(t.td,{children:"Number of chat completions to generate for each prompt."})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"groq",children:"Groq"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Groq's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://groq.com/",children:"Groq documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-6",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"groq_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"API key for the Groq API."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"groq_api_base"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["Base URL path for API requests. Default: ",(0,d.jsx)(t.code,{children:"https://api.groq.com"})," (advanced)."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Range: ",(0,d.jsx)(t.code,{children:"[0.0, 1.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"n"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of chat completions to generate for each prompt (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The name of the Groq model to use. Options are dynamically fetched from the Groq API."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-4",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatGroq configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"hugging-face-api",children:"Hugging Face API"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Hugging Face's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://huggingface.co/",children:"Hugging Face documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-7",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Endpoint URL"}),(0,d.jsx)(t.td,{children:"Endpoint URL"}),(0,d.jsx)(t.td,{children:"The URL of the Hugging Face Inference API endpoint."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Task"}),(0,d.jsx)(t.td,{children:"Task"}),(0,d.jsx)(t.td,{children:"Specifies the task for text generation."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"API Token"}),(0,d.jsx)(t.td,{children:"API Token"}),(0,d.jsx)(t.td,{children:"The API token required for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Model Kwargs"}),(0,d.jsx)(t.td,{children:"Model Kwargs"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the model."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"The input text for text generation."})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"maritalk",children:"Maritalk"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Maritalk LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://www.maritalk.com/",children:"Maritalk documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-8",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["The maximum number of tokens to generate. Set to ",(0,d.jsx)(t.code,{children:"0"})," for unlimited tokens. Default: ",(0,d.jsx)(t.code,{children:"512"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The name of the Maritalk model to use. Options: ",(0,d.jsx)(t.code,{children:"sabia-2-small"}),", ",(0,d.jsx)(t.code,{children:"sabia-2-medium"}),". Default: ",(0,d.jsx)(t.code,{children:"sabia-2-small"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The Maritalk API Key to use for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Range: ",(0,d.jsx)(t.code,{children:"[0.0, 1.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"0.5"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"endpoint_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The Maritalk API endpoint. Default: ",(0,d.jsx)(t.code,{children:"https://api.maritalk.com"}),"."]})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-5",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatMaritalk configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"mistral",children:"Mistral"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using MistralAI LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://docs.mistral.ai/",children:"Mistral AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-9",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The name of the Mistral AI model to use. Options include ",(0,d.jsx)(t.code,{children:"open-mixtral-8x7b"}),", ",(0,d.jsx)(t.code,{children:"open-mixtral-8x22b"}),", ",(0,d.jsx)(t.code,{children:"mistral-small-latest"}),", ",(0,d.jsx)(t.code,{children:"mistral-medium-latest"}),", ",(0,d.jsx)(t.code,{children:"mistral-large-latest"}),", and ",(0,d.jsx)(t.code,{children:"codestral-latest"}),". Default: ",(0,d.jsx)(t.code,{children:"codestral-latest"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"mistral_api_base"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The base URL of the Mistral API. Defaults to ",(0,d.jsx)(t.code,{children:"https://api.mistral.ai/v1"})," (advanced)."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The Mistral API Key to use for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.5."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_retries"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Maximum number of retries for API calls. Default: 5 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"timeout"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Timeout for API calls in seconds. Default: 60 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_concurrent_requests"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Maximum number of concurrent API requests. Default: 3 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Nucleus sampling parameter. Default: 1 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"random_seed"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Seed for random number generation. Default: 1 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"safe_mode"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Enables safe mode for content generation (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-6",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatMistralAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"nvidia",children:"NVIDIA"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using NVIDIA LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://developer.nvidia.com/generative-ai",children:"NVIDIA AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-10",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["The maximum number of tokens to generate. Set to ",(0,d.jsx)(t.code,{children:"0"})," for unlimited tokens (advanced)."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The name of the NVIDIA model to use. Default: ",(0,d.jsx)(t.code,{children:"mistralai/mixtral-8x7b-instruct-v0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"base_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The base URL of the NVIDIA API. Default: ",(0,d.jsx)(t.code,{children:"https://integrate.api.nvidia.com/v1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"nvidia_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The NVIDIA API Key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Default: ",(0,d.jsx)(t.code,{children:"0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"seed"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["The seed controls the reproducibility of the job (advanced). Default: ",(0,d.jsx)(t.code,{children:"1"}),"."]})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-7",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatNVIDIA configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"ollama",children:"Ollama"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Ollama's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://ollama.com/",children:"Ollama documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-11",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Base URL"}),(0,d.jsx)(t.td,{children:"Base URL"}),(0,d.jsx)(t.td,{children:"Endpoint of the Ollama API."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Model Name"}),(0,d.jsx)(t.td,{children:"Model Name"}),(0,d.jsx)(t.td,{children:"The model name to use."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Controls the creativity of model responses."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-8",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of an Ollama model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"openai",children:"OpenAI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using OpenAI's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://beta.openai.com/docs/",children:"OpenAI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-12",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your OpenAI API Key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The name of the OpenAI model to use. Options include "gpt-3.5-turbo" and "gpt-4".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"frequency_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"presence_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-9",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of OpenAI model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"qianfan",children:"Qianfan"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Qianfan's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://github.com/baidubce/bce-qianfan-sdk",children:"Qianfan documentation"}),"."]}),"\n",(0,d.jsx)(t.h2,{id:"openrouter",children:"OpenRouter"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using OpenRouter's unified API for multiple AI models from different providers."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://openrouter.ai/docs",children:"OpenRouter documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-13",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your OpenRouter API key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"site_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Your site URL for OpenRouter rankings (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"app_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Your app name for OpenRouter rankings (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"provider"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The AI model provider to use."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The specific model to use for chat completion."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 2.0]. Default: 0.7."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-10",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatOpenAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"perplexity",children:"Perplexity"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Perplexity's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://perplexity.ai/",children:"Perplexity documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-14",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The name of the Perplexity model to use. Options include various Llama 3.1 models."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_output_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The Perplexity API Key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.75."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"The maximum cumulative probability of tokens to consider when sampling (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"n"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of chat completions to generate for each prompt (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_k"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of top tokens to consider for top-k sampling. Must be positive (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-11",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatPerplexity configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"sambanova",children:"SambaNova"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using SambaNova LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://cloud.sambanova.ai/",children:"Sambanova Cloud documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-15",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"sambanova_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["Base URL path for API requests. Default: ",(0,d.jsx)(t.code,{children:"https://api.sambanova.ai/v1/chat/completions"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"sambanova_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your SambaNova API Key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The name of the Sambanova model to use. Options include various Llama models."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.07."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-12",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of SambaNova model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"vertexai",children:"VertexAI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Vertex AI LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://cloud.google.com/vertex-ai",children:"Google Vertex AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-16",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"credentials"}),(0,d.jsx)(t.td,{children:"File"}),(0,d.jsx)(t.td,{children:"JSON credentials file. Leave empty to fallback to environment variables. File type: JSON."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The name of the Vertex AI model to use. Default: "gemini-1.5-pro".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"project"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The project ID (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"location"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The location for the Vertex AI API. Default: "us-central1" (advanced).'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_output_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_retries"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Maximum number of retries for API calls. Default: 1 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_k"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The number of highest probability vocabulary tokens to keep for top-k-filtering (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"The cumulative probability of parameter highest probability vocabulary tokens to keep for nucleus sampling. Default: 0.95 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"verbose"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Whether to print verbose output. Default: False (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-13",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatVertexAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"novita-ai",children:"Novita AI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Novita AI's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://novita.ai/docs/model-api/reference/llm/llm.html?utm_source=github_langflow&utm_medium=github_readme&utm_campaign=link",children:"Novita AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsx)(t.h4,{id:"inputs-17",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your Novita AI API Key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The id of the Novita AI model to use."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"frequency_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"presence_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0."})]})]})]})]})}function a(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(o,{...e})}):o(e)}},90567:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/starter-flow-basic-prompting-09331815d7282bd6a3feedf84838ba20.png"},28453:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>l});var s=n(96540);const d={},r=s.createContext(d);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0be1d5fe.93d3aee5.js b/assets/js/0be1d5fe.93d3aee5.js new file mode 100644 index 0000000000..5f59e80965 --- /dev/null +++ b/assets/js/0be1d5fe.93d3aee5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[145],{73630:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>l,default:()=>a,frontMatter:()=>i,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"Components/components-models","title":"Models","description":"Model components generate text using large language models.","source":"@site/docs/Components/components-models.md","sourceDirName":"Components","slug":"/components-models","permalink":"/components-models","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Models","slug":"/components-models"},"sidebar":"docs","previous":{"title":"Memories","permalink":"/components-memories"},"next":{"title":"Processing","permalink":"/components-processing"}}');var d=n(74848),r=n(28453);const i={title:"Models",slug:"/components-models"},l="Model components in Langflow",h={},c=[{value:"Use a model component in a flow",id:"use-a-model-component-in-a-flow",level:2},{value:"AI/ML API",id:"aiml-api",level:2},{value:"Inputs",id:"inputs",level:3},{value:"Outputs",id:"outputs",level:3},{value:"Amazon Bedrock",id:"amazon-bedrock",level:2},{value:"Inputs",id:"inputs-1",level:3},{value:"Outputs",id:"outputs-1",level:3},{value:"Anthropic",id:"anthropic",level:2},{value:"Inputs",id:"inputs-2",level:3},{value:"Outputs",id:"outputs-2",level:3},{value:"Azure OpenAI",id:"azure-openai",level:2},{value:"Inputs",id:"inputs-3",level:3},{value:"Outputs",id:"outputs-3",level:3},{value:"Cohere",id:"cohere",level:2},{value:"Inputs",id:"inputs-4",level:3},{value:"Outputs",id:"outputs-4",level:3},{value:"DeepSeek",id:"deepseek",level:2},{value:"Inputs",id:"inputs-5",level:3},{value:"Outputs",id:"outputs-5",level:3},{value:"Google Generative AI",id:"google-generative-ai",level:2},{value:"Inputs",id:"inputs-6",level:3},{value:"Outputs",id:"outputs-6",level:3},{value:"Groq",id:"groq",level:2},{value:"Inputs",id:"inputs-7",level:3},{value:"Outputs",id:"outputs-7",level:3},{value:"Hugging Face API",id:"hugging-face-api",level:2},{value:"Inputs",id:"inputs-8",level:3},{value:"LMStudio",id:"lmstudio",level:2},{value:"Inputs",id:"inputs-9",level:3},{value:"Outputs",id:"outputs-8",level:3},{value:"Maritalk",id:"maritalk",level:2},{value:"Inputs",id:"inputs-10",level:3},{value:"Outputs",id:"outputs-9",level:3},{value:"Mistral",id:"mistral",level:2},{value:"Inputs",id:"inputs-11",level:3},{value:"Outputs",id:"outputs-10",level:3},{value:"Novita AI",id:"novita-ai",level:2},{value:"Inputs",id:"inputs-12",level:3},{value:"Outputs",id:"outputs-11",level:3},{value:"NVIDIA",id:"nvidia",level:2},{value:"Inputs",id:"inputs-13",level:3},{value:"Outputs",id:"outputs-12",level:3},{value:"Ollama",id:"ollama",level:2},{value:"Inputs",id:"inputs-14",level:3},{value:"Outputs",id:"outputs-13",level:3},{value:"OpenAI",id:"openai",level:2},{value:"Inputs",id:"inputs-15",level:3},{value:"Outputs",id:"outputs-14",level:3},{value:"OpenRouter",id:"openrouter",level:2},{value:"Inputs",id:"inputs-16",level:3},{value:"Outputs",id:"outputs-15",level:3},{value:"Perplexity",id:"perplexity",level:2},{value:"Inputs",id:"inputs-17",level:3},{value:"Outputs",id:"outputs-16",level:3},{value:"Qianfan",id:"qianfan",level:2},{value:"SambaNova",id:"sambanova",level:2},{value:"Inputs",id:"inputs-18",level:3},{value:"Outputs",id:"outputs-17",level:3},{value:"VertexAI",id:"vertexai",level:2},{value:"Inputs",id:"inputs-19",level:3},{value:"Outputs",id:"outputs-18",level:3}];function o(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.header,{children:(0,d.jsx)(t.h1,{id:"model-components-in-langflow",children:"Model components in Langflow"})}),"\n",(0,d.jsx)(t.p,{children:"Model components generate text using large language models."}),"\n",(0,d.jsx)(t.p,{children:"Refer to your specific component's documentation for more information on parameters."}),"\n",(0,d.jsx)(t.h2,{id:"use-a-model-component-in-a-flow",children:"Use a model component in a flow"}),"\n",(0,d.jsx)(t.p,{children:"Model components receive inputs and prompts for generating text, and the generated text is sent to an output component."}),"\n",(0,d.jsxs)(t.p,{children:["The model output can also be sent to the ",(0,d.jsx)(t.strong,{children:"Language Model"})," port and on to a ",(0,d.jsx)(t.strong,{children:"Parse Data"})," component, where the output can be parsed into structured ",(0,d.jsx)(t.a,{href:"/concepts-objects",children:"Data"})," objects."]}),"\n",(0,d.jsxs)(t.p,{children:["This example has the OpenAI model in a chatbot flow. For more information, see the ",(0,d.jsx)(t.a,{href:"/starter-projects-basic-prompting",children:"Basic prompting flow"}),"."]}),"\n",(0,d.jsx)(t.p,{children:(0,d.jsx)(t.img,{src:n(90567).A+"",width:"2500",height:"1528"})}),"\n",(0,d.jsx)(t.h2,{id:"aiml-api",children:"AI/ML API"}),"\n",(0,d.jsx)(t.p,{children:"This component creates a ChatOpenAI model instance using the AIML API."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://docs.aimlapi.com/",children:"AIML documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens. Range: 0-128000."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_kwargs"}),(0,d.jsx)(t.td,{children:"Dictionary"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the model."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The name of the AIML model to use. Options are predefined in ",(0,d.jsx)(t.code,{children:"AIML_CHAT_MODELS"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"aiml_api_base"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The base URL of the AIML API. Defaults to ",(0,d.jsx)(t.code,{children:"https://api.aimlapi.com"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The AIML API Key to use for the model."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Default: ",(0,d.jsx)(t.code,{children:"0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"seed"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Controls reproducibility of the job."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatOpenAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"amazon-bedrock",children:"Amazon Bedrock"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Amazon Bedrock LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://docs.aws.amazon.com/bedrock",children:"Amazon Bedrock documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-1",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_id"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The ID of the Amazon Bedrock model to use. Options include various models."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"aws_access_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"AWS Access Key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"aws_secret_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"AWS Secret Key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"credentials_profile_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Name of the AWS credentials profile to use (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"region_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["AWS region name. Default: ",(0,d.jsx)(t.code,{children:"us-east-1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_kwargs"}),(0,d.jsx)(t.td,{children:"Dictionary"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the model (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"endpoint_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Custom endpoint URL for the Bedrock service (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-1",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatBedrock configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"anthropic",children:"Anthropic"}),"\n",(0,d.jsx)(t.p,{children:"This component allows the generation of text using Anthropic Chat and Language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://docs.anthropic.com/en/docs/welcome",children:"Anthropic documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-2",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["The maximum number of tokens to generate. Set to 0 for unlimited tokens. Default: ",(0,d.jsx)(t.code,{children:"4096"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The name of the Anthropic model to use. Options include various Claude 3 models."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"anthropic_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your Anthropic API key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Default: ",(0,d.jsx)(t.code,{children:"0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"anthropic_api_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["Endpoint of the Anthropic API. Defaults to ",(0,d.jsx)(t.code,{children:"https://api.anthropic.com"})," if not specified (advanced)."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"prefill"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Prefill text to guide the model's response (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-2",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatAnthropic configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"azure-openai",children:"Azure OpenAI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Azure OpenAI LLM."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://learn.microsoft.com/en-us/azure/ai-services/openai/",children:"Azure OpenAI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-3",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Model Name"}),(0,d.jsx)(t.td,{children:"Model Name"}),(0,d.jsx)(t.td,{children:"Specifies the name of the Azure OpenAI model to be used for text generation."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Azure Endpoint"}),(0,d.jsx)(t.td,{children:"Azure Endpoint"}),(0,d.jsx)(t.td,{children:"Your Azure endpoint, including the resource."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Deployment Name"}),(0,d.jsx)(t.td,{children:"Deployment Name"}),(0,d.jsx)(t.td,{children:"Specifies the name of the deployment."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"API Version"}),(0,d.jsx)(t.td,{children:"API Version"}),(0,d.jsx)(t.td,{children:"Specifies the version of the Azure OpenAI API to be used."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"API Key"}),(0,d.jsx)(t.td,{children:"API Key"}),(0,d.jsx)(t.td,{children:"Your Azure OpenAI API key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsxs)(t.td,{children:["Specifies the sampling temperature. Defaults to ",(0,d.jsx)(t.code,{children:"0.7"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Max Tokens"}),(0,d.jsx)(t.td,{children:"Max Tokens"}),(0,d.jsxs)(t.td,{children:["Specifies the maximum number of tokens to generate. Defaults to ",(0,d.jsx)(t.code,{children:"1000"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Specifies the input text for text generation."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Stream"}),(0,d.jsx)(t.td,{children:"Stream"}),(0,d.jsxs)(t.td,{children:["Specifies whether to stream the response from the model. Defaults to ",(0,d.jsx)(t.code,{children:"False"}),"."]})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-3",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of AzureOpenAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"cohere",children:"Cohere"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Cohere's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://cohere.ai/",children:"Cohere documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-4",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Cohere API Key"}),(0,d.jsx)(t.td,{children:"Cohere API Key"}),(0,d.jsx)(t.td,{children:"Your Cohere API key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Max Tokens"}),(0,d.jsx)(t.td,{children:"Max Tokens"}),(0,d.jsxs)(t.td,{children:["Specifies the maximum number of tokens to generate. Defaults to ",(0,d.jsx)(t.code,{children:"256"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsxs)(t.td,{children:["Specifies the sampling temperature. Defaults to ",(0,d.jsx)(t.code,{children:"0.75"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Specifies the input text for text generation."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-4",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of the Cohere model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"deepseek",children:"DeepSeek"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using DeepSeek's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://api-docs.deepseek.com/",children:"DeepSeek documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-5",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["Maximum number of tokens to generate. Set to ",(0,d.jsx)(t.code,{children:"0"})," for unlimited. Range: ",(0,d.jsx)(t.code,{children:"0-128000"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_kwargs"}),(0,d.jsx)(t.td,{children:"Dictionary"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the model."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"json_mode"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsxs)(t.td,{children:["If ",(0,d.jsx)(t.code,{children:"True"}),", outputs JSON regardless of passing a schema."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The DeepSeek model to use. Default: ",(0,d.jsx)(t.code,{children:"deepseek-chat"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_base"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["Base URL for API requests. Default: ",(0,d.jsx)(t.code,{children:"https://api.deepseek.com"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your DeepSeek API key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in responses. Range: ",(0,d.jsx)(t.code,{children:"[0.0, 2.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"1.0"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"seed"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number initialized for random number generation. Use the same seed integer for more reproducible results, and use a different seed number for more random results."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-5",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatOpenAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"google-generative-ai",children:"Google Generative AI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Google's Generative AI models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://cloud.google.com/vertex-ai/docs/",children:"Google Generative AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-6",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Google API Key"}),(0,d.jsx)(t.td,{children:"Google API Key"}),(0,d.jsx)(t.td,{children:"Your Google API key to use for the Google Generative AI."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Model"}),(0,d.jsx)(t.td,{children:"Model"}),(0,d.jsxs)(t.td,{children:["The name of the model to use, such as ",(0,d.jsx)(t.code,{children:'"gemini-pro"'}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Max Output Tokens"}),(0,d.jsx)(t.td,{children:"Max Output Tokens"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Run inference with this temperature."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Top K"}),(0,d.jsx)(t.td,{children:"Top K"}),(0,d.jsx)(t.td,{children:"Consider the set of top K most probable tokens."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Top P"}),(0,d.jsx)(t.td,{children:"Top P"}),(0,d.jsx)(t.td,{children:"The maximum cumulative probability of tokens to consider when sampling."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"N"}),(0,d.jsx)(t.td,{children:"N"}),(0,d.jsx)(t.td,{children:"Number of chat completions to generate for each prompt."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-6",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatGoogleGenerativeAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"groq",children:"Groq"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Groq's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://groq.com/",children:"Groq documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-7",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"groq_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"API key for the Groq API."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"groq_api_base"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["Base URL path for API requests. Default: ",(0,d.jsx)(t.code,{children:"https://api.groq.com"})," (advanced)."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Range: ",(0,d.jsx)(t.code,{children:"[0.0, 1.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"n"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of chat completions to generate for each prompt (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The name of the Groq model to use. Options are dynamically fetched from the Groq API."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-7",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatGroq configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"hugging-face-api",children:"Hugging Face API"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Hugging Face's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://huggingface.co/",children:"Hugging Face documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-8",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Endpoint URL"}),(0,d.jsx)(t.td,{children:"Endpoint URL"}),(0,d.jsx)(t.td,{children:"The URL of the Hugging Face Inference API endpoint."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Task"}),(0,d.jsx)(t.td,{children:"Task"}),(0,d.jsx)(t.td,{children:"Specifies the task for text generation."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"API Token"}),(0,d.jsx)(t.td,{children:"API Token"}),(0,d.jsx)(t.td,{children:"The API token required for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Model Kwargs"}),(0,d.jsx)(t.td,{children:"Model Kwargs"}),(0,d.jsx)(t.td,{children:"Additional keyword arguments for the model."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"Input Value"}),(0,d.jsx)(t.td,{children:"The input text for text generation."})]})]})]}),"\n",(0,d.jsx)(t.h2,{id:"lmstudio",children:"LMStudio"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using LM Studio's local language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://lmstudio.ai/",children:"LM Studio documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-9",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"base_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The URL where LM Studio is running. Default: ",(0,d.jsx)(t.code,{children:'"http://localhost:1234"'}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["Maximum number of tokens to generate in the response. Default: ",(0,d.jsx)(t.code,{children:"512"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Range: ",(0,d.jsx)(t.code,{children:"[0.0, 2.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"0.7"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls diversity via nucleus sampling. Range: ",(0,d.jsx)(t.code,{children:"[0.0, 1.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"1.0"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"stop"}),(0,d.jsx)(t.td,{children:"List[String]"}),(0,d.jsx)(t.td,{children:"List of strings that will stop generation when encountered (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"stream"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsxs)(t.td,{children:["Whether to stream the response. Default: ",(0,d.jsx)(t.code,{children:"False"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"presence_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Penalizes repeated tokens. Range: ",(0,d.jsx)(t.code,{children:"[-2.0, 2.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"0.0"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"frequency_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Penalizes frequent tokens. Range: ",(0,d.jsx)(t.code,{children:"[-2.0, 2.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"0.0"}),"."]})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-8",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of LMStudio configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"maritalk",children:"Maritalk"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Maritalk LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://www.maritalk.com/",children:"Maritalk documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-10",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["The maximum number of tokens to generate. Set to ",(0,d.jsx)(t.code,{children:"0"})," for unlimited tokens. Default: ",(0,d.jsx)(t.code,{children:"512"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The name of the Maritalk model to use. Options: ",(0,d.jsx)(t.code,{children:"sabia-2-small"}),", ",(0,d.jsx)(t.code,{children:"sabia-2-medium"}),". Default: ",(0,d.jsx)(t.code,{children:"sabia-2-small"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The Maritalk API Key to use for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Range: ",(0,d.jsx)(t.code,{children:"[0.0, 1.0]"}),". Default: ",(0,d.jsx)(t.code,{children:"0.5"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"endpoint_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The Maritalk API endpoint. Default: ",(0,d.jsx)(t.code,{children:"https://api.maritalk.com"}),"."]})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-9",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatMaritalk configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"mistral",children:"Mistral"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using MistralAI LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://docs.mistral.ai/",children:"Mistral AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-11",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The name of the Mistral AI model to use. Options include ",(0,d.jsx)(t.code,{children:"open-mixtral-8x7b"}),", ",(0,d.jsx)(t.code,{children:"open-mixtral-8x22b"}),", ",(0,d.jsx)(t.code,{children:"mistral-small-latest"}),", ",(0,d.jsx)(t.code,{children:"mistral-medium-latest"}),", ",(0,d.jsx)(t.code,{children:"mistral-large-latest"}),", and ",(0,d.jsx)(t.code,{children:"codestral-latest"}),". Default: ",(0,d.jsx)(t.code,{children:"codestral-latest"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"mistral_api_base"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The base URL of the Mistral API. Defaults to ",(0,d.jsx)(t.code,{children:"https://api.mistral.ai/v1"})," (advanced)."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The Mistral API Key to use for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.5."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_retries"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Maximum number of retries for API calls. Default: 5 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"timeout"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Timeout for API calls in seconds. Default: 60 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_concurrent_requests"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Maximum number of concurrent API requests. Default: 3 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Nucleus sampling parameter. Default: 1 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"random_seed"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Seed for random number generation. Default: 1 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"safe_mode"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Enables safe mode for content generation (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-10",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatMistralAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"novita-ai",children:"Novita AI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Novita AI's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://novita.ai/docs/model-api/reference/llm/llm.html?utm_source=github_langflow&utm_medium=github_readme&utm_campaign=link",children:"Novita AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-12",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your Novita AI API Key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The id of the Novita AI model to use."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"frequency_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"presence_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-11",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of Novita AI model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"nvidia",children:"NVIDIA"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using NVIDIA LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://developer.nvidia.com/generative-ai",children:"NVIDIA AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-13",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["The maximum number of tokens to generate. Set to ",(0,d.jsx)(t.code,{children:"0"})," for unlimited tokens (advanced)."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The name of the NVIDIA model to use. Default: ",(0,d.jsx)(t.code,{children:"mistralai/mixtral-8x7b-instruct-v0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"base_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["The base URL of the NVIDIA API. Default: ",(0,d.jsx)(t.code,{children:"https://integrate.api.nvidia.com/v1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"nvidia_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The NVIDIA API Key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsxs)(t.td,{children:["Controls randomness in the output. Default: ",(0,d.jsx)(t.code,{children:"0.1"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"seed"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsxs)(t.td,{children:["The seed controls the reproducibility of the job (advanced). Default: ",(0,d.jsx)(t.code,{children:"1"}),"."]})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-12",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatNVIDIA configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"ollama",children:"Ollama"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Ollama's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://ollama.com/",children:"Ollama documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-14",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Display Name"}),(0,d.jsx)(t.th,{children:"Info"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Base URL"}),(0,d.jsx)(t.td,{children:"Base URL"}),(0,d.jsx)(t.td,{children:"Endpoint of the Ollama API."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Model Name"}),(0,d.jsx)(t.td,{children:"Model Name"}),(0,d.jsx)(t.td,{children:"The model name to use."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Temperature"}),(0,d.jsx)(t.td,{children:"Controls the creativity of model responses."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-13",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of an Ollama model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"openai",children:"OpenAI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using OpenAI's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://beta.openai.com/docs/",children:"OpenAI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-15",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your OpenAI API Key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The name of the OpenAI model to use. Options include "gpt-3.5-turbo" and "gpt-4".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"frequency_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"presence_penalty"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-14",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of OpenAI model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"openrouter",children:"OpenRouter"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using OpenRouter's unified API for multiple AI models from different providers."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://openrouter.ai/docs",children:"OpenRouter documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-16",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your OpenRouter API key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"site_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Your site URL for OpenRouter rankings (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"app_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"Your app name for OpenRouter rankings (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"provider"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The AI model provider to use."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The specific model to use for chat completion."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 2.0]. Default: 0.7."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-15",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatOpenAI configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"perplexity",children:"Perplexity"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Perplexity's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://perplexity.ai/",children:"Perplexity documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-17",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The name of the Perplexity model to use. Options include various Llama 3.1 models."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_output_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"The Perplexity API Key for authentication."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.75."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"The maximum cumulative probability of tokens to consider when sampling (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"n"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of chat completions to generate for each prompt (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_k"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Number of top tokens to consider for top-k sampling. Must be positive (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-16",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatPerplexity configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"qianfan",children:"Qianfan"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Qianfan's language models."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://github.com/baidubce/bce-qianfan-sdk",children:"Qianfan documentation"}),"."]}),"\n",(0,d.jsx)(t.h2,{id:"sambanova",children:"SambaNova"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using SambaNova LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://cloud.sambanova.ai/",children:"Sambanova Cloud documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-18",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"sambanova_url"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsxs)(t.td,{children:["Base URL path for API requests. Default: ",(0,d.jsx)(t.code,{children:"https://api.sambanova.ai/v1/chat/completions"}),"."]})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"sambanova_api_key"}),(0,d.jsx)(t.td,{children:"SecretString"}),(0,d.jsx)(t.td,{children:"Your SambaNova API Key."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The name of the Sambanova model to use. Options include various Llama models."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.07."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-17",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of SambaNova model configured with the specified parameters."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"vertexai",children:"VertexAI"}),"\n",(0,d.jsx)(t.p,{children:"This component generates text using Vertex AI LLMs."}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see ",(0,d.jsx)(t.a,{href:"https://cloud.google.com/vertex-ai",children:"Google Vertex AI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-19",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"credentials"}),(0,d.jsx)(t.td,{children:"File"}),(0,d.jsx)(t.td,{children:"JSON credentials file. Leave empty to fallback to environment variables. File type: JSON."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model_name"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The name of the Vertex AI model to use. Default: "gemini-1.5-pro".'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"project"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:"The project ID (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"location"}),(0,d.jsx)(t.td,{children:"String"}),(0,d.jsx)(t.td,{children:'The location for the Vertex AI API. Default: "us-central1" (advanced).'})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_output_tokens"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The maximum number of tokens to generate (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"max_retries"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"Maximum number of retries for API calls. Default: 1 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"temperature"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.0."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_k"}),(0,d.jsx)(t.td,{children:"Integer"}),(0,d.jsx)(t.td,{children:"The number of highest probability vocabulary tokens to keep for top-k-filtering (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"top_p"}),(0,d.jsx)(t.td,{children:"Float"}),(0,d.jsx)(t.td,{children:"The cumulative probability of parameter highest probability vocabulary tokens to keep for nucleus sampling. Default: 0.95 (advanced)."})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"verbose"}),(0,d.jsx)(t.td,{children:"Boolean"}),(0,d.jsx)(t.td,{children:"Whether to print verbose output. Default: False (advanced)."})]})]})]}),"\n",(0,d.jsx)(t.h3,{id:"outputs-18",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsx)(t.tbody,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"model"}),(0,d.jsx)(t.td,{children:"LanguageModel"}),(0,d.jsx)(t.td,{children:"An instance of ChatVertexAI configured with the specified parameters."})]})})]})]})}function a(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(o,{...e})}):o(e)}},90567:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/starter-flow-basic-prompting-09331815d7282bd6a3feedf84838ba20.png"},28453:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>l});var s=n(96540);const d={},r=s.createContext(d);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2ab0d4f5.a7454d82.js b/assets/js/2ab0d4f5.a7454d82.js new file mode 100644 index 0000000000..fd30c6a825 --- /dev/null +++ b/assets/js/2ab0d4f5.a7454d82.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1845],{83640:(e,n,t)=>{t.r(n),t.d(n,{contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>l});const i=JSON.parse('{"type":"api","id":"simplified-run-flow","title":"Simplified Run Flow","description":"","slug":"/simplified-run-flow","frontMatter":{},"api":{"tags":["Base"],"description":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","operationId":"simplified_run_flow_api_v1_run__flow_id_or_name__post","security":[{"API key query":[]},{"API key header":[]}],"parameters":[{"name":"flow_id_or_name","in":"path","required":true,"schema":{"type":"string","title":"Flow Id Or Name"}},{"name":"stream","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Stream"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"string","format":"uuid"}],"title":"User Id","nullable":true}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"properties":{"input_value":{"anyOf":[{"type":"string"}],"title":"Input Value","description":"The input value","nullable":true},"input_type":{"anyOf":[{"type":"string","enum":["chat","text","any"]}],"title":"Input Type","description":"The input type","default":"chat","nullable":true},"output_type":{"anyOf":[{"type":"string","enum":["chat","text","any","debug"]}],"title":"Output Type","description":"The output type","default":"chat","nullable":true},"output_component":{"anyOf":[{"type":"string"}],"title":"Output Component","description":"If there are multiple output components, you can specify the component to get the output from.","default":"","nullable":true},"tweaks":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"object","title":"Tweaks","description":"A dictionary of tweaks to adjust the flow\'s execution. Allows customizing flow behavior dynamically. All tweaks are overridden by the input values.","example":{"Component Name":{"parameter_name":"value"},"component_id":{"parameter_name":"value"},"parameter_name":"value"}}],"description":"The tweaks","nullable":true},"session_id":{"anyOf":[{"type":"string"}],"title":"Session Id","description":"The session id","nullable":true}},"type":"object","title":"SimplifiedAPIRequest"}],"title":"Input Request","nullable":true}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}},"method":"post","path":"/api/v1/run/{flow_id_or_name}","securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"api/v1/login"}}},"API key query":{"type":"apiKey","in":"query","name":"x-api-key"},"API key header":{"type":"apiKey","in":"header","name":"x-api-key"}},"info":{"title":"Langflow","version":"1.1.1"},"postman":{"name":"Simplified Run Flow","description":{"content":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","type":"text/plain"},"url":{"path":["api","v1","run",":flow_id_or_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"stream","value":"false"},{"disabled":false,"key":"user_id","value":"For more information, see the Azure OpenAI documentation.
| Name | Display Name | Info |
|---|---|---|
| Model Name | Model Name | Specifies the name of the Azure OpenAI model to be used for text generation. |
| Azure Endpoint | Azure Endpoint | Your Azure endpoint, including the resource. |
| Deployment Name | Deployment Name | Specifies the name of the deployment. |
| API Version | API Version | Specifies the version of the Azure OpenAI API to be used. |
| API Key | API Key | Your Azure OpenAI API key. |
| Temperature | Temperature | Specifies the sampling temperature. Defaults to 0.7. |
| Max Tokens | Max Tokens | Specifies the maximum number of tokens to generate. Defaults to 1000. |
| Input Value | Input Value | Specifies the input text for text generation. |
| Stream | Stream | Specifies whether to stream the response from the model. Defaults to False. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of AzureOpenAI configured with the specified parameters. |
This component generates text using Cohere's language models.
For more information, see the Cohere documentation.
| Name | Display Name | Info |
|---|---|---|
| Cohere API Key | Cohere API Key | Your Cohere API key. |
| Max Tokens | Max Tokens | Specifies the maximum number of tokens to generate. Defaults to 256. |
| Temperature | Temperature | Specifies the sampling temperature. Defaults to 0.75. |
| Input Value | Input Value | Specifies the input text for text generation. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of the Cohere model configured with the specified parameters. |
This component generates text using DeepSeek's language models.
+For more information, see the DeepSeek documentation.
+| Name | Type | Description |
|---|---|---|
| max_tokens | Integer | Maximum number of tokens to generate. Set to 0 for unlimited. Range: 0-128000. |
| model_kwargs | Dictionary | Additional keyword arguments for the model. |
| json_mode | Boolean | If True, outputs JSON regardless of passing a schema. |
| model_name | String | The DeepSeek model to use. Default: deepseek-chat. |
| api_base | String | Base URL for API requests. Default: https://api.deepseek.com. |
| api_key | SecretString | Your DeepSeek API key for authentication. |
| temperature | Float | Controls randomness in responses. Range: [0.0, 2.0]. Default: 1.0. |
| seed | Integer | Number initialized for random number generation. Use the same seed integer for more reproducible results, and use a different seed number for more random results. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatOpenAI configured with the specified parameters. |
This component generates text using Google's Generative AI models.
For more information, see the Google Generative AI documentation.
-| Name | Display Name | Info |
|---|---|---|
| Google API Key | Google API Key | Your Google API key to use for the Google Generative AI. |
| Model | Model | The name of the model to use, such as "gemini-pro". |
| Max Output Tokens | Max Output Tokens | The maximum number of tokens to generate. |
| Temperature | Temperature | Run inference with this temperature. |
| Top K | Top K | Consider the set of top K most probable tokens. |
| Top P | Top P | The maximum cumulative probability of tokens to consider when sampling. |
| N | N | Number of chat completions to generate for each prompt. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatGoogleGenerativeAI configured with the specified parameters. |
This component generates text using Groq's language models.
For more information, see the Groq documentation.
-| Name | Type | Description |
|---|---|---|
| groq_api_key | SecretString | API key for the Groq API. |
| groq_api_base | String | Base URL path for API requests. Default: https://api.groq.com (advanced). |
| max_tokens | Integer | The maximum number of tokens to generate (advanced). |
| temperature | Float | Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.1. |
| n | Integer | Number of chat completions to generate for each prompt (advanced). |
| model_name | String | The name of the Groq model to use. Options are dynamically fetched from the Groq API. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatGroq configured with the specified parameters. |
This component generates text using Hugging Face's language models.
For more information, see the Hugging Face documentation.
-| Name | Display Name | Info |
|---|---|---|
| Endpoint URL | Endpoint URL | The URL of the Hugging Face Inference API endpoint. |
| Task | Task | Specifies the task for text generation. |
| API Token | API Token | The API token required for authentication. |
| Model Kwargs | Model Kwargs | Additional keyword arguments for the model. |
| Input Value | Input Value | The input text for text generation. |
This component generates text using LM Studio's local language models.
+For more information, see LM Studio documentation.
+| Name | Type | Description |
|---|---|---|
| base_url | String | The URL where LM Studio is running. Default: "http://localhost:1234". |
| max_tokens | Integer | Maximum number of tokens to generate in the response. Default: 512. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 2.0]. Default: 0.7. |
| top_p | Float | Controls diversity via nucleus sampling. Range: [0.0, 1.0]. Default: 1.0. |
| stop | List[String] | List of strings that will stop generation when encountered (advanced). |
| stream | Boolean | Whether to stream the response. Default: False. |
| presence_penalty | Float | Penalizes repeated tokens. Range: [-2.0, 2.0]. Default: 0.0. |
| frequency_penalty | Float | Penalizes frequent tokens. Range: [-2.0, 2.0]. Default: 0.0. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of LMStudio configured with the specified parameters. |
This component generates text using Maritalk LLMs.
For more information, see Maritalk documentation.
-| Name | Type | Description |
|---|---|---|
| max_tokens | Integer | The maximum number of tokens to generate. Set to 0 for unlimited tokens. Default: 512. |
| model_name | String | The name of the Maritalk model to use. Options: sabia-2-small, sabia-2-medium. Default: sabia-2-small. |
| api_key | SecretString | The Maritalk API Key to use for authentication. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.5. |
| endpoint_url | String | The Maritalk API endpoint. Default: https://api.maritalk.com. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatMaritalk configured with the specified parameters. |
This component generates text using MistralAI LLMs.
For more information, see Mistral AI documentation.
-| Name | Type | Description |
|---|---|---|
| max_tokens | Integer | The maximum number of tokens to generate. Set to 0 for unlimited tokens (advanced). |
| model_name | String | The name of the Mistral AI model to use. Options include open-mixtral-8x7b, open-mixtral-8x22b, mistral-small-latest, mistral-medium-latest, mistral-large-latest, and codestral-latest. Default: codestral-latest. |
| mistral_api_base | String | The base URL of the Mistral API. Defaults to https://api.mistral.ai/v1 (advanced). |
| api_key | SecretString | The Mistral API Key to use for authentication. |
| temperature | Float | Controls randomness in the output. Default: 0.5. |
| max_retries | Integer | Maximum number of retries for API calls. Default: 5 (advanced). |
| timeout | Integer | Timeout for API calls in seconds. Default: 60 (advanced). |
| max_concurrent_requests | Integer | Maximum number of concurrent API requests. Default: 3 (advanced). |
| top_p | Float | Nucleus sampling parameter. Default: 1 (advanced). |
| random_seed | Integer | Seed for random number generation. Default: 1 (advanced). |
| safe_mode | Boolean | Enables safe mode for content generation (advanced). |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatMistralAI configured with the specified parameters. |
This component generates text using Novita AI's language models.
+For more information, see Novita AI documentation.
+| Name | Type | Description |
|---|---|---|
| api_key | SecretString | Your Novita AI API Key. |
| model | String | The id of the Novita AI model to use. |
| max_tokens | Integer | The maximum number of tokens to generate. Set to 0 for unlimited tokens. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7. |
| top_p | Float | Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0. |
| frequency_penalty | Float | Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0. |
| presence_penalty | Float | Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of Novita AI model configured with the specified parameters. |
This component generates text using NVIDIA LLMs.
For more information, see NVIDIA AI documentation.
-| Name | Type | Description |
|---|---|---|
| max_tokens | Integer | The maximum number of tokens to generate. Set to 0 for unlimited tokens (advanced). |
| model_name | String | The name of the NVIDIA model to use. Default: mistralai/mixtral-8x7b-instruct-v0.1. |
| base_url | String | The base URL of the NVIDIA API. Default: https://integrate.api.nvidia.com/v1. |
| nvidia_api_key | SecretString | The NVIDIA API Key for authentication. |
| temperature | Float | Controls randomness in the output. Default: 0.1. |
| seed | Integer | The seed controls the reproducibility of the job (advanced). Default: 1. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatNVIDIA configured with the specified parameters. |
This component generates text using Ollama's language models.
For more information, see Ollama documentation.
-| Name | Display Name | Info |
|---|---|---|
| Base URL | Base URL | Endpoint of the Ollama API. |
| Model Name | Model Name | The model name to use. |
| Temperature | Temperature | Controls the creativity of model responses. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of an Ollama model configured with the specified parameters. |
This component generates text using OpenAI's language models.
For more information, see OpenAI documentation.
-| Name | Type | Description |
|---|---|---|
| api_key | SecretString | Your OpenAI API Key. |
| model | String | The name of the OpenAI model to use. Options include "gpt-3.5-turbo" and "gpt-4". |
| max_tokens | Integer | The maximum number of tokens to generate. Set to 0 for unlimited tokens. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7. |
| top_p | Float | Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0. |
| frequency_penalty | Float | Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0. |
| presence_penalty | Float | Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of OpenAI model configured with the specified parameters. |
This component generates text using Qianfan's language models.
-For more information, see Qianfan documentation.
This component generates text using OpenRouter's unified API for multiple AI models from different providers.
For more information, see OpenRouter documentation.
-| Name | Type | Description |
|---|---|---|
| api_key | SecretString | Your OpenRouter API key for authentication. |
| site_url | String | Your site URL for OpenRouter rankings (advanced). |
| app_name | String | Your app name for OpenRouter rankings (advanced). |
| provider | String | The AI model provider to use. |
| model_name | String | The specific model to use for chat completion. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 2.0]. Default: 0.7. |
| max_tokens | Integer | The maximum number of tokens to generate (advanced). |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatOpenAI configured with the specified parameters. |
This component generates text using Perplexity's language models.
For more information, see Perplexity documentation.
-| Name | Type | Description |
|---|---|---|
| model_name | String | The name of the Perplexity model to use. Options include various Llama 3.1 models. |
| max_output_tokens | Integer | The maximum number of tokens to generate. |
| api_key | SecretString | The Perplexity API Key for authentication. |
| temperature | Float | Controls randomness in the output. Default: 0.75. |
| top_p | Float | The maximum cumulative probability of tokens to consider when sampling (advanced). |
| n | Integer | Number of chat completions to generate for each prompt (advanced). |
| top_k | Integer | Number of top tokens to consider for top-k sampling. Must be positive (advanced). |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatPerplexity configured with the specified parameters. |
This component generates text using Qianfan's language models.
+For more information, see Qianfan documentation.
This component generates text using SambaNova LLMs.
For more information, see Sambanova Cloud documentation.
-| Name | Type | Description |
|---|---|---|
| sambanova_url | String | Base URL path for API requests. Default: https://api.sambanova.ai/v1/chat/completions. |
| sambanova_api_key | SecretString | Your SambaNova API Key. |
| model_name | String | The name of the Sambanova model to use. Options include various Llama models. |
| max_tokens | Integer | The maximum number of tokens to generate. Set to 0 for unlimited tokens. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.07. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of SambaNova model configured with the specified parameters. |
This component generates text using Vertex AI LLMs.
For more information, see Google Vertex AI documentation.
-| Name | Type | Description |
|---|---|---|
| credentials | File | JSON credentials file. Leave empty to fallback to environment variables. File type: JSON. |
| model_name | String | The name of the Vertex AI model to use. Default: "gemini-1.5-pro". |
| project | String | The project ID (advanced). |
| location | String | The location for the Vertex AI API. Default: "us-central1" (advanced). |
| max_output_tokens | Integer | The maximum number of tokens to generate (advanced). |
| max_retries | Integer | Maximum number of retries for API calls. Default: 1 (advanced). |
| temperature | Float | Controls randomness in the output. Default: 0.0. |
| top_k | Integer | The number of highest probability vocabulary tokens to keep for top-k-filtering (advanced). |
| top_p | Float | The cumulative probability of parameter highest probability vocabulary tokens to keep for nucleus sampling. Default: 0.95 (advanced). |
| verbose | Boolean | Whether to print verbose output. Default: False (advanced). |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatVertexAI configured with the specified parameters. |
This component generates text using Novita AI's language models.
-For more information, see Novita AI documentation.
-| Name | Type | Description |
|---|---|---|
| api_key | SecretString | Your Novita AI API Key. |
| model | String | The id of the Novita AI model to use. |
| max_tokens | Integer | The maximum number of tokens to generate. Set to 0 for unlimited tokens. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7. |
| top_p | Float | Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0. |
| frequency_penalty | Float | Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0. |
| presence_penalty | Float | Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatVertexAI configured with the specified parameters. |