@n8n/n8n-nodes-langchain 2.42.2 → 2.43.0
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 +10 -10
|
@@ -44,14 +44,6 @@ export interface LcChatV12Params {
|
|
|
44
44
|
/** Values
|
|
45
45
|
*/
|
|
46
46
|
values?: Array<{
|
|
47
|
-
/** The name of the field, used in input attributes and referenced by the workflow
|
|
48
|
-
* @displayOptions.hide { fieldType: ["html"] }
|
|
49
|
-
*/
|
|
50
|
-
fieldName?: string | Expression<string>;
|
|
51
|
-
/** Label that appears above the input field
|
|
52
|
-
* @displayOptions.hide { fieldType: ["hiddenField", "html"] }
|
|
53
|
-
*/
|
|
54
|
-
fieldLabel?: string | Expression<string>;
|
|
55
47
|
/** Label that appears above the input field
|
|
56
48
|
* @displayOptions.hide { fieldType: ["hiddenField", "html"] }
|
|
57
49
|
*/
|
|
@@ -69,39 +61,24 @@ export interface LcChatV12Params {
|
|
|
69
61
|
* @displayOptions.show { fieldType: ["html"] }
|
|
70
62
|
*/
|
|
71
63
|
elementName?: string | Expression<string>;
|
|
72
|
-
/** The name of the field, used in input attributes and referenced by the workflow
|
|
73
|
-
* @displayOptions.hide { fieldType: ["html"] }
|
|
74
|
-
*/
|
|
75
|
-
fieldName?: string | Expression<string>;
|
|
76
64
|
/** Sample text to display inside the field
|
|
77
65
|
* @displayOptions.hide { fieldType: ["dropdown", "date", "file", "html", "hiddenField", "radio", "checkbox"] }
|
|
78
66
|
*/
|
|
79
67
|
placeholder?: string | Expression<string>;
|
|
80
68
|
/** Default value that will be pre-filled in the form field
|
|
81
|
-
* @displayOptions.show { fieldType: ["text", "number", "email", "textarea"] }
|
|
82
|
-
*/
|
|
83
|
-
defaultValue?: string | Expression<string>;
|
|
84
|
-
/** Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)
|
|
85
|
-
* @displayOptions.show { fieldType: ["date"] }
|
|
86
|
-
*/
|
|
87
|
-
defaultValue?: string | Expression<string>;
|
|
88
|
-
/** Default value that will be pre-selected. Must match one of the option labels.
|
|
89
|
-
* @displayOptions.show { fieldType: ["dropdown", "radio"] }
|
|
90
|
-
*/
|
|
91
|
-
defaultValue?: string | Expression<string>;
|
|
92
|
-
/** Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.
|
|
93
|
-
* @displayOptions.show { fieldType: ["checkbox"] }
|
|
69
|
+
* @displayOptions.show { fieldType: ["text", "number", "email", "textarea", "date", "dropdown", "radio", "checkbox"] }
|
|
94
70
|
*/
|
|
95
71
|
defaultValue?: string | Expression<string>;
|
|
96
72
|
/** Input value can be set here or will be passed as a query parameter via Field Name if no value is set
|
|
97
73
|
* @displayOptions.show { fieldType: ["hiddenField"] }
|
|
98
74
|
*/
|
|
99
75
|
fieldValue?: string | Expression<string>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
76
|
+
fieldOptions?:
|
|
77
|
+
/** List of options that can be selected from the dropdown
|
|
78
|
+
* @displayOptions.show { fieldType: ["dropdown"] }
|
|
79
|
+
* @default {"values":[{"option":""}]}
|
|
80
|
+
*/
|
|
81
|
+
| {
|
|
105
82
|
/** Values
|
|
106
83
|
*/
|
|
107
84
|
values?: Array<{
|
|
@@ -109,12 +86,12 @@ export interface LcChatV12Params {
|
|
|
109
86
|
*/
|
|
110
87
|
option?: string | Expression<string>;
|
|
111
88
|
}>;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
89
|
+
}
|
|
90
|
+
/** Checkboxes
|
|
91
|
+
* @displayOptions.show { fieldType: ["checkbox"] }
|
|
92
|
+
* @default {"values":[{"option":""}]}
|
|
93
|
+
*/
|
|
94
|
+
| {
|
|
118
95
|
/** Values
|
|
119
96
|
*/
|
|
120
97
|
values?: Array<{
|
|
@@ -122,12 +99,12 @@ export interface LcChatV12Params {
|
|
|
122
99
|
*/
|
|
123
100
|
option?: string | Expression<string>;
|
|
124
101
|
}>;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
102
|
+
}
|
|
103
|
+
/** Radio Buttons
|
|
104
|
+
* @displayOptions.show { fieldType: ["radio"] }
|
|
105
|
+
* @default {"values":[{"option":""}]}
|
|
106
|
+
*/
|
|
107
|
+
| {
|
|
131
108
|
/** Values
|
|
132
109
|
*/
|
|
133
110
|
values?: Array<{
|
|
@@ -231,33 +208,6 @@ export interface LcChatV12Params {
|
|
|
231
208
|
memoryConnection?: boolean | Expression<boolean>;
|
|
232
209
|
/** Whether to limit the time this node should wait for a user response before execution resumes
|
|
233
210
|
* @displayOptions.show { /waitUserReply: [true] }
|
|
234
|
-
* @default {"values":{"limitType":"afterTimeInterval","resumeAmount":45,"resumeUnit":"minutes"}}
|
|
235
|
-
*/
|
|
236
|
-
limitWaitTime?: {
|
|
237
|
-
/** Values
|
|
238
|
-
*/
|
|
239
|
-
values?: {
|
|
240
|
-
/** Sets the condition for the execution to resume. Can be a specified date or after some time.
|
|
241
|
-
* @default afterTimeInterval
|
|
242
|
-
*/
|
|
243
|
-
limitType?: 'afterTimeInterval' | 'atSpecifiedTime' | Expression<string>;
|
|
244
|
-
/** The time to wait
|
|
245
|
-
* @displayOptions.show { limitType: ["afterTimeInterval"] }
|
|
246
|
-
* @default 1
|
|
247
|
-
*/
|
|
248
|
-
resumeAmount?: number | Expression<number>;
|
|
249
|
-
/** Unit of the interval value
|
|
250
|
-
* @displayOptions.show { limitType: ["afterTimeInterval"] }
|
|
251
|
-
* @default hours
|
|
252
|
-
*/
|
|
253
|
-
resumeUnit?: 'minutes' | 'hours' | 'days' | Expression<string>;
|
|
254
|
-
/** Continue execution after the specified date and time
|
|
255
|
-
* @displayOptions.show { limitType: ["atSpecifiedTime"] }
|
|
256
|
-
*/
|
|
257
|
-
maxDateAndTime?: string | Expression<string>;
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
/** Whether to limit the time this node should wait for a user response before execution resumes
|
|
261
211
|
* @displayOptions.show { /operation: ["sendAndWait"] }
|
|
262
212
|
* @default {"values":{"limitType":"afterTimeInterval","resumeAmount":45,"resumeUnit":"minutes"}}
|
|
263
213
|
*/
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
blockUserInput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"responseType":["approval"]}}, defaults: {"responseType":"freeTextChat"} }),
|
|
26
26
|
defineForm: resolveSchema({ parameters, schema: z.union([z.literal('fields'), z.literal('json')]), required: false, displayOptions: {"show":{"responseType":["customForm"],"operation":["sendAndWait"]}}, defaults: {"responseType":"freeTextChat","operation":"send"} }),
|
|
27
27
|
jsonOutput: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"defineForm":["json"],"responseType":["customForm"],"operation":["sendAndWait"]}}, defaults: {"defineForm":"fields","responseType":"freeTextChat","operation":"send"} }),
|
|
28
|
-
formFields: resolveSchema({ parameters, schema: z.object({ values: z.array(z.object({
|
|
28
|
+
formFields: resolveSchema({ parameters, schema: z.object({ values: z.array(z.object({ fieldLabel: stringOrExpression.optional(), fieldName: stringOrExpression.optional(), fieldType: z.union([z.literal('checkbox'), z.literal('html'), z.literal('date'), z.literal('dropdown'), z.literal('email'), z.literal('file'), z.literal('hiddenField'), z.literal('number'), z.literal('password'), z.literal('radio'), z.literal('text'), z.literal('textarea'), expressionSchema]).optional(), elementName: stringOrExpression.optional(), placeholder: stringOrExpression.optional(), defaultValue: stringOrExpression.optional(), fieldValue: stringOrExpression.optional(), fieldOptions: z.object({ values: z.array(z.object({ option: stringOrExpression.optional() })).optional() }).optional(), multiselect: booleanOrExpression.optional(), limitSelection: z.union([z.literal('exact'), z.literal('range'), z.literal('unlimited'), expressionSchema]).optional(), numberOfSelections: numberOrExpression.optional(), minSelections: numberOrExpression.optional(), maxSelections: numberOrExpression.optional(), html: z.string().optional(), multipleFiles: booleanOrExpression.optional(), acceptFileTypes: stringOrExpression.optional(), requiredField: booleanOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"defineForm":["fields"],"responseType":["customForm"],"operation":["sendAndWait"]}}, defaults: {"defineForm":"fields","responseType":"freeTextChat","operation":"send"} }),
|
|
29
29
|
approvalOptions: resolveSchema({ parameters, schema: z.object({ values: z.object({ approvalType: z.union([z.literal('single'), z.literal('double'), expressionSchema]).optional(), approveLabel: stringOrExpression.optional(), buttonApprovalStyle: z.union([z.literal('primary'), z.literal('secondary'), expressionSchema]).optional(), disapproveLabel: stringOrExpression.optional(), buttonDisapprovalStyle: z.union([z.literal('primary'), z.literal('secondary'), expressionSchema]).optional() }).optional() }), required: false, displayOptions: {"show":{"responseType":["approval"],"operation":["sendAndWait"]}}, defaults: {"responseType":"freeTextChat","operation":"send"} }),
|
|
30
30
|
options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ memoryConnection: booleanOrExpression.optional(), limitWaitTime: z.object({ values: z.object({ limitType: z.union([z.literal('afterTimeInterval'), z.literal('atSpecifiedTime'), expressionSchema]).optional(), resumeAmount: numberOrExpression.optional(), resumeUnit: z.union([z.literal('minutes'), z.literal('hours'), z.literal('days'), expressionSchema]).optional(), maxDateAndTime: stringOrExpression.optional() }).optional() }).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"hide":{"@tool":[true]}} }, { schema: z.object({ limitWaitTime: z.object({ values: z.object({ limitType: z.union([z.literal('afterTimeInterval'), z.literal('atSpecifiedTime'), expressionSchema]).optional(), resumeAmount: numberOrExpression.optional(), resumeUnit: z.union([z.literal('minutes'), z.literal('hours'), z.literal('days'), expressionSchema]).optional(), maxDateAndTime: stringOrExpression.optional() }).optional() }).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"@tool":[true],"/waitUserReply":[true]}} }, { schema: z.object({ limitWaitTime: z.object({ values: z.object({ limitType: z.union([z.literal('afterTimeInterval'), z.literal('atSpecifiedTime'), expressionSchema]).optional(), resumeAmount: numberOrExpression.optional(), resumeUnit: z.union([z.literal('minutes'), z.literal('hours'), z.literal('days'), expressionSchema]).optional(), maxDateAndTime: stringOrExpression.optional() }).optional() }).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"@tool":[true],"/operation":["sendAndWait"]}} }] }),
|
|
31
31
|
});
|
|
@@ -44,14 +44,6 @@ export interface LcChatV13Params {
|
|
|
44
44
|
/** Values
|
|
45
45
|
*/
|
|
46
46
|
values?: Array<{
|
|
47
|
-
/** The name of the field, used in input attributes and referenced by the workflow
|
|
48
|
-
* @displayOptions.hide { fieldType: ["html"] }
|
|
49
|
-
*/
|
|
50
|
-
fieldName?: string | Expression<string>;
|
|
51
|
-
/** Label that appears above the input field
|
|
52
|
-
* @displayOptions.hide { fieldType: ["hiddenField", "html"] }
|
|
53
|
-
*/
|
|
54
|
-
fieldLabel?: string | Expression<string>;
|
|
55
47
|
/** Label that appears above the input field
|
|
56
48
|
* @displayOptions.hide { fieldType: ["hiddenField", "html"] }
|
|
57
49
|
*/
|
|
@@ -69,39 +61,24 @@ export interface LcChatV13Params {
|
|
|
69
61
|
* @displayOptions.show { fieldType: ["html"] }
|
|
70
62
|
*/
|
|
71
63
|
elementName?: string | Expression<string>;
|
|
72
|
-
/** The name of the field, used in input attributes and referenced by the workflow
|
|
73
|
-
* @displayOptions.hide { fieldType: ["html"] }
|
|
74
|
-
*/
|
|
75
|
-
fieldName?: string | Expression<string>;
|
|
76
64
|
/** Sample text to display inside the field
|
|
77
65
|
* @displayOptions.hide { fieldType: ["dropdown", "date", "file", "html", "hiddenField", "radio", "checkbox"] }
|
|
78
66
|
*/
|
|
79
67
|
placeholder?: string | Expression<string>;
|
|
80
68
|
/** Default value that will be pre-filled in the form field
|
|
81
|
-
* @displayOptions.show { fieldType: ["text", "number", "email", "textarea"] }
|
|
82
|
-
*/
|
|
83
|
-
defaultValue?: string | Expression<string>;
|
|
84
|
-
/** Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)
|
|
85
|
-
* @displayOptions.show { fieldType: ["date"] }
|
|
86
|
-
*/
|
|
87
|
-
defaultValue?: string | Expression<string>;
|
|
88
|
-
/** Default value that will be pre-selected. Must match one of the option labels.
|
|
89
|
-
* @displayOptions.show { fieldType: ["dropdown", "radio"] }
|
|
90
|
-
*/
|
|
91
|
-
defaultValue?: string | Expression<string>;
|
|
92
|
-
/** Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.
|
|
93
|
-
* @displayOptions.show { fieldType: ["checkbox"] }
|
|
69
|
+
* @displayOptions.show { fieldType: ["text", "number", "email", "textarea", "date", "dropdown", "radio", "checkbox"] }
|
|
94
70
|
*/
|
|
95
71
|
defaultValue?: string | Expression<string>;
|
|
96
72
|
/** Input value can be set here or will be passed as a query parameter via Field Name if no value is set
|
|
97
73
|
* @displayOptions.show { fieldType: ["hiddenField"] }
|
|
98
74
|
*/
|
|
99
75
|
fieldValue?: string | Expression<string>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
76
|
+
fieldOptions?:
|
|
77
|
+
/** List of options that can be selected from the dropdown
|
|
78
|
+
* @displayOptions.show { fieldType: ["dropdown"] }
|
|
79
|
+
* @default {"values":[{"option":""}]}
|
|
80
|
+
*/
|
|
81
|
+
| {
|
|
105
82
|
/** Values
|
|
106
83
|
*/
|
|
107
84
|
values?: Array<{
|
|
@@ -109,12 +86,12 @@ export interface LcChatV13Params {
|
|
|
109
86
|
*/
|
|
110
87
|
option?: string | Expression<string>;
|
|
111
88
|
}>;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
89
|
+
}
|
|
90
|
+
/** Checkboxes
|
|
91
|
+
* @displayOptions.show { fieldType: ["checkbox"] }
|
|
92
|
+
* @default {"values":[{"option":""}]}
|
|
93
|
+
*/
|
|
94
|
+
| {
|
|
118
95
|
/** Values
|
|
119
96
|
*/
|
|
120
97
|
values?: Array<{
|
|
@@ -122,12 +99,12 @@ export interface LcChatV13Params {
|
|
|
122
99
|
*/
|
|
123
100
|
option?: string | Expression<string>;
|
|
124
101
|
}>;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
102
|
+
}
|
|
103
|
+
/** Radio Buttons
|
|
104
|
+
* @displayOptions.show { fieldType: ["radio"] }
|
|
105
|
+
* @default {"values":[{"option":""}]}
|
|
106
|
+
*/
|
|
107
|
+
| {
|
|
131
108
|
/** Values
|
|
132
109
|
*/
|
|
133
110
|
values?: Array<{
|
|
@@ -231,33 +208,6 @@ export interface LcChatV13Params {
|
|
|
231
208
|
memoryConnection?: boolean | Expression<boolean>;
|
|
232
209
|
/** Whether to limit the time this node should wait for a user response before execution resumes
|
|
233
210
|
* @displayOptions.show { /waitUserReply: [true] }
|
|
234
|
-
* @default {"values":{"limitType":"afterTimeInterval","resumeAmount":45,"resumeUnit":"minutes"}}
|
|
235
|
-
*/
|
|
236
|
-
limitWaitTime?: {
|
|
237
|
-
/** Values
|
|
238
|
-
*/
|
|
239
|
-
values?: {
|
|
240
|
-
/** Sets the condition for the execution to resume. Can be a specified date or after some time.
|
|
241
|
-
* @default afterTimeInterval
|
|
242
|
-
*/
|
|
243
|
-
limitType?: 'afterTimeInterval' | 'atSpecifiedTime' | Expression<string>;
|
|
244
|
-
/** The time to wait
|
|
245
|
-
* @displayOptions.show { limitType: ["afterTimeInterval"] }
|
|
246
|
-
* @default 1
|
|
247
|
-
*/
|
|
248
|
-
resumeAmount?: number | Expression<number>;
|
|
249
|
-
/** Unit of the interval value
|
|
250
|
-
* @displayOptions.show { limitType: ["afterTimeInterval"] }
|
|
251
|
-
* @default hours
|
|
252
|
-
*/
|
|
253
|
-
resumeUnit?: 'minutes' | 'hours' | 'days' | Expression<string>;
|
|
254
|
-
/** Continue execution after the specified date and time
|
|
255
|
-
* @displayOptions.show { limitType: ["atSpecifiedTime"] }
|
|
256
|
-
*/
|
|
257
|
-
maxDateAndTime?: string | Expression<string>;
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
/** Whether to limit the time this node should wait for a user response before execution resumes
|
|
261
211
|
* @displayOptions.show { /operation: ["sendAndWait"] }
|
|
262
212
|
* @default {"values":{"limitType":"afterTimeInterval","resumeAmount":45,"resumeUnit":"minutes"}}
|
|
263
213
|
*/
|
|
@@ -134,18 +134,19 @@ export interface LcChatTriggerV12Params {
|
|
|
134
134
|
* @displayOptions.show { /mode: ["hostedChat"] }
|
|
135
135
|
*/
|
|
136
136
|
customCss?: string | Expression<string>;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
137
|
+
responseMode?:
|
|
138
|
+
/** When and how to respond to the webhook
|
|
139
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
|
|
140
|
+
* @displayOptions.show { /availableInChat: [false] }
|
|
141
|
+
* @default lastNode
|
|
142
|
+
*/
|
|
143
|
+
| 'lastNode' | 'responseNode' | 'streaming' | Expression<string>
|
|
144
|
+
/** When and how to respond to the webhook
|
|
145
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
|
|
146
|
+
* @displayOptions.show { /availableInChat: [true] }
|
|
147
|
+
* @default streaming
|
|
148
|
+
*/
|
|
149
|
+
| 'streaming' | 'lastNode' | Expression<string>;
|
|
149
150
|
/** Whether to automatically save <a href="https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executiondata/" target="_blank">highlighted data</a>. This data can then be used to filter executions in the Executions view. Available on Pro and Enterprise plans in n8n Cloud, and on Enterprise or registered Community Edition for self-hosted. Defaults to true.
|
|
150
151
|
* @default true
|
|
151
152
|
*/
|
|
@@ -93,18 +93,19 @@ export interface LcChatTriggerV13Params {
|
|
|
93
93
|
* @default *
|
|
94
94
|
*/
|
|
95
95
|
allowedFilesMimeTypes?: string | Expression<string>;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
96
|
+
responseMode?:
|
|
97
|
+
/** When and how to respond to the chat
|
|
98
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
|
|
99
|
+
* @displayOptions.show { /availableInChat: [false] }
|
|
100
|
+
* @default lastNode
|
|
101
|
+
*/
|
|
102
|
+
| 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
|
|
103
|
+
/** When and how to respond to the chat
|
|
104
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
|
|
105
|
+
* @displayOptions.show { /availableInChat: [true] }
|
|
106
|
+
* @default streaming
|
|
107
|
+
*/
|
|
108
|
+
| 'streaming' | 'lastNode' | 'responseNodes' | Expression<string>;
|
|
108
109
|
/** Whether to automatically save <a href="https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executiondata/" target="_blank">highlighted data</a>. This data can then be used to filter executions in the Executions view. Available on Pro and Enterprise plans in n8n Cloud, and on Enterprise or registered Community Edition for self-hosted. Defaults to true.
|
|
109
110
|
* @default true
|
|
110
111
|
*/
|
|
@@ -93,18 +93,19 @@ export interface LcChatTriggerV14Params {
|
|
|
93
93
|
* @default *
|
|
94
94
|
*/
|
|
95
95
|
allowedFilesMimeTypes?: string | Expression<string>;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
96
|
+
responseMode?:
|
|
97
|
+
/** When and how to respond to the chat
|
|
98
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
|
|
99
|
+
* @displayOptions.show { /availableInChat: [false] }
|
|
100
|
+
* @default lastNode
|
|
101
|
+
*/
|
|
102
|
+
| 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
|
|
103
|
+
/** When and how to respond to the chat
|
|
104
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
|
|
105
|
+
* @displayOptions.show { /availableInChat: [true] }
|
|
106
|
+
* @default streaming
|
|
107
|
+
*/
|
|
108
|
+
| 'streaming' | 'lastNode' | 'responseNodes' | Expression<string>;
|
|
108
109
|
/** Whether to automatically save <a href="https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executiondata/" target="_blank">highlighted data</a>. This data can then be used to filter executions in the Executions view. Available on Pro and Enterprise plans in n8n Cloud, and on Enterprise or registered Community Edition for self-hosted. Defaults to true.
|
|
109
110
|
* @default true
|
|
110
111
|
*/
|
|
@@ -93,18 +93,19 @@ export interface LcChatTriggerV15Params {
|
|
|
93
93
|
* @default *
|
|
94
94
|
*/
|
|
95
95
|
allowedFilesMimeTypes?: string | Expression<string>;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
96
|
+
responseMode?:
|
|
97
|
+
/** When and how to respond to the chat
|
|
98
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
|
|
99
|
+
* @displayOptions.show { /availableInChat: [false] }
|
|
100
|
+
* @default lastNode
|
|
101
|
+
*/
|
|
102
|
+
| 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
|
|
103
|
+
/** When and how to respond to the chat
|
|
104
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
|
|
105
|
+
* @displayOptions.show { /availableInChat: [true] }
|
|
106
|
+
* @default streaming
|
|
107
|
+
*/
|
|
108
|
+
| 'streaming' | 'lastNode' | 'responseNodes' | Expression<string>;
|
|
108
109
|
/** Whether to automatically save <a href="https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executiondata/" target="_blank">highlighted data</a>. This data can then be used to filter executions in the Executions view. Available on Pro and Enterprise plans in n8n Cloud, and on Enterprise or registered Community Edition for self-hosted. Defaults to true.
|
|
109
110
|
* @default true
|
|
110
111
|
*/
|
|
@@ -27,8 +27,9 @@ export interface LcDocumentDefaultDataLoaderV1Params {
|
|
|
27
27
|
/**
|
|
28
28
|
* Drag and drop fields from the input pane, or use an expression
|
|
29
29
|
* @displayOptions.show { dataType: ["json"], jsonMode: ["expressionData"] }
|
|
30
|
+
* @required when the displayOptions conditions above match
|
|
30
31
|
*/
|
|
31
|
-
jsonData
|
|
32
|
+
jsonData?: string | Expression<string>;
|
|
32
33
|
/**
|
|
33
34
|
* The name of the field in the agent or chain’s input that contains the binary file to be processed
|
|
34
35
|
* @displayOptions.show { dataType: ["binary"] }
|
|
@@ -27,8 +27,9 @@ export interface LcDocumentDefaultDataLoaderV11Params {
|
|
|
27
27
|
/**
|
|
28
28
|
* Drag and drop fields from the input pane, or use an expression
|
|
29
29
|
* @displayOptions.show { dataType: ["json"], jsonMode: ["expressionData"] }
|
|
30
|
+
* @required when the displayOptions conditions above match
|
|
30
31
|
*/
|
|
31
|
-
jsonData
|
|
32
|
+
jsonData?: string | Expression<string>;
|
|
32
33
|
/**
|
|
33
34
|
* The name of the field in the agent or chain’s input that contains the binary file to be processed
|
|
34
35
|
* @displayOptions.show { dataType: ["binary"] }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
export interface LcEmbeddingsOpenAiV1Params {
|
|
8
8
|
/**
|
|
9
|
-
* The model which will generate the embeddings. <a href="https://
|
|
9
|
+
* The model which will generate the embeddings. <a href="https://developers.openai.com/api/docs/models">Learn more</a>.
|
|
10
10
|
* @default text-embedding-ada-002
|
|
11
11
|
*/
|
|
12
12
|
model?: string | Expression<string>;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
export interface LcEmbeddingsOpenAiV11Params {
|
|
8
8
|
/**
|
|
9
|
-
* The model which will generate the embeddings. <a href="https://
|
|
9
|
+
* The model which will generate the embeddings. <a href="https://developers.openai.com/api/docs/models">Learn more</a>.
|
|
10
10
|
* @default text-embedding-3-small
|
|
11
11
|
*/
|
|
12
12
|
model?: string | Expression<string>;
|
|
@@ -15,7 +15,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
15
15
|
// Parameters schema
|
|
16
16
|
const parametersSchema = z.object({
|
|
17
17
|
model: stringOrExpression.optional(),
|
|
18
|
-
options: z.object({ dimensions: z.union([z.literal(256), z.literal(512), z.literal(1024), z.literal(1536), z.literal(3072), expressionSchema]).optional(),
|
|
18
|
+
options: z.object({ dimensions: z.union([z.literal(256), z.literal(512), z.literal(1024), z.literal(1536), z.literal(3072), expressionSchema]).optional(), batchSize: numberOrExpression.optional(), stripNewLines: booleanOrExpression.optional(), timeout: numberOrExpression.optional(), encodingFormat: z.union([z.literal('float'), z.literal('base64'), expressionSchema]).optional() }).optional(),
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Return combined config schema
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
export interface LcEmbeddingsOpenAiV12Params {
|
|
8
8
|
/**
|
|
9
|
-
* The model which will generate the embeddings. <a href="https://
|
|
9
|
+
* The model which will generate the embeddings. <a href="https://developers.openai.com/api/docs/models">Learn more</a>.
|
|
10
10
|
* @default text-embedding-3-small
|
|
11
11
|
*/
|
|
12
12
|
model?: string | Expression<string>;
|
|
@@ -19,10 +19,6 @@ export interface LcEmbeddingsOpenAiV12Params {
|
|
|
19
19
|
* @default 1536
|
|
20
20
|
*/
|
|
21
21
|
dimensions?: 256 | 512 | 1024 | 1536 | 3072 | Expression<number>;
|
|
22
|
-
/** Override the default base URL for the API
|
|
23
|
-
* @default https://api.openai.com/v1
|
|
24
|
-
*/
|
|
25
|
-
baseURL?: string | Expression<string>;
|
|
26
22
|
/** Maximum number of documents to send in each request
|
|
27
23
|
* @default 512
|
|
28
24
|
*/
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
messages: z.object({ values: z.array(z.object({ content: stringOrExpression.optional(), role: z.union([z.literal('user'), z.literal('model'), expressionSchema]).optional() })).optional() }).optional(),
|
|
26
26
|
simplify: booleanOrExpression.optional(),
|
|
27
27
|
jsonOutput: booleanOrExpression.optional(),
|
|
28
|
-
options: z.object({
|
|
28
|
+
options: z.object({ systemMessage: stringOrExpression.optional(), codeExecution: booleanOrExpression.optional(), frequencyPenalty: numberOrExpression.optional(), maxOutputTokens: numberOrExpression.optional(), candidateCount: numberOrExpression.optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), topK: numberOrExpression.optional(), thinkingBudget: numberOrExpression.optional(), maxToolsIterations: numberOrExpression.optional() }).optional(),
|
|
29
29
|
}).optional(),
|
|
30
30
|
subnodes: subnodesSchema.optional(),
|
|
31
31
|
});
|
|
@@ -51,10 +51,6 @@ export type LcGoogleGeminiV1TextMessageParams = {
|
|
|
51
51
|
* @default {}
|
|
52
52
|
*/
|
|
53
53
|
options?: {
|
|
54
|
-
/** Whether to include a single output string merging all text parts of the response
|
|
55
|
-
* @default false
|
|
56
|
-
*/
|
|
57
|
-
includeMergedResponse?: boolean | Expression<boolean>;
|
|
58
54
|
/** System Message
|
|
59
55
|
*/
|
|
60
56
|
systemMessage?: string | Expression<string>;
|
|
@@ -26,7 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
26
26
|
simplify: booleanOrExpression.optional(),
|
|
27
27
|
jsonOutput: booleanOrExpression.optional(),
|
|
28
28
|
builtInTools: z.object({ googleSearch: booleanOrExpression.optional(), googleMaps: z.object({ latitude: numberOrExpression.optional(), longitude: numberOrExpression.optional() }).optional(), urlContext: booleanOrExpression.optional(), fileSearch: z.object({ fileSearchStoreNames: z.union([iDataObjectSchema, z.string()]).optional(), metadataFilter: stringOrExpression.optional() }).optional(), codeExecution: booleanOrExpression.optional() }).optional(),
|
|
29
|
-
options: z.object({ includeMergedResponse: booleanOrExpression.optional(), systemMessage: stringOrExpression.optional(),
|
|
29
|
+
options: z.object({ includeMergedResponse: booleanOrExpression.optional(), systemMessage: stringOrExpression.optional(), frequencyPenalty: numberOrExpression.optional(), maxOutputTokens: numberOrExpression.optional(), candidateCount: numberOrExpression.optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), topK: numberOrExpression.optional(), thinkingBudget: numberOrExpression.optional(), maxToolsIterations: numberOrExpression.optional() }).optional(),
|
|
30
30
|
}).optional(),
|
|
31
31
|
subnodes: subnodesSchema.optional(),
|
|
32
32
|
});
|
|
@@ -99,10 +99,6 @@ export type LcGoogleGeminiV11TextMessageParams = {
|
|
|
99
99
|
/** System Message
|
|
100
100
|
*/
|
|
101
101
|
systemMessage?: string | Expression<string>;
|
|
102
|
-
/** Whether to allow the model to execute code it generates to produce a response. Supported only by certain models.
|
|
103
|
-
* @default false
|
|
104
|
-
*/
|
|
105
|
-
codeExecution?: boolean | Expression<boolean>;
|
|
106
102
|
/** Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim
|
|
107
103
|
* @default 0
|
|
108
104
|
*/
|
|
@@ -26,7 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
26
26
|
simplify: booleanOrExpression.optional(),
|
|
27
27
|
jsonOutput: booleanOrExpression.optional(),
|
|
28
28
|
builtInTools: z.object({ googleSearch: booleanOrExpression.optional(), googleMaps: z.object({ latitude: numberOrExpression.optional(), longitude: numberOrExpression.optional() }).optional(), urlContext: booleanOrExpression.optional(), fileSearch: z.object({ fileSearchStoreNames: z.union([iDataObjectSchema, z.string()]).optional(), metadataFilter: stringOrExpression.optional() }).optional(), codeExecution: booleanOrExpression.optional() }).optional(),
|
|
29
|
-
options: z.object({ includeMergedResponse: booleanOrExpression.optional(), systemMessage: stringOrExpression.optional(),
|
|
29
|
+
options: z.object({ includeMergedResponse: booleanOrExpression.optional(), systemMessage: stringOrExpression.optional(), frequencyPenalty: numberOrExpression.optional(), maxOutputTokens: numberOrExpression.optional(), candidateCount: numberOrExpression.optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), topK: numberOrExpression.optional(), thinkingBudget: numberOrExpression.optional(), maxToolsIterations: numberOrExpression.optional() }).optional(),
|
|
30
30
|
}).optional(),
|
|
31
31
|
subnodes: subnodesSchema.optional(),
|
|
32
32
|
});
|
|
@@ -99,10 +99,6 @@ export type LcGoogleGeminiV12TextMessageParams = {
|
|
|
99
99
|
/** System Message
|
|
100
100
|
*/
|
|
101
101
|
systemMessage?: string | Expression<string>;
|
|
102
|
-
/** Whether to allow the model to execute code it generates to produce a response. Supported only by certain models.
|
|
103
|
-
* @default false
|
|
104
|
-
*/
|
|
105
|
-
codeExecution?: boolean | Expression<boolean>;
|
|
106
102
|
/** Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim
|
|
107
103
|
* @default 0
|
|
108
104
|
*/
|
|
@@ -119,12 +119,7 @@ export interface LcGuardrailsV1Params {
|
|
|
119
119
|
*/
|
|
120
120
|
allowedSchemes?: Array<'https' | 'http' | 'ftp' | 'data' | 'javascript' | 'vbscript' | 'mailto'>;
|
|
121
121
|
/** Whether to block URLs with userinfo (user:pass@domain) to prevent credential injection
|
|
122
|
-
* @displayOptions.show { /operation: ["classify"] }
|
|
123
|
-
* @default true
|
|
124
|
-
*/
|
|
125
|
-
blockUserinfo?: boolean | Expression<boolean>;
|
|
126
|
-
/** Whether to sanitize URLs with userinfo (user:pass@domain) to prevent credential injection
|
|
127
|
-
* @displayOptions.show { /operation: ["sanitize"] }
|
|
122
|
+
* @displayOptions.show { /operation: ["classify", "sanitize"] }
|
|
128
123
|
* @default true
|
|
129
124
|
*/
|
|
130
125
|
blockUserinfo?: boolean | Expression<boolean>;
|