@n8n/n8n-nodes-langchain 2.42.4 → 2.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.ts +4 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.ts +4 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.ts +4 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v2.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v21.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v22.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v3.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v31.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_image/operation_analyze.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_video/operation_image_to_video.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_image/operation_analyze.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_video/operation_image_to_video.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v1.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v11.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v12.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v13.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v14.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v15.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v16.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v17.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v18.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v19.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v1.ts +2 -17
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v11.ts +2 -17
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v12.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v12.ts +2 -17
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v13.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v13.ts +2 -17
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v14.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v14.ts +2 -17
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v15.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v15.ts +2 -17
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v16.ts +2 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v17.ts +2 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainSummarization/v1.ts +1 -5
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainSummarization/v2.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainSummarization/v2.ts +0 -16
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chainSummarization/v21.ts +0 -3
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v1.ts +19 -69
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v11.ts +19 -69
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v12.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v12.ts +19 -69
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v13.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v13.ts +19 -69
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.ts +13 -12
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.ts +13 -12
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.ts +13 -12
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.ts +13 -12
- package/dist/node-definitions/nodes/n8n-nodes-langchain/documentDefaultDataLoader/v1.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/documentDefaultDataLoader/v11.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsOpenAi/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsOpenAi/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsOpenAi/v12.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsOpenAi/v12.ts +1 -5
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/guardrails/v1.ts +1 -6
- package/dist/node-definitions/nodes/n8n-nodes-langchain/guardrails/v2.ts +1 -6
- package/dist/node-definitions/nodes/n8n-nodes-langchain/informationExtractor/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/informationExtractor/v1.ts +0 -13
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v1.ts +0 -19
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v11.ts +0 -19
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v12.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v12.ts +0 -19
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v13.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v13.ts +0 -19
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v14.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v14.ts +0 -19
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v15.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v15.ts +11 -19
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v16.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v16.ts +11 -19
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v1.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v11.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v11.ts +83 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v1.ts +1 -88
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v11.ts +1 -92
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v12.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v12.ts +0 -91
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v13.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v13.ts +0 -8
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_image_to_video.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_text_to_video.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/operation_image_to_video.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/operation_text_to_video.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_text/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_text/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_text/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_text/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_text/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_message.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_update.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_text/operation_response.ts +2 -10
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_text/operation_response.ts +2 -10
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_text/operation_response.ts +2 -10
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_image/operation_generate.ts +16 -15
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_text/operation_response.ts +2 -10
- package/dist/node-definitions/nodes/n8n-nodes-langchain/retrieverWorkflow/v1.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/sentimentAnalysis/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/sentimentAnalysis/v1.ts +0 -13
- package/dist/node-definitions/nodes/n8n-nodes-langchain/textClassifier/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/textClassifier/v1.ts +0 -13
- package/dist/node-definitions/nodes/n8n-nodes-langchain/toolWorkflow/v1.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/toolWorkflow/v11.ts +2 -1
- package/dist/nodes/agents/Agent/V1/AgentV1.node.js +0 -11
- package/dist/nodes/agents/Agent/V1/AgentV1.node.js.map +1 -1
- package/dist/nodes/agents/Agent/V2/AgentV2.node.js +0 -6
- package/dist/nodes/agents/Agent/V2/AgentV2.node.js.map +1 -1
- package/dist/nodes/agents/Agent/V3/AgentV3.node.js +0 -6
- package/dist/nodes/agents/Agent/V3/AgentV3.node.js.map +1 -1
- package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js +2 -2
- package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js.map +1 -1
- package/dist/nodes/embeddings/EmbeddingsOpenAI/EmbeddingsOpenAi.node.js +1 -1
- package/dist/nodes/embeddings/EmbeddingsOpenAI/EmbeddingsOpenAi.node.js.map +1 -1
- package/dist/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.js +3 -13
- package/dist/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.js.map +1 -1
- package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.js +1 -1
- package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.js.map +1 -1
- package/dist/nodes/llms/LMOpenHuggingFaceInference/LmOpenHuggingFaceInference.node.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js +34 -15
- package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/api-key.js +2 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/api-key.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/normalizeEndpoint.d.ts +1 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/normalizeEndpoint.js +7 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/normalizeEndpoint.js.map +1 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.js +6 -2
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.js +4 -2
- package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.d.ts +1 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.js +48 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.js.map +1 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js +12 -2
- package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/properties.js +58 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/properties.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/types.d.ts +1 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/types.js.map +1 -1
- package/dist/nodes/llms/shared/extra-body.d.ts +6 -0
- package/dist/nodes/llms/shared/extra-body.js +34 -0
- package/dist/nodes/llms/shared/extra-body.js.map +1 -0
- package/dist/nodes/vendors/OpenAi/v1/actions/assistant/create.operation.js +2 -2
- package/dist/nodes/vendors/OpenAi/v1/actions/assistant/create.operation.js.map +1 -1
- package/dist/nodes/vendors/OpenAi/v1/actions/assistant/update.operation.js +2 -2
- package/dist/nodes/vendors/OpenAi/v1/actions/assistant/update.operation.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/nodes.json +9 -9
- package/package.json +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d83ae537db5c209efeaec5827048a020dd7b9b092c39b9ee6aa95641f6fcd3c2
|
|
@@ -15,8 +15,9 @@ export interface LcAgentV1Params {
|
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @placeholderSupported false
|
|
17
17
|
* @displayOptions.show { promptType: ["define"] }
|
|
18
|
+
* @required when the displayOptions conditions above match
|
|
18
19
|
*/
|
|
19
|
-
text
|
|
20
|
+
text?: string | Expression<string>;
|
|
20
21
|
/**
|
|
21
22
|
* Options
|
|
22
23
|
* @displayOptions.show { agent: ["toolsAgent"] }
|
|
@@ -136,8 +137,9 @@ export interface LcAgentV1Params {
|
|
|
136
137
|
/**
|
|
137
138
|
* Prompt
|
|
138
139
|
* @displayOptions.show { agent: ["sqlAgent"] }
|
|
140
|
+
* @required when the displayOptions conditions above match
|
|
139
141
|
*/
|
|
140
|
-
input
|
|
142
|
+
input?: string | Expression<string>;
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
export interface LcAgentV1SubnodeConfig {
|
|
@@ -15,8 +15,9 @@ export interface LcAgentV11Params {
|
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @placeholderSupported false
|
|
17
17
|
* @displayOptions.show { promptType: ["define"] }
|
|
18
|
+
* @required when the displayOptions conditions above match
|
|
18
19
|
*/
|
|
19
|
-
text
|
|
20
|
+
text?: string | Expression<string>;
|
|
20
21
|
/**
|
|
21
22
|
* Options
|
|
22
23
|
* @displayOptions.show { agent: ["toolsAgent"] }
|
|
@@ -136,8 +137,9 @@ export interface LcAgentV11Params {
|
|
|
136
137
|
/**
|
|
137
138
|
* Prompt
|
|
138
139
|
* @displayOptions.show { agent: ["sqlAgent"] }
|
|
140
|
+
* @required when the displayOptions conditions above match
|
|
139
141
|
*/
|
|
140
|
-
input
|
|
142
|
+
input?: string | Expression<string>;
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
export interface LcAgentV11SubnodeConfig {
|
|
@@ -15,8 +15,9 @@ export interface LcAgentV12Params {
|
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @placeholderSupported false
|
|
17
17
|
* @displayOptions.show { promptType: ["define"] }
|
|
18
|
+
* @required when the displayOptions conditions above match
|
|
18
19
|
*/
|
|
19
|
-
text
|
|
20
|
+
text?: string | Expression<string>;
|
|
20
21
|
/**
|
|
21
22
|
* Options
|
|
22
23
|
* @displayOptions.show { agent: ["toolsAgent"] }
|
|
@@ -136,8 +137,9 @@ export interface LcAgentV12Params {
|
|
|
136
137
|
/**
|
|
137
138
|
* Prompt
|
|
138
139
|
* @displayOptions.show { agent: ["sqlAgent"] }
|
|
140
|
+
* @required when the displayOptions conditions above match
|
|
139
141
|
*/
|
|
140
|
-
input
|
|
142
|
+
input?: string | Expression<string>;
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
export interface LcAgentV12SubnodeConfig {
|
|
@@ -20,8 +20,9 @@ export interface LcAgentV13Params {
|
|
|
20
20
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
21
21
|
* @placeholderSupported false
|
|
22
22
|
* @displayOptions.show { promptType: ["define"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
text
|
|
25
|
+
text?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Require Specific Output Format
|
|
27
28
|
* @displayOptions.hide { agent: ["sqlAgent"] }
|
|
@@ -20,8 +20,9 @@ export interface LcAgentV14Params {
|
|
|
20
20
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
21
21
|
* @placeholderSupported false
|
|
22
22
|
* @displayOptions.show { promptType: ["define"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
text
|
|
25
|
+
text?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Require Specific Output Format
|
|
27
28
|
* @displayOptions.hide { agent: ["sqlAgent"] }
|
|
@@ -20,8 +20,9 @@ export interface LcAgentV15Params {
|
|
|
20
20
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
21
21
|
* @placeholderSupported false
|
|
22
22
|
* @displayOptions.show { promptType: ["define"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
text
|
|
25
|
+
text?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Require Specific Output Format
|
|
27
28
|
* @displayOptions.hide { agent: ["sqlAgent"] }
|
|
@@ -20,8 +20,9 @@ export interface LcAgentV16Params {
|
|
|
20
20
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
21
21
|
* @placeholderSupported false
|
|
22
22
|
* @displayOptions.show { promptType: ["define"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
text
|
|
25
|
+
text?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Require Specific Output Format
|
|
27
28
|
* @displayOptions.hide { agent: ["sqlAgent"] }
|
|
@@ -20,8 +20,9 @@ export interface LcAgentV17Params {
|
|
|
20
20
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
21
21
|
* @placeholderSupported false
|
|
22
22
|
* @displayOptions.show { promptType: ["define"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
text
|
|
25
|
+
text?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Require Specific Output Format
|
|
27
28
|
* @displayOptions.hide { agent: ["sqlAgent"] }
|
|
@@ -20,8 +20,9 @@ export interface LcAgentV18Params {
|
|
|
20
20
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
21
21
|
* @placeholderSupported false
|
|
22
22
|
* @displayOptions.show { promptType: ["define"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
text
|
|
25
|
+
text?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Require Specific Output Format
|
|
27
28
|
* @displayOptions.hide { agent: ["sqlAgent"] }
|
|
@@ -20,8 +20,9 @@ export interface LcAgentV19Params {
|
|
|
20
20
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
21
21
|
* @placeholderSupported false
|
|
22
22
|
* @displayOptions.show { promptType: ["define"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
text
|
|
25
|
+
text?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Require Specific Output Format
|
|
27
28
|
* @displayOptions.hide { agent: ["sqlAgent"] }
|
|
@@ -11,8 +11,9 @@ export interface LcAgentV2Params {
|
|
|
11
11
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
12
12
|
* @placeholderSupported false
|
|
13
13
|
* @displayOptions.show { promptType: ["define"] }
|
|
14
|
+
* @required when the displayOptions conditions above match
|
|
14
15
|
*/
|
|
15
|
-
text
|
|
16
|
+
text?: string | Expression<string>;
|
|
16
17
|
hasOutputParser?: boolean;
|
|
17
18
|
/**
|
|
18
19
|
* Options
|
|
@@ -11,8 +11,9 @@ export interface LcAgentV21Params {
|
|
|
11
11
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
12
12
|
* @placeholderSupported false
|
|
13
13
|
* @displayOptions.show { promptType: ["define"] }
|
|
14
|
+
* @required when the displayOptions conditions above match
|
|
14
15
|
*/
|
|
15
|
-
text
|
|
16
|
+
text?: string | Expression<string>;
|
|
16
17
|
hasOutputParser?: boolean;
|
|
17
18
|
/**
|
|
18
19
|
* Enable Fallback Model
|
|
@@ -11,8 +11,9 @@ export interface LcAgentV22Params {
|
|
|
11
11
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
12
12
|
* @placeholderSupported false
|
|
13
13
|
* @displayOptions.show { promptType: ["define"] }
|
|
14
|
+
* @required when the displayOptions conditions above match
|
|
14
15
|
*/
|
|
15
|
-
text
|
|
16
|
+
text?: string | Expression<string>;
|
|
16
17
|
hasOutputParser?: boolean;
|
|
17
18
|
/**
|
|
18
19
|
* Enable Fallback Model
|
|
@@ -15,8 +15,9 @@ export interface LcAgentV3Params {
|
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @placeholderSupported false
|
|
17
17
|
* @displayOptions.show { promptType: ["define"] }
|
|
18
|
+
* @required when the displayOptions conditions above match
|
|
18
19
|
*/
|
|
19
|
-
text
|
|
20
|
+
text?: string | Expression<string>;
|
|
20
21
|
/**
|
|
21
22
|
* Require Specific Output Format
|
|
22
23
|
* @builderHint Set to `true` when you need structured JSON output. The agent then requires an `outputParser` entry in its `subnodes` config (typically an `outputParserStructured` node defined via the `outputParser({...})` SDK factory). With `hasOutputParser: false` the agent returns a plain string in `$json.output`.
|
|
@@ -16,8 +16,9 @@ export interface LcAgentV31Params {
|
|
|
16
16
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
17
17
|
* @placeholderSupported false
|
|
18
18
|
* @displayOptions.show { promptType: ["define"] }
|
|
19
|
+
* @required when the displayOptions conditions above match
|
|
19
20
|
*/
|
|
20
|
-
text
|
|
21
|
+
text?: string | Expression<string>;
|
|
21
22
|
/**
|
|
22
23
|
* Require Specific Output Format
|
|
23
24
|
* @builderHint Set to `true` when you need structured JSON output. The agent then requires an `outputParser` entry in its `subnodes` config (typically an `outputParserStructured` node defined via the `outputParser({...})` SDK factory). With `hasOutputParser: false` the agent returns a plain string in `$json.output`.
|
|
@@ -25,8 +25,9 @@ export type LcAlibabaCloudV1ImageAnalyzeParams = {
|
|
|
25
25
|
/**
|
|
26
26
|
* The URL of the image to analyze
|
|
27
27
|
* @displayOptions.show { inputType: ["url"] }
|
|
28
|
+
* @required when the displayOptions conditions above match
|
|
28
29
|
*/
|
|
29
|
-
imageUrl
|
|
30
|
+
imageUrl?: string | Expression<string>;
|
|
30
31
|
/**
|
|
31
32
|
* Input Data Field Name
|
|
32
33
|
* @hint The name of the input field containing the binary file data to be processed
|
|
@@ -57,21 +57,22 @@ export type LcAlibabaCloudV1ImageGenerateParams = {
|
|
|
57
57
|
* @default {}
|
|
58
58
|
*/
|
|
59
59
|
imageOptions?: {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
60
|
+
size?:
|
|
61
|
+
/** The size of the generated image
|
|
62
|
+
* @displayOptions.show { /modelId: ["z-image-turbo"] }
|
|
63
|
+
* @default 1024*1024
|
|
64
|
+
*/
|
|
65
|
+
| '1024*1024' | '720*1280' | '1280*720' | Expression<string>
|
|
66
|
+
/** The size of the generated image
|
|
67
|
+
* @displayOptions.show { /modelId: ["wan2.6-t2i", "wan2.6-image"] }
|
|
68
|
+
* @default 1280*1280
|
|
69
|
+
*/
|
|
70
|
+
| '1104*1472' | '1280*1280' | '1472*1104' | '1696*960' | '960*1696' | Expression<string>
|
|
71
|
+
/** The size of the generated image
|
|
72
|
+
* @displayOptions.show { /modelId: ["qwen-image", "qwen-image-plus", "qwen-image-max"] }
|
|
73
|
+
* @default 1664*928
|
|
74
|
+
*/
|
|
75
|
+
| '1104*1472' | '1328*1328' | '1472*1104' | '1664*928' | '928*1664' | Expression<string>;
|
|
75
76
|
/** Whether to automatically extend and enhance the prompt
|
|
76
77
|
* @default false
|
|
77
78
|
*/
|
|
@@ -25,8 +25,9 @@ export type LcAlibabaCloudV1VideoImageToVideoParams = {
|
|
|
25
25
|
/**
|
|
26
26
|
* The URL of the first-frame image to generate video from
|
|
27
27
|
* @displayOptions.show { inputType: ["url"] }
|
|
28
|
+
* @required when the displayOptions conditions above match
|
|
28
29
|
*/
|
|
29
|
-
imgUrl
|
|
30
|
+
imgUrl?: string | Expression<string>;
|
|
30
31
|
/**
|
|
31
32
|
* Input Data Field Name
|
|
32
33
|
* @hint The name of the input field containing the binary file data to be processed
|
|
@@ -26,8 +26,9 @@ export type LcAlibabaCloudV11ImageAnalyzeParams = {
|
|
|
26
26
|
/**
|
|
27
27
|
* The URL of the image to analyze
|
|
28
28
|
* @displayOptions.show { inputType: ["url"] }
|
|
29
|
+
* @required when the displayOptions conditions above match
|
|
29
30
|
*/
|
|
30
|
-
imageUrl
|
|
31
|
+
imageUrl?: string | Expression<string>;
|
|
31
32
|
/**
|
|
32
33
|
* Input Data Field Name
|
|
33
34
|
* @hint The name of the input field containing the binary file data to be processed
|
|
@@ -58,21 +58,22 @@ export type LcAlibabaCloudV11ImageGenerateParams = {
|
|
|
58
58
|
* @default {}
|
|
59
59
|
*/
|
|
60
60
|
imageOptions?: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
61
|
+
size?:
|
|
62
|
+
/** The size of the generated image
|
|
63
|
+
* @displayOptions.show { /modelId: ["z-image-turbo"] }
|
|
64
|
+
* @default 1024*1024
|
|
65
|
+
*/
|
|
66
|
+
| '1024*1024' | '720*1280' | '1280*720' | Expression<string>
|
|
67
|
+
/** The size of the generated image
|
|
68
|
+
* @displayOptions.show { /modelId: ["wan2.6-t2i", "wan2.6-image"] }
|
|
69
|
+
* @default 1280*1280
|
|
70
|
+
*/
|
|
71
|
+
| '1104*1472' | '1280*1280' | '1472*1104' | '1696*960' | '960*1696' | Expression<string>
|
|
72
|
+
/** The size of the generated image
|
|
73
|
+
* @displayOptions.show { /modelId: ["qwen-image", "qwen-image-plus", "qwen-image-max"] }
|
|
74
|
+
* @default 1664*928
|
|
75
|
+
*/
|
|
76
|
+
| '1104*1472' | '1328*1328' | '1472*1104' | '1664*928' | '928*1664' | Expression<string>;
|
|
76
77
|
/** Whether to automatically extend and enhance the prompt
|
|
77
78
|
* @default false
|
|
78
79
|
*/
|
|
@@ -26,8 +26,9 @@ export type LcAlibabaCloudV11VideoImageToVideoParams = {
|
|
|
26
26
|
/**
|
|
27
27
|
* The URL of the first-frame image to generate video from
|
|
28
28
|
* @displayOptions.show { inputType: ["url"] }
|
|
29
|
+
* @required when the displayOptions conditions above match
|
|
29
30
|
*/
|
|
30
|
-
imgUrl
|
|
31
|
+
imgUrl?: string | Expression<string>;
|
|
31
32
|
/**
|
|
32
33
|
* Input Data Field Name
|
|
33
34
|
* @hint The name of the input field containing the binary file data to be processed
|
|
@@ -14,8 +14,9 @@ export interface LcChainLlmV1Params {
|
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @displayOptions.show { promptType: ["define"] }
|
|
17
|
+
* @required when the displayOptions conditions above match
|
|
17
18
|
*/
|
|
18
|
-
text
|
|
19
|
+
text?: string | Expression<string>;
|
|
19
20
|
messages?: {
|
|
20
21
|
/** Prompt
|
|
21
22
|
*/
|
|
@@ -14,8 +14,9 @@ export interface LcChainLlmV11Params {
|
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @displayOptions.show { promptType: ["define"] }
|
|
17
|
+
* @required when the displayOptions conditions above match
|
|
17
18
|
*/
|
|
18
|
-
text
|
|
19
|
+
text?: string | Expression<string>;
|
|
19
20
|
messages?: {
|
|
20
21
|
/** Prompt
|
|
21
22
|
*/
|
|
@@ -14,8 +14,9 @@ export interface LcChainLlmV12Params {
|
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @displayOptions.show { promptType: ["define"] }
|
|
17
|
+
* @required when the displayOptions conditions above match
|
|
17
18
|
*/
|
|
18
|
-
text
|
|
19
|
+
text?: string | Expression<string>;
|
|
19
20
|
/**
|
|
20
21
|
* Require Specific Output Format
|
|
21
22
|
* @default false
|
|
@@ -14,8 +14,9 @@ export interface LcChainLlmV13Params {
|
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @displayOptions.show { promptType: ["define"] }
|
|
17
|
+
* @required when the displayOptions conditions above match
|
|
17
18
|
*/
|
|
18
|
-
text
|
|
19
|
+
text?: string | Expression<string>;
|
|
19
20
|
messages?: {
|
|
20
21
|
/** Prompt
|
|
21
22
|
*/
|
|
@@ -14,8 +14,9 @@ export interface LcChainLlmV14Params {
|
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @displayOptions.show { promptType: ["define"] }
|
|
17
|
+
* @required when the displayOptions conditions above match
|
|
17
18
|
*/
|
|
18
|
-
text
|
|
19
|
+
text?: string | Expression<string>;
|
|
19
20
|
/**
|
|
20
21
|
* Require Specific Output Format
|
|
21
22
|
* @default false
|
|
@@ -14,8 +14,9 @@ export interface LcChainLlmV15Params {
|
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @displayOptions.show { promptType: ["define"] }
|
|
17
|
+
* @required when the displayOptions conditions above match
|
|
17
18
|
*/
|
|
18
|
-
text
|
|
19
|
+
text?: string | Expression<string>;
|
|
19
20
|
/**
|
|
20
21
|
* Require Specific Output Format
|
|
21
22
|
* @default false
|
|
@@ -14,8 +14,9 @@ export interface LcChainLlmV16Params {
|
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @displayOptions.show { promptType: ["define"] }
|
|
17
|
+
* @required when the displayOptions conditions above match
|
|
17
18
|
*/
|
|
18
|
-
text
|
|
19
|
+
text?: string | Expression<string>;
|
|
19
20
|
/**
|
|
20
21
|
* Require Specific Output Format
|
|
21
22
|
* @default false
|
|
@@ -14,8 +14,9 @@ export interface LcChainLlmV17Params {
|
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
16
16
|
* @displayOptions.show { promptType: ["define"] }
|
|
17
|
+
* @required when the displayOptions conditions above match
|
|
17
18
|
*/
|
|
18
|
-
text
|
|
19
|
+
text?: string | Expression<string>;
|
|
19
20
|
/**
|
|
20
21
|
* Require Specific Output Format
|
|
21
22
|
* @default false
|
|
@@ -15,8 +15,9 @@ export interface LcChainLlmV18Params {
|
|
|
15
15
|
* Prompt (User Message)
|
|
16
16
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
17
17
|
* @displayOptions.show { promptType: ["define"] }
|
|
18
|
+
* @required when the displayOptions conditions above match
|
|
18
19
|
*/
|
|
19
|
-
text
|
|
20
|
+
text?: string | Expression<string>;
|
|
20
21
|
/**
|
|
21
22
|
* Require Specific Output Format
|
|
22
23
|
* @default false
|
|
@@ -15,8 +15,9 @@ export interface LcChainLlmV19Params {
|
|
|
15
15
|
* Prompt (User Message)
|
|
16
16
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
17
17
|
* @displayOptions.show { promptType: ["define"] }
|
|
18
|
+
* @required when the displayOptions conditions above match
|
|
18
19
|
*/
|
|
19
|
-
text
|
|
20
|
+
text?: string | Expression<string>;
|
|
20
21
|
/**
|
|
21
22
|
* Require Specific Output Format
|
|
22
23
|
* @default false
|
|
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
const parametersSchema = z.object({
|
|
23
23
|
query: stringOrExpression.optional(),
|
|
24
24
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}} }),
|
|
25
|
-
options: z.object({ systemPromptTemplate: stringOrExpression.optional()
|
|
25
|
+
options: z.object({ systemPromptTemplate: stringOrExpression.optional() }).optional(),
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// Return combined config schema
|
|
@@ -13,28 +13,13 @@ export interface LcChainRetrievalQaV1Params {
|
|
|
13
13
|
/**
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @displayOptions.show { promptType: ["define"] }
|
|
16
|
+
* @required when the displayOptions conditions above match
|
|
16
17
|
*/
|
|
17
|
-
text
|
|
18
|
+
text?: string | Expression<string>;
|
|
18
19
|
options?: {
|
|
19
20
|
/** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{question}` for the user’s query.
|
|
20
21
|
*/
|
|
21
22
|
systemPromptTemplate?: string | Expression<string>;
|
|
22
|
-
/** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{input}` for the user’s query.
|
|
23
|
-
*/
|
|
24
|
-
systemPromptTemplate?: string | Expression<string>;
|
|
25
|
-
/** Batch processing options for rate limiting
|
|
26
|
-
* @default {}
|
|
27
|
-
*/
|
|
28
|
-
batching?: {
|
|
29
|
-
/** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
|
|
30
|
-
* @default 5
|
|
31
|
-
*/
|
|
32
|
-
batchSize?: number | Expression<number>;
|
|
33
|
-
/** Delay in milliseconds between batches. This is useful for rate limiting.
|
|
34
|
-
* @default 0
|
|
35
|
-
*/
|
|
36
|
-
delayBetweenBatches?: number | Expression<number>;
|
|
37
|
-
};
|
|
38
23
|
};
|
|
39
24
|
}
|
|
40
25
|
|
|
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
const parametersSchema = z.object({
|
|
23
23
|
query: stringOrExpression.optional(),
|
|
24
24
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}} }),
|
|
25
|
-
options: z.object({ systemPromptTemplate: stringOrExpression.optional()
|
|
25
|
+
options: z.object({ systemPromptTemplate: stringOrExpression.optional() }).optional(),
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// Return combined config schema
|
|
@@ -13,28 +13,13 @@ export interface LcChainRetrievalQaV11Params {
|
|
|
13
13
|
/**
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @displayOptions.show { promptType: ["define"] }
|
|
16
|
+
* @required when the displayOptions conditions above match
|
|
16
17
|
*/
|
|
17
|
-
text
|
|
18
|
+
text?: string | Expression<string>;
|
|
18
19
|
options?: {
|
|
19
20
|
/** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{question}` for the user’s query.
|
|
20
21
|
*/
|
|
21
22
|
systemPromptTemplate?: string | Expression<string>;
|
|
22
|
-
/** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{input}` for the user’s query.
|
|
23
|
-
*/
|
|
24
|
-
systemPromptTemplate?: string | Expression<string>;
|
|
25
|
-
/** Batch processing options for rate limiting
|
|
26
|
-
* @default {}
|
|
27
|
-
*/
|
|
28
|
-
batching?: {
|
|
29
|
-
/** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
|
|
30
|
-
* @default 5
|
|
31
|
-
*/
|
|
32
|
-
batchSize?: number | Expression<number>;
|
|
33
|
-
/** Delay in milliseconds between batches. This is useful for rate limiting.
|
|
34
|
-
* @default 0
|
|
35
|
-
*/
|
|
36
|
-
delayBetweenBatches?: number | Expression<number>;
|
|
37
|
-
};
|
|
38
23
|
};
|
|
39
24
|
}
|
|
40
25
|
|
|
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
const parametersSchema = z.object({
|
|
23
23
|
query: stringOrExpression.optional(),
|
|
24
24
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}} }),
|
|
25
|
-
options: z.object({ systemPromptTemplate: stringOrExpression.optional()
|
|
25
|
+
options: z.object({ systemPromptTemplate: stringOrExpression.optional() }).optional(),
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// Return combined config schema
|
|
@@ -13,28 +13,13 @@ export interface LcChainRetrievalQaV12Params {
|
|
|
13
13
|
/**
|
|
14
14
|
* Prompt (User Message)
|
|
15
15
|
* @displayOptions.show { promptType: ["define"] }
|
|
16
|
+
* @required when the displayOptions conditions above match
|
|
16
17
|
*/
|
|
17
|
-
text
|
|
18
|
+
text?: string | Expression<string>;
|
|
18
19
|
options?: {
|
|
19
20
|
/** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{question}` for the user’s query.
|
|
20
21
|
*/
|
|
21
22
|
systemPromptTemplate?: string | Expression<string>;
|
|
22
|
-
/** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{input}` for the user’s query.
|
|
23
|
-
*/
|
|
24
|
-
systemPromptTemplate?: string | Expression<string>;
|
|
25
|
-
/** Batch processing options for rate limiting
|
|
26
|
-
* @default {}
|
|
27
|
-
*/
|
|
28
|
-
batching?: {
|
|
29
|
-
/** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
|
|
30
|
-
* @default 5
|
|
31
|
-
*/
|
|
32
|
-
batchSize?: number | Expression<number>;
|
|
33
|
-
/** Delay in milliseconds between batches. This is useful for rate limiting.
|
|
34
|
-
* @default 0
|
|
35
|
-
*/
|
|
36
|
-
delayBetweenBatches?: number | Expression<number>;
|
|
37
|
-
};
|
|
38
23
|
};
|
|
39
24
|
}
|
|
40
25
|
|
|
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
const parametersSchema = z.object({
|
|
23
23
|
promptType: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]).optional(),
|
|
24
24
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}}, defaults: {"promptType":"auto"} }),
|
|
25
|
-
options: z.object({ systemPromptTemplate: stringOrExpression.optional()
|
|
25
|
+
options: z.object({ systemPromptTemplate: stringOrExpression.optional() }).optional(),
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// Return combined config schema
|