diff --git a/404.html b/404.html index 6a7d2fbe89..207f51d870 100644 --- a/404.html +++ b/404.html @@ -16,7 +16,7 @@ - +
diff --git a/Concepts/concepts-flows.html b/Concepts/concepts-flows.html index fd15e3ff28..b205985cc2 100644 --- a/Concepts/concepts-flows.html +++ b/Concepts/concepts-flows.html @@ -16,7 +16,7 @@ - + diff --git a/Deployment/deployment-docker.html b/Deployment/deployment-docker.html index cdf82d72a2..40eced0295 100644 --- a/Deployment/deployment-docker.html +++ b/Deployment/deployment-docker.html @@ -16,7 +16,7 @@ - + diff --git a/agents-overview.html b/agents-overview.html index 1a173fa844..2bfc4ffdcf 100644 --- a/agents-overview.html +++ b/agents-overview.html @@ -16,7 +16,7 @@ - + diff --git a/agents-tool-calling-agent-component.html b/agents-tool-calling-agent-component.html index 075efb5ee7..ad87a2e141 100644 --- a/agents-tool-calling-agent-component.html +++ b/agents-tool-calling-agent-component.html @@ -16,7 +16,7 @@ - + diff --git a/api-reference-api-examples.html b/api-reference-api-examples.html index 793d9163a1..d73c3c0dd4 100644 --- a/api-reference-api-examples.html +++ b/api-reference-api-examples.html @@ -16,7 +16,7 @@ - + diff --git a/api.html b/api.html index 7de26a7ae7..7dac2a055a 100644 --- a/api.html +++ b/api.html @@ -16,7 +16,7 @@ - + diff --git a/api/add-user.html b/api/add-user.html index f6cc79bb5c..2bec37b6fc 100644 --- a/api/add-user.html +++ b/api/add-user.html @@ -16,7 +16,7 @@ - + diff --git a/api/auto-login.html b/api/auto-login.html index 3c3d3ba1aa..4007e269fa 100644 --- a/api/auto-login.html +++ b/api/auto-login.html @@ -16,7 +16,7 @@ - + diff --git a/api/build-flow.html b/api/build-flow.html index c2dac96f29..4141d728a5 100644 --- a/api/build-flow.html +++ b/api/build-flow.html @@ -16,7 +16,7 @@ - + diff --git a/api/build-vertex-stream.html b/api/build-vertex-stream.html index 4c6bfa7e3c..ce1b639465 100644 --- a/api/build-vertex-stream.html +++ b/api/build-vertex-stream.html @@ -16,7 +16,7 @@ - + diff --git a/api/build-vertex.html b/api/build-vertex.html index c2f0d5d53e..1b9a85dab2 100644 --- a/api/build-vertex.html +++ b/api/build-vertex.html @@ -16,7 +16,7 @@ - + diff --git a/api/check-if-store-has-api-key.html b/api/check-if-store-has-api-key.html index ffbdf4cf38..482fb28b3a 100644 --- a/api/check-if-store-has-api-key.html +++ b/api/check-if-store-has-api-key.html @@ -16,7 +16,7 @@ - + diff --git a/api/check-if-store-is-enabled.html b/api/check-if-store-is-enabled.html index 30e32bdb9f..1cbaca5857 100644 --- a/api/check-if-store-is-enabled.html +++ b/api/check-if-store-is-enabled.html @@ -16,7 +16,7 @@ - + diff --git a/api/create-api-key-route.html b/api/create-api-key-route.html index 56a46bd78d..31960d4298 100644 --- a/api/create-api-key-route.html +++ b/api/create-api-key-route.html @@ -16,7 +16,7 @@ - + diff --git a/api/create-flow.html b/api/create-flow.html index 298a3c09e8..418d45a2fc 100644 --- a/api/create-flow.html +++ b/api/create-flow.html @@ -16,7 +16,7 @@ - + diff --git a/api/create-flows.html b/api/create-flows.html index 824e9d0ed0..1dd1e3354d 100644 --- a/api/create-flows.html +++ b/api/create-flows.html @@ -16,7 +16,7 @@ - + diff --git a/api/create-folder.html b/api/create-folder.html index 7db0753875..d3a2124e51 100644 --- a/api/create-folder.html +++ b/api/create-folder.html @@ -16,7 +16,7 @@ - + diff --git a/api/create-upload-file.html b/api/create-upload-file.html index 71f0fd72d6..5424a026f3 100644 --- a/api/create-upload-file.html +++ b/api/create-upload-file.html @@ -16,7 +16,7 @@ - + diff --git a/api/create-variable.html b/api/create-variable.html index e3ec8ff239..99eca473b7 100644 --- a/api/create-variable.html +++ b/api/create-variable.html @@ -16,7 +16,7 @@ - + diff --git a/api/custom-component-update.html b/api/custom-component-update.html index 354b6a4394..bf50a29420 100644 --- a/api/custom-component-update.html +++ b/api/custom-component-update.html @@ -16,7 +16,7 @@ - + diff --git a/api/custom-component.html b/api/custom-component.html index 0e4c1db1e4..bcf25414ca 100644 --- a/api/custom-component.html +++ b/api/custom-component.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-api-key-route.html b/api/delete-api-key-route.html index 6b1214ae8d..20cf9bf3ca 100644 --- a/api/delete-api-key-route.html +++ b/api/delete-api-key-route.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-file.html b/api/delete-file.html index 46e693e376..d74729610d 100644 --- a/api/delete-file.html +++ b/api/delete-file.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-flow.html b/api/delete-flow.html index 2a1d4a6072..dd6ccb6075 100644 --- a/api/delete-flow.html +++ b/api/delete-flow.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-folder.html b/api/delete-folder.html index bd8f562414..922d019680 100644 --- a/api/delete-folder.html +++ b/api/delete-folder.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-messages-session.html b/api/delete-messages-session.html index 0b9e0603d5..5a018858b6 100644 --- a/api/delete-messages-session.html +++ b/api/delete-messages-session.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-messages.html b/api/delete-messages.html index f99fe9106e..6dc387399d 100644 --- a/api/delete-messages.html +++ b/api/delete-messages.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-multiple-flows.html b/api/delete-multiple-flows.html index 00b122621f..5d1ad58740 100644 --- a/api/delete-multiple-flows.html +++ b/api/delete-multiple-flows.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-user.html b/api/delete-user.html index 1fb102490a..df8d5781d3 100644 --- a/api/delete-user.html +++ b/api/delete-user.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-variable.html b/api/delete-variable.html index 5923079768..2938efef74 100644 --- a/api/delete-variable.html +++ b/api/delete-variable.html @@ -16,7 +16,7 @@ - + diff --git a/api/delete-vertex-builds.html b/api/delete-vertex-builds.html index c89c260acc..ddcdbf26c6 100644 --- a/api/delete-vertex-builds.html +++ b/api/delete-vertex-builds.html @@ -16,7 +16,7 @@ - + diff --git a/api/download-component.html b/api/download-component.html index 2de84ec337..5942f1734f 100644 --- a/api/download-component.html +++ b/api/download-component.html @@ -16,7 +16,7 @@ - + diff --git a/api/download-file-1.html b/api/download-file-1.html index 0c3c2bbc53..279f173ad6 100644 --- a/api/download-file-1.html +++ b/api/download-file-1.html @@ -16,7 +16,7 @@ - + diff --git a/api/download-file.html b/api/download-file.html index 21e2f57593..5a82430dff 100644 --- a/api/download-file.html +++ b/api/download-file.html @@ -16,7 +16,7 @@ - + diff --git a/api/download-image.html b/api/download-image.html index e4c22109c5..c4e023cfdf 100644 --- a/api/download-image.html +++ b/api/download-image.html @@ -16,7 +16,7 @@ - + diff --git a/api/download-multiple-file.html b/api/download-multiple-file.html index 6ec4f57372..025b32eb91 100644 --- a/api/download-multiple-file.html +++ b/api/download-multiple-file.html @@ -16,7 +16,7 @@ - + diff --git a/api/download-profile-picture.html b/api/download-profile-picture.html index 9f7dbe014e..1e8fcf156c 100644 --- a/api/download-profile-picture.html +++ b/api/download-profile-picture.html @@ -16,7 +16,7 @@ - + diff --git a/api/experimental-run-flow.html b/api/experimental-run-flow.html index c06b0dfcc1..e9fc315e1a 100644 --- a/api/experimental-run-flow.html +++ b/api/experimental-run-flow.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-all.html b/api/get-all.html index 4007d1c780..101582d043 100644 --- a/api/get-all.html +++ b/api/get-all.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-api-keys-route.html b/api/get-api-keys-route.html index 533eefd2cc..b16942fa72 100644 --- a/api/get-api-keys-route.html +++ b/api/get-api-keys-route.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-components.html b/api/get-components.html index 7e1822a137..1c1dcb0dc7 100644 --- a/api/get-components.html +++ b/api/get-components.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-config.html b/api/get-config.html index b0a1fa3634..49eaf2c900 100644 --- a/api/get-config.html +++ b/api/get-config.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-list-of-components-liked-by-user.html b/api/get-list-of-components-liked-by-user.html index 1b84de18f7..c7b869ea46 100644 --- a/api/get-list-of-components-liked-by-user.html +++ b/api/get-list-of-components-liked-by-user.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-messages.html b/api/get-messages.html index 5b100041e0..e76d909e69 100644 --- a/api/get-messages.html +++ b/api/get-messages.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-starter-projects.html b/api/get-starter-projects.html index c5f9838783..b2544063d7 100644 --- a/api/get-starter-projects.html +++ b/api/get-starter-projects.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-tags.html b/api/get-tags.html index 093509bcc6..81afd07f14 100644 --- a/api/get-tags.html +++ b/api/get-tags.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-task-status.html b/api/get-task-status.html index beeb8baf02..65a0e12bcd 100644 --- a/api/get-task-status.html +++ b/api/get-task-status.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-transactions.html b/api/get-transactions.html index 4447a69445..adf22e7502 100644 --- a/api/get-transactions.html +++ b/api/get-transactions.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-version.html b/api/get-version.html index e1fec085a1..8d23eaeb9a 100644 --- a/api/get-version.html +++ b/api/get-version.html @@ -16,7 +16,7 @@ - + diff --git a/api/get-vertex-builds.html b/api/get-vertex-builds.html index e05785f224..cea4101bb4 100644 --- a/api/get-vertex-builds.html +++ b/api/get-vertex-builds.html @@ -16,7 +16,7 @@ - + diff --git a/api/handle-messages.html b/api/handle-messages.html index 44e6a44c33..12668a428c 100644 --- a/api/handle-messages.html +++ b/api/handle-messages.html @@ -16,7 +16,7 @@ - + diff --git a/api/handle-sse.html b/api/handle-sse.html index 0f56351369..3ff5b2d4cd 100644 --- a/api/handle-sse.html +++ b/api/handle-sse.html @@ -16,7 +16,7 @@ - + diff --git a/api/health-check.html b/api/health-check.html index b6ca2a7abf..e560a16b85 100644 --- a/api/health-check.html +++ b/api/health-check.html @@ -16,7 +16,7 @@ - + diff --git a/api/health.html b/api/health.html index fc3df06c2d..e13f96fcb0 100644 --- a/api/health.html +++ b/api/health.html @@ -16,7 +16,7 @@ - + diff --git a/api/like-component.html b/api/like-component.html index da4341b785..8d2be53050 100644 --- a/api/like-component.html +++ b/api/like-component.html @@ -16,7 +16,7 @@ - + diff --git a/api/list-files.html b/api/list-files.html index 77cfeb80a1..3e60ed05d0 100644 --- a/api/list-files.html +++ b/api/list-files.html @@ -16,7 +16,7 @@ - + diff --git a/api/list-profile-pictures.html b/api/list-profile-pictures.html index a1fbf699e4..9dcba8ff82 100644 --- a/api/list-profile-pictures.html +++ b/api/list-profile-pictures.html @@ -16,7 +16,7 @@ - + diff --git a/api/login-to-get-access-token.html b/api/login-to-get-access-token.html index 3b207a9d64..a5eecff7e4 100644 --- a/api/login-to-get-access-token.html +++ b/api/login-to-get-access-token.html @@ -16,7 +16,7 @@ - + diff --git a/api/logout.html b/api/logout.html index b645f304c9..ddcad27751 100644 --- a/api/logout.html +++ b/api/logout.html @@ -16,7 +16,7 @@ - + diff --git a/api/logs.html b/api/logs.html index 84799b38fc..95f408083b 100644 --- a/api/logs.html +++ b/api/logs.html @@ -16,7 +16,7 @@ - + diff --git a/api/patch-user.html b/api/patch-user.html index 02caa89c90..a9076454b0 100644 --- a/api/patch-user.html +++ b/api/patch-user.html @@ -16,7 +16,7 @@ - + diff --git a/api/post-validate-code.html b/api/post-validate-code.html index eecddcba3d..e4a8c98444 100644 --- a/api/post-validate-code.html +++ b/api/post-validate-code.html @@ -16,7 +16,7 @@ - + diff --git a/api/post-validate-prompt.html b/api/post-validate-prompt.html index ef49f3633b..266c3202d1 100644 --- a/api/post-validate-prompt.html +++ b/api/post-validate-prompt.html @@ -16,7 +16,7 @@ - + diff --git a/api/process-1.html b/api/process-1.html index 8b2b6a4edb..948d071eda 100644 --- a/api/process-1.html +++ b/api/process-1.html @@ -16,7 +16,7 @@ - + diff --git a/api/process.html b/api/process.html index 40af0ef8eb..a14890beb7 100644 --- a/api/process.html +++ b/api/process.html @@ -16,7 +16,7 @@ - + diff --git a/api/read-all-users.html b/api/read-all-users.html index f18e71a203..2acd48d7ac 100644 --- a/api/read-all-users.html +++ b/api/read-all-users.html @@ -16,7 +16,7 @@ - + diff --git a/api/read-basic-examples.html b/api/read-basic-examples.html index f1375b6a6a..b018cdfb9c 100644 --- a/api/read-basic-examples.html +++ b/api/read-basic-examples.html @@ -16,7 +16,7 @@ - + diff --git a/api/read-current-user.html b/api/read-current-user.html index 40d608558b..eb41ef370a 100644 --- a/api/read-current-user.html +++ b/api/read-current-user.html @@ -16,7 +16,7 @@ - + diff --git a/api/read-flow.html b/api/read-flow.html index 7cc2648bc6..6e3086c4c5 100644 --- a/api/read-flow.html +++ b/api/read-flow.html @@ -16,7 +16,7 @@ - + diff --git a/api/read-flows.html b/api/read-flows.html index c159482728..80df401b77 100644 --- a/api/read-flows.html +++ b/api/read-flows.html @@ -16,7 +16,7 @@ - + diff --git a/api/read-folder.html b/api/read-folder.html index 44875944b2..8075275897 100644 --- a/api/read-folder.html +++ b/api/read-folder.html @@ -16,7 +16,7 @@ - + diff --git a/api/read-folders.html b/api/read-folders.html index 20ce10d034..51cbf533ec 100644 --- a/api/read-folders.html +++ b/api/read-folders.html @@ -16,7 +16,7 @@ - + diff --git a/api/read-variables.html b/api/read-variables.html index 6bee15045f..5cb85d4808 100644 --- a/api/read-variables.html +++ b/api/read-variables.html @@ -16,7 +16,7 @@ - + diff --git a/api/refresh-token.html b/api/refresh-token.html index 1b24995a5f..0dc2db5d47 100644 --- a/api/refresh-token.html +++ b/api/refresh-token.html @@ -16,7 +16,7 @@ - + diff --git a/api/reset-password.html b/api/reset-password.html index e6fa2365e4..de0e6d86bf 100644 --- a/api/reset-password.html +++ b/api/reset-password.html @@ -16,7 +16,7 @@ - + diff --git a/api/retrieve-vertices-order.html b/api/retrieve-vertices-order.html index 75dba355de..7d4e0cef19 100644 --- a/api/retrieve-vertices-order.html +++ b/api/retrieve-vertices-order.html @@ -16,7 +16,7 @@ - + diff --git a/api/save-store-api-key.html b/api/save-store-api-key.html index 37ad4b0486..7629ba4c6a 100644 --- a/api/save-store-api-key.html +++ b/api/save-store-api-key.html @@ -16,7 +16,7 @@ - + diff --git a/api/share-component.html b/api/share-component.html index a3899ae632..86e6cec4d6 100644 --- a/api/share-component.html +++ b/api/share-component.html @@ -16,7 +16,7 @@ - + diff --git a/api/simplified-run-flow.html b/api/simplified-run-flow.html index ace4f1c607..640ce52eab 100644 --- a/api/simplified-run-flow.html +++ b/api/simplified-run-flow.html @@ -16,7 +16,7 @@ - + diff --git a/api/stream-logs.html b/api/stream-logs.html index 83d8d7b616..dd12c8b8e2 100644 --- a/api/stream-logs.html +++ b/api/stream-logs.html @@ -16,7 +16,7 @@ - + diff --git a/api/update-flow.html b/api/update-flow.html index 718efcde4d..2a8bfd6f31 100644 --- a/api/update-flow.html +++ b/api/update-flow.html @@ -16,7 +16,7 @@ - + diff --git a/api/update-folder.html b/api/update-folder.html index dfdfce2d23..2b43c92bc1 100644 --- a/api/update-folder.html +++ b/api/update-folder.html @@ -16,7 +16,7 @@ - + diff --git a/api/update-message.html b/api/update-message.html index 78f6b2d070..ea56f2aeba 100644 --- a/api/update-message.html +++ b/api/update-message.html @@ -16,7 +16,7 @@ - + diff --git a/api/update-session-id.html b/api/update-session-id.html index 86c153fc2f..a21c7846dc 100644 --- a/api/update-session-id.html +++ b/api/update-session-id.html @@ -16,7 +16,7 @@ - + diff --git a/api/update-shared-component.html b/api/update-shared-component.html index 9f358dbea4..af76ef126c 100644 --- a/api/update-shared-component.html +++ b/api/update-shared-component.html @@ -16,7 +16,7 @@ - + diff --git a/api/update-variable.html b/api/update-variable.html index 78c0e35ce9..e141a6bd75 100644 --- a/api/update-variable.html +++ b/api/update-variable.html @@ -16,7 +16,7 @@ - + diff --git a/api/upload-file-1.html b/api/upload-file-1.html index 6359a1362f..12322cfb44 100644 --- a/api/upload-file-1.html +++ b/api/upload-file-1.html @@ -16,7 +16,7 @@ - + diff --git a/api/upload-file-2.html b/api/upload-file-2.html index 1f16436601..f6dc611d64 100644 --- a/api/upload-file-2.html +++ b/api/upload-file-2.html @@ -16,7 +16,7 @@ - + diff --git a/api/upload-file.html b/api/upload-file.html index 1a6c463f3f..1a1f990723 100644 --- a/api/upload-file.html +++ b/api/upload-file.html @@ -16,7 +16,7 @@ - + diff --git a/api/webhook-run-flow.html b/api/webhook-run-flow.html index 3b2a3365c0..6d9a4f4549 100644 --- a/api/webhook-run-flow.html +++ b/api/webhook-run-flow.html @@ -16,7 +16,7 @@ - + diff --git a/assets/js/0be1d5fe.7efdb1ae.js b/assets/js/0be1d5fe.7efdb1ae.js new file mode 100644 index 0000000000..afb1091706 --- /dev/null +++ b/assets/js/0be1d5fe.7efdb1ae.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[145],{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)}},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},{value:"xAI",id:"xai",level:2},{value:"Inputs",id:"inputs-20",level:3},{value:"Outputs",id:"outputs-19",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."})]})})]}),"\n",(0,d.jsx)(t.h2,{id:"xai",children:"xAI"}),"\n",(0,d.jsxs)(t.p,{children:["This component generates text using xAI models like ",(0,d.jsx)(t.a,{href:"https://x.ai/grok",children:"Grok"}),"."]}),"\n",(0,d.jsxs)(t.p,{children:["For more information, see the ",(0,d.jsx)(t.a,{href:"https://x.ai/",children:"xAI documentation"}),"."]}),"\n",(0,d.jsx)(t.h3,{id:"inputs-20",children:"Inputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{children:"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 xAI model to use. Default: ",(0,d.jsx)(t.code,{children:"grok-2-latest"}),"."]})]}),(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:["Base URL for API requests. Default: ",(0,d.jsx)(t.code,{children:"https://api.x.ai/v1"}),"."]})]}),(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 xAI 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. Range: ",(0,d.jsx)(t.code,{children:"[0.0, 2.0]"}),". 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-19",children:"Outputs"}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{children:"Name"}),(0,d.jsx)(t.th,{children:"Type"}),(0,d.jsx)(t.th,{children:"Description"})]})}),(0,d.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."})]})})]})]})}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"}}]); \ No newline at end of file diff --git a/assets/js/0be1d5fe.89cba4c2.js b/assets/js/0be1d5fe.89cba4c2.js deleted file mode 100644 index 565ca7a13b..0000000000 --- a/assets/js/0be1d5fe.89cba4c2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[145],{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)}},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"}}]); \ No newline at end of file diff --git a/assets/js/2ab0d4f5.ea810cc0.js b/assets/js/2ab0d4f5.f09c7b4f.js similarity index 51% rename from assets/js/2ab0d4f5.ea810cc0.js rename to assets/js/2ab0d4f5.f09c7b4f.js index d269b4463d..2a0358b679 100644 --- a/assets/js/2ab0d4f5.ea810cc0.js +++ b/assets/js/2ab0d4f5.f09c7b4f.js @@ -1 +1 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1845],{28453:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>o});var i=t(96540);const s={},r=i.createContext(s);function a(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),i.createElement(r.Provider,{value:n},e.children)}},83640:(e,n,t)=>{t.r(n),t.d(n,{contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>l});const i=JSON.parse('{"type":"api","id":"simplified-run-flow","title":"Simplified Run Flow","description":"","slug":"/simplified-run-flow","frontMatter":{},"api":{"tags":["Base"],"description":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","operationId":"simplified_run_flow_api_v1_run__flow_id_or_name__post","security":[{"API key query":[]},{"API key header":[]}],"parameters":[{"name":"flow_id_or_name","in":"path","required":true,"schema":{"type":"string","title":"Flow Id Or Name"}},{"name":"stream","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Stream"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"properties":{"input_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Value","description":"The input value"},"input_type":{"anyOf":[{"type":"string","enum":["chat","text","any"]},{"type":"null"}],"title":"Input Type","description":"The input type","default":"chat"},"output_type":{"anyOf":[{"type":"string","enum":["chat","text","any","debug"]},{"type":"null"}],"title":"Output Type","description":"The output type","default":"chat"},"output_component":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Component","description":"If there are multiple output components, you can specify the component to get the output from.","default":""},"tweaks":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"object","title":"Tweaks","description":"A dictionary of tweaks to adjust the flow\'s execution. Allows customizing flow behavior dynamically. All tweaks are overridden by the input values.","examples":[{"Component Name":{"parameter_name":"value"},"component_id":{"parameter_name":"value"},"parameter_name":"value"}]},{"type":"null"}],"description":"The tweaks"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id","description":"The session id"}},"type":"object","title":"SimplifiedAPIRequest"},{"type":"null"}],"title":"Input Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}},"method":"post","path":"/api/v1/run/{flow_id_or_name}","securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"api/v1/login"}}},"API key query":{"type":"apiKey","in":"query","name":"x-api-key"},"API key header":{"type":"apiKey","in":"header","name":"x-api-key"}},"info":{"title":"Langflow","version":"1.1.4"},"postman":{"name":"Simplified Run Flow","description":{"content":"Executes a specified flow by ID with support for streaming and telemetry.\\n\\nThis endpoint executes a flow identified by ID or name, with options for streaming the response\\nand tracking execution metrics. It handles both streaming and non-streaming execution modes.\\n\\nArgs:\\n background_tasks (BackgroundTasks): FastAPI background task manager\\n flow (FlowRead | None): The flow to execute, loaded via dependency\\n input_request (SimplifiedAPIRequest | None): Input parameters for the flow\\n stream (bool): Whether to stream the response\\n api_key_user (UserRead): Authenticated user from API key\\n request (Request): The incoming HTTP request\\n\\nReturns:\\n Union[StreamingResponse, RunResponse]: Either a streaming response for real-time results\\n or a RunResponse with the complete execution results\\n\\nRaises:\\n HTTPException: For flow not found (404) or invalid input (400)\\n APIException: For internal execution errors (500)\\n\\nNotes:\\n - Supports both streaming and non-streaming execution modes\\n - Tracks execution time and success/failure via telemetry\\n - Handles graceful client disconnection in streaming mode\\n - Provides detailed error handling with appropriate HTTP status codes\\n - In streaming mode, uses EventManager to handle events:\\n - \\"add_message\\": New messages during execution\\n - \\"token\\": Individual tokens during streaming\\n - \\"end\\": Final execution result","type":"text/plain"},"url":{"path":["api","v1","run",":flow_id_or_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"stream","value":"false"},{"disabled":false,"key":"user_id","value":"| 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. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatVertexAI configured with the specified parameters. |
This component generates text using xAI models like Grok.
+For more information, see the xAI 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 xAI model to use. Default: grok-2-latest. |
| base_url | String | Base URL for API requests. Default: https://api.x.ai/v1. |
| api_key | SecretString | Your xAI API key for authentication. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 2.0]. Default: 0.1. |
| seed | Integer | Controls reproducibility of the job. |
| Name | Type | Description |
|---|---|---|
| model | LanguageModel | An instance of ChatOpenAI configured with the specified parameters. |