@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
|
@@ -41,21 +41,22 @@ export type LcOpenAiV16ImageGenerateParams = {
|
|
|
41
41
|
* @default medium
|
|
42
42
|
*/
|
|
43
43
|
quality?: 'high' | 'medium' | 'low' | Expression<string>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
size?:
|
|
45
|
+
/** Resolution
|
|
46
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
47
|
+
* @default 1024x1024
|
|
48
|
+
*/
|
|
49
|
+
| '256x256' | '512x512' | '1024x1024' | Expression<string>
|
|
50
|
+
/** Resolution
|
|
51
|
+
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
52
|
+
* @default 1024x1024
|
|
53
|
+
*/
|
|
54
|
+
| '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
|
|
55
|
+
/** Resolution
|
|
56
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
57
|
+
* @default 1024x1024
|
|
58
|
+
*/
|
|
59
|
+
| '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
|
|
59
60
|
/** Style
|
|
60
61
|
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
61
62
|
* @default vivid
|
|
@@ -32,12 +32,12 @@ export type LcOpenAiV17AssistantCreateParams = {
|
|
|
32
32
|
*/
|
|
33
33
|
instructions?: string | Expression<string>;
|
|
34
34
|
/**
|
|
35
|
-
* Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more <a href="https://
|
|
35
|
+
* Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more <a href="https://developers.openai.com/api/docs/guides/tools-code-interpreter" target="_blank">here</a>
|
|
36
36
|
* @default false
|
|
37
37
|
*/
|
|
38
38
|
codeInterpreter?: boolean | Expression<boolean>;
|
|
39
39
|
/**
|
|
40
|
-
* Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more <a href="https://
|
|
40
|
+
* Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more <a href="https://developers.openai.com/api/docs/guides/tools-file-search" target="_blank">here</a>
|
|
41
41
|
* @default false
|
|
42
42
|
*/
|
|
43
43
|
knowledgeRetrieval?: boolean | Expression<boolean>;
|
|
@@ -23,7 +23,7 @@ export type LcOpenAiV17AssistantUpdateParams = {
|
|
|
23
23
|
* @default {}
|
|
24
24
|
*/
|
|
25
25
|
options?: {
|
|
26
|
-
/** Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more <a href="https://
|
|
26
|
+
/** Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more <a href="https://developers.openai.com/api/docs/guides/tools-code-interpreter" target="_blank">here</a>
|
|
27
27
|
* @default false
|
|
28
28
|
*/
|
|
29
29
|
codeInterpreter?: boolean | Expression<boolean>;
|
|
@@ -39,7 +39,7 @@ export type LcOpenAiV17AssistantUpdateParams = {
|
|
|
39
39
|
/** The system instructions that the assistant uses. The maximum length is 32768 characters.
|
|
40
40
|
*/
|
|
41
41
|
instructions?: string | Expression<string>;
|
|
42
|
-
/** Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more <a href="https://
|
|
42
|
+
/** Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more <a href="https://developers.openai.com/api/docs/guides/tools-file-search" target="_blank">here</a>
|
|
43
43
|
* @default false
|
|
44
44
|
*/
|
|
45
45
|
knowledgeRetrieval?: boolean | Expression<boolean>;
|
|
@@ -41,21 +41,22 @@ export type LcOpenAiV17ImageGenerateParams = {
|
|
|
41
41
|
* @default medium
|
|
42
42
|
*/
|
|
43
43
|
quality?: 'high' | 'medium' | 'low' | Expression<string>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
size?:
|
|
45
|
+
/** Resolution
|
|
46
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
47
|
+
* @default 1024x1024
|
|
48
|
+
*/
|
|
49
|
+
| '256x256' | '512x512' | '1024x1024' | Expression<string>
|
|
50
|
+
/** Resolution
|
|
51
|
+
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
52
|
+
* @default 1024x1024
|
|
53
|
+
*/
|
|
54
|
+
| '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
|
|
55
|
+
/** Resolution
|
|
56
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
57
|
+
* @default 1024x1024
|
|
58
|
+
*/
|
|
59
|
+
| '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
|
|
59
60
|
/** Style
|
|
60
61
|
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
61
62
|
* @default vivid
|
|
@@ -32,12 +32,12 @@ export type LcOpenAiV18AssistantCreateParams = {
|
|
|
32
32
|
*/
|
|
33
33
|
instructions?: string | Expression<string>;
|
|
34
34
|
/**
|
|
35
|
-
* Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more <a href="https://
|
|
35
|
+
* Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more <a href="https://developers.openai.com/api/docs/guides/tools-code-interpreter" target="_blank">here</a>
|
|
36
36
|
* @default false
|
|
37
37
|
*/
|
|
38
38
|
codeInterpreter?: boolean | Expression<boolean>;
|
|
39
39
|
/**
|
|
40
|
-
* Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more <a href="https://
|
|
40
|
+
* Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more <a href="https://developers.openai.com/api/docs/guides/tools-file-search" target="_blank">here</a>
|
|
41
41
|
* @default false
|
|
42
42
|
*/
|
|
43
43
|
knowledgeRetrieval?: boolean | Expression<boolean>;
|
|
@@ -27,7 +27,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
27
27
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"prompt":["define"]}}, defaults: {"prompt":"auto"} }),
|
|
28
28
|
memory: z.union([z.literal('connector'), z.literal('threadId'), expressionSchema]).optional(),
|
|
29
29
|
threadId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"memory":["threadId"]}}, defaults: {"memory":"connector"} }),
|
|
30
|
-
options: z.object({
|
|
30
|
+
options: z.object({ maxRetries: numberOrExpression.optional(), timeout: numberOrExpression.optional(), preserveOriginalTools: booleanOrExpression.optional() }).optional(),
|
|
31
31
|
}).optional(),
|
|
32
32
|
subnodes: subnodesSchema.optional(),
|
|
33
33
|
});
|
|
@@ -44,10 +44,6 @@ export type LcOpenAiV18AssistantMessageParams = {
|
|
|
44
44
|
* @default {}
|
|
45
45
|
*/
|
|
46
46
|
options?: {
|
|
47
|
-
/** Override the default base URL for the API
|
|
48
|
-
* @default https://api.openai.com/v1
|
|
49
|
-
*/
|
|
50
|
-
baseURL?: string | Expression<string>;
|
|
51
47
|
/** Maximum number of retries to attempt
|
|
52
48
|
* @default 2
|
|
53
49
|
*/
|
|
@@ -23,7 +23,7 @@ export type LcOpenAiV18AssistantUpdateParams = {
|
|
|
23
23
|
* @default {}
|
|
24
24
|
*/
|
|
25
25
|
options?: {
|
|
26
|
-
/** Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more <a href="https://
|
|
26
|
+
/** Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more <a href="https://developers.openai.com/api/docs/guides/tools-code-interpreter" target="_blank">here</a>
|
|
27
27
|
* @default false
|
|
28
28
|
*/
|
|
29
29
|
codeInterpreter?: boolean | Expression<boolean>;
|
|
@@ -39,7 +39,7 @@ export type LcOpenAiV18AssistantUpdateParams = {
|
|
|
39
39
|
/** The system instructions that the assistant uses. The maximum length is 32768 characters.
|
|
40
40
|
*/
|
|
41
41
|
instructions?: string | Expression<string>;
|
|
42
|
-
/** Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more <a href="https://
|
|
42
|
+
/** Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more <a href="https://developers.openai.com/api/docs/guides/tools-file-search" target="_blank">here</a>
|
|
43
43
|
* @default false
|
|
44
44
|
*/
|
|
45
45
|
knowledgeRetrieval?: boolean | Expression<boolean>;
|
|
@@ -41,21 +41,22 @@ export type LcOpenAiV18ImageGenerateParams = {
|
|
|
41
41
|
* @default medium
|
|
42
42
|
*/
|
|
43
43
|
quality?: 'high' | 'medium' | 'low' | Expression<string>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
size?:
|
|
45
|
+
/** Resolution
|
|
46
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
47
|
+
* @default 1024x1024
|
|
48
|
+
*/
|
|
49
|
+
| '256x256' | '512x512' | '1024x1024' | Expression<string>
|
|
50
|
+
/** Resolution
|
|
51
|
+
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
52
|
+
* @default 1024x1024
|
|
53
|
+
*/
|
|
54
|
+
| '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
|
|
55
|
+
/** Resolution
|
|
56
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
57
|
+
* @default 1024x1024
|
|
58
|
+
*/
|
|
59
|
+
| '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
|
|
59
60
|
/** Style
|
|
60
61
|
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
61
62
|
* @default vivid
|
|
@@ -41,21 +41,22 @@ export type LcOpenAiV2ImageGenerateParams = {
|
|
|
41
41
|
* @default medium
|
|
42
42
|
*/
|
|
43
43
|
quality?: 'high' | 'medium' | 'low' | Expression<string>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
size?:
|
|
45
|
+
/** Resolution
|
|
46
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
47
|
+
* @default 1024x1024
|
|
48
|
+
*/
|
|
49
|
+
| '256x256' | '512x512' | '1024x1024' | Expression<string>
|
|
50
|
+
/** Resolution
|
|
51
|
+
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
52
|
+
* @default 1024x1024
|
|
53
|
+
*/
|
|
54
|
+
| '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
|
|
55
|
+
/** Resolution
|
|
56
|
+
* @displayOptions.show { /model: [{"_cnd":{"includes":"gpt-image"}}] }
|
|
57
|
+
* @default 1024x1024
|
|
58
|
+
*/
|
|
59
|
+
| '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
|
|
59
60
|
/** Style
|
|
60
61
|
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
61
62
|
* @default vivid
|
|
@@ -51,11 +51,13 @@ export type LcOpenAiV2TextResponseParams = {
|
|
|
51
51
|
/** Name of the binary property which contains the image(s)
|
|
52
52
|
* @hint The name of the input field containing the binary file data to be processed
|
|
53
53
|
* @displayOptions.show { type: ["image"], imageType: ["base64"] }
|
|
54
|
+
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
54
55
|
* @default data
|
|
55
56
|
*/
|
|
56
57
|
binaryPropertyName?: string | Expression<string>;
|
|
57
58
|
/** ID of the file to be sent
|
|
58
59
|
* @displayOptions.show { type: ["image"], imageType: ["fileId"] }
|
|
60
|
+
* @displayOptions.show { type: ["file"], fileType: ["fileId"] }
|
|
59
61
|
*/
|
|
60
62
|
fileId?: string | Expression<string>;
|
|
61
63
|
/** The detail level of the image to be sent to the model
|
|
@@ -72,16 +74,6 @@ export type LcOpenAiV2TextResponseParams = {
|
|
|
72
74
|
* @displayOptions.show { type: ["file"], fileType: ["url"] }
|
|
73
75
|
*/
|
|
74
76
|
fileUrl?: string | Expression<string>;
|
|
75
|
-
/** ID of the file to be sent
|
|
76
|
-
* @displayOptions.show { type: ["file"], fileType: ["fileId"] }
|
|
77
|
-
*/
|
|
78
|
-
fileId?: string | Expression<string>;
|
|
79
|
-
/** Name of the binary property which contains the file
|
|
80
|
-
* @hint The name of the input field containing the binary file data to be processed
|
|
81
|
-
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
82
|
-
* @default data
|
|
83
|
-
*/
|
|
84
|
-
binaryPropertyName?: string | Expression<string>;
|
|
85
77
|
/** File Name
|
|
86
78
|
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
87
79
|
*/
|
|
@@ -41,21 +41,22 @@ export type LcOpenAiV21ImageGenerateParams = {
|
|
|
41
41
|
* @default medium
|
|
42
42
|
*/
|
|
43
43
|
quality?: 'high' | 'medium' | 'low' | Expression<string>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
size?:
|
|
45
|
+
/** Resolution
|
|
46
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
47
|
+
* @default 1024x1024
|
|
48
|
+
*/
|
|
49
|
+
| '256x256' | '512x512' | '1024x1024' | Expression<string>
|
|
50
|
+
/** Resolution
|
|
51
|
+
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
52
|
+
* @default 1024x1024
|
|
53
|
+
*/
|
|
54
|
+
| '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
|
|
55
|
+
/** Resolution
|
|
56
|
+
* @displayOptions.show { /model: [{"_cnd":{"includes":"gpt-image"}}] }
|
|
57
|
+
* @default 1024x1024
|
|
58
|
+
*/
|
|
59
|
+
| '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
|
|
59
60
|
/** Style
|
|
60
61
|
* @displayOptions.show { /model: ["dall-e-3"] }
|
|
61
62
|
* @default vivid
|
|
@@ -51,11 +51,13 @@ export type LcOpenAiV21TextResponseParams = {
|
|
|
51
51
|
/** Name of the binary property which contains the image(s)
|
|
52
52
|
* @hint The name of the input field containing the binary file data to be processed
|
|
53
53
|
* @displayOptions.show { type: ["image"], imageType: ["base64"] }
|
|
54
|
+
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
54
55
|
* @default data
|
|
55
56
|
*/
|
|
56
57
|
binaryPropertyName?: string | Expression<string>;
|
|
57
58
|
/** ID of the file to be sent
|
|
58
59
|
* @displayOptions.show { type: ["image"], imageType: ["fileId"] }
|
|
60
|
+
* @displayOptions.show { type: ["file"], fileType: ["fileId"] }
|
|
59
61
|
*/
|
|
60
62
|
fileId?: string | Expression<string>;
|
|
61
63
|
/** The detail level of the image to be sent to the model
|
|
@@ -72,16 +74,6 @@ export type LcOpenAiV21TextResponseParams = {
|
|
|
72
74
|
* @displayOptions.show { type: ["file"], fileType: ["url"] }
|
|
73
75
|
*/
|
|
74
76
|
fileUrl?: string | Expression<string>;
|
|
75
|
-
/** ID of the file to be sent
|
|
76
|
-
* @displayOptions.show { type: ["file"], fileType: ["fileId"] }
|
|
77
|
-
*/
|
|
78
|
-
fileId?: string | Expression<string>;
|
|
79
|
-
/** Name of the binary property which contains the file
|
|
80
|
-
* @hint The name of the input field containing the binary file data to be processed
|
|
81
|
-
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
82
|
-
* @default data
|
|
83
|
-
*/
|
|
84
|
-
binaryPropertyName?: string | Expression<string>;
|
|
85
77
|
/** File Name
|
|
86
78
|
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
87
79
|
*/
|
|
@@ -43,21 +43,22 @@ export type LcOpenAiV22ImageGenerateParams = {
|
|
|
43
43
|
* @default medium
|
|
44
44
|
*/
|
|
45
45
|
quality?: 'high' | 'medium' | 'low' | Expression<string>;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
46
|
+
size?:
|
|
47
|
+
/** Resolution
|
|
48
|
+
* @displayOptions.show { /modelId: ["dall-e-2"] }
|
|
49
|
+
* @default 1024x1024
|
|
50
|
+
*/
|
|
51
|
+
| '256x256' | '512x512' | '1024x1024' | Expression<string>
|
|
52
|
+
/** Resolution
|
|
53
|
+
* @displayOptions.show { /modelId: ["dall-e-3"] }
|
|
54
|
+
* @default 1024x1024
|
|
55
|
+
*/
|
|
56
|
+
| '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
|
|
57
|
+
/** Resolution
|
|
58
|
+
* @displayOptions.show { /modelId: [{"_cnd":{"includes":"gpt-image"}}] }
|
|
59
|
+
* @default 1024x1024
|
|
60
|
+
*/
|
|
61
|
+
| '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
|
|
61
62
|
/** Style
|
|
62
63
|
* @displayOptions.show { /modelId: ["dall-e-3"] }
|
|
63
64
|
* @default vivid
|
|
@@ -51,11 +51,13 @@ export type LcOpenAiV22TextResponseParams = {
|
|
|
51
51
|
/** Name of the binary property which contains the image(s)
|
|
52
52
|
* @hint The name of the input field containing the binary file data to be processed
|
|
53
53
|
* @displayOptions.show { type: ["image"], imageType: ["base64"] }
|
|
54
|
+
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
54
55
|
* @default data
|
|
55
56
|
*/
|
|
56
57
|
binaryPropertyName?: string | Expression<string>;
|
|
57
58
|
/** ID of the file to be sent
|
|
58
59
|
* @displayOptions.show { type: ["image"], imageType: ["fileId"] }
|
|
60
|
+
* @displayOptions.show { type: ["file"], fileType: ["fileId"] }
|
|
59
61
|
*/
|
|
60
62
|
fileId?: string | Expression<string>;
|
|
61
63
|
/** The detail level of the image to be sent to the model
|
|
@@ -72,16 +74,6 @@ export type LcOpenAiV22TextResponseParams = {
|
|
|
72
74
|
* @displayOptions.show { type: ["file"], fileType: ["url"] }
|
|
73
75
|
*/
|
|
74
76
|
fileUrl?: string | Expression<string>;
|
|
75
|
-
/** ID of the file to be sent
|
|
76
|
-
* @displayOptions.show { type: ["file"], fileType: ["fileId"] }
|
|
77
|
-
*/
|
|
78
|
-
fileId?: string | Expression<string>;
|
|
79
|
-
/** Name of the binary property which contains the file
|
|
80
|
-
* @hint The name of the input field containing the binary file data to be processed
|
|
81
|
-
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
82
|
-
* @default data
|
|
83
|
-
*/
|
|
84
|
-
binaryPropertyName?: string | Expression<string>;
|
|
85
77
|
/** File Name
|
|
86
78
|
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
87
79
|
*/
|
|
@@ -43,21 +43,22 @@ export type LcOpenAiV23ImageGenerateParams = {
|
|
|
43
43
|
* @default medium
|
|
44
44
|
*/
|
|
45
45
|
quality?: 'high' | 'medium' | 'low' | Expression<string>;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
46
|
+
size?:
|
|
47
|
+
/** Resolution
|
|
48
|
+
* @displayOptions.show { /modelId: ["dall-e-2"] }
|
|
49
|
+
* @default 1024x1024
|
|
50
|
+
*/
|
|
51
|
+
| '256x256' | '512x512' | '1024x1024' | Expression<string>
|
|
52
|
+
/** Resolution
|
|
53
|
+
* @displayOptions.show { /modelId: ["dall-e-3"] }
|
|
54
|
+
* @default 1024x1024
|
|
55
|
+
*/
|
|
56
|
+
| '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
|
|
57
|
+
/** Resolution
|
|
58
|
+
* @displayOptions.show { /modelId: [{"_cnd":{"includes":"gpt-image"}}] }
|
|
59
|
+
* @default 1024x1024
|
|
60
|
+
*/
|
|
61
|
+
| '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
|
|
61
62
|
/** Style
|
|
62
63
|
* @displayOptions.show { /modelId: ["dall-e-3"] }
|
|
63
64
|
* @default vivid
|
|
@@ -51,11 +51,13 @@ export type LcOpenAiV23TextResponseParams = {
|
|
|
51
51
|
/** Name of the binary property which contains the image(s)
|
|
52
52
|
* @hint The name of the input field containing the binary file data to be processed
|
|
53
53
|
* @displayOptions.show { type: ["image"], imageType: ["base64"] }
|
|
54
|
+
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
54
55
|
* @default data
|
|
55
56
|
*/
|
|
56
57
|
binaryPropertyName?: string | Expression<string>;
|
|
57
58
|
/** ID of the file to be sent
|
|
58
59
|
* @displayOptions.show { type: ["image"], imageType: ["fileId"] }
|
|
60
|
+
* @displayOptions.show { type: ["file"], fileType: ["fileId"] }
|
|
59
61
|
*/
|
|
60
62
|
fileId?: string | Expression<string>;
|
|
61
63
|
/** The detail level of the image to be sent to the model
|
|
@@ -72,16 +74,6 @@ export type LcOpenAiV23TextResponseParams = {
|
|
|
72
74
|
* @displayOptions.show { type: ["file"], fileType: ["url"] }
|
|
73
75
|
*/
|
|
74
76
|
fileUrl?: string | Expression<string>;
|
|
75
|
-
/** ID of the file to be sent
|
|
76
|
-
* @displayOptions.show { type: ["file"], fileType: ["fileId"] }
|
|
77
|
-
*/
|
|
78
|
-
fileId?: string | Expression<string>;
|
|
79
|
-
/** Name of the binary property which contains the file
|
|
80
|
-
* @hint The name of the input field containing the binary file data to be processed
|
|
81
|
-
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
82
|
-
* @default data
|
|
83
|
-
*/
|
|
84
|
-
binaryPropertyName?: string | Expression<string>;
|
|
85
77
|
/** File Name
|
|
86
78
|
* @displayOptions.show { type: ["file"], fileType: ["base64"] }
|
|
87
79
|
*/
|
|
@@ -13,8 +13,9 @@ export interface LcRetrieverWorkflowV1Params {
|
|
|
13
13
|
/**
|
|
14
14
|
* The workflow to execute
|
|
15
15
|
* @displayOptions.show { source: ["database"] }
|
|
16
|
+
* @required when the displayOptions conditions above match
|
|
16
17
|
*/
|
|
17
|
-
workflowId
|
|
18
|
+
workflowId?: string | Expression<string>;
|
|
18
19
|
/**
|
|
19
20
|
* The workflow JSON code to execute
|
|
20
21
|
* @displayOptions.show { source: ["parameter"] }
|
|
@@ -20,7 +20,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
20
20
|
// Parameters schema
|
|
21
21
|
const parametersSchema = z.object({
|
|
22
22
|
inputText: stringOrExpression,
|
|
23
|
-
options: z.object({ categories: z.string().optional(), systemPromptTemplate: stringOrExpression.optional(), includeDetailedResults: booleanOrExpression.optional(), enableAutoFixing: booleanOrExpression.optional()
|
|
23
|
+
options: z.object({ categories: z.string().optional(), systemPromptTemplate: stringOrExpression.optional(), includeDetailedResults: booleanOrExpression.optional(), enableAutoFixing: booleanOrExpression.optional() }).optional(),
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
// Return combined config schema
|
|
@@ -26,19 +26,6 @@ export interface LcSentimentAnalysisV1Params {
|
|
|
26
26
|
* @default true
|
|
27
27
|
*/
|
|
28
28
|
enableAutoFixing?: boolean | Expression<boolean>;
|
|
29
|
-
/** Batch processing options for rate limiting
|
|
30
|
-
* @default {}
|
|
31
|
-
*/
|
|
32
|
-
batching?: {
|
|
33
|
-
/** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
|
|
34
|
-
* @default 5
|
|
35
|
-
*/
|
|
36
|
-
batchSize?: number | Expression<number>;
|
|
37
|
-
/** Delay in milliseconds between batches. This is useful for rate limiting.
|
|
38
|
-
* @default 0
|
|
39
|
-
*/
|
|
40
|
-
delayBetweenBatches?: number | Expression<number>;
|
|
41
|
-
};
|
|
42
29
|
};
|
|
43
30
|
}
|
|
44
31
|
|
|
@@ -21,7 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
21
21
|
const parametersSchema = z.object({
|
|
22
22
|
inputText: stringOrExpression,
|
|
23
23
|
categories: z.object({ categories: z.array(z.object({ category: stringOrExpression.optional(), description: stringOrExpression.optional() })).optional() }).optional(),
|
|
24
|
-
options: z.object({ multiClass: booleanOrExpression.optional(), fallback: z.union([z.literal('discard'), z.literal('other'), expressionSchema]).optional(), systemPromptTemplate: stringOrExpression.optional(), enableAutoFixing: booleanOrExpression.optional()
|
|
24
|
+
options: z.object({ multiClass: booleanOrExpression.optional(), fallback: z.union([z.literal('discard'), z.literal('other'), expressionSchema]).optional(), systemPromptTemplate: stringOrExpression.optional(), enableAutoFixing: booleanOrExpression.optional() }).optional(),
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
// Return combined config schema
|
|
@@ -38,19 +38,6 @@ export interface LcTextClassifierV1Params {
|
|
|
38
38
|
* @default true
|
|
39
39
|
*/
|
|
40
40
|
enableAutoFixing?: boolean | Expression<boolean>;
|
|
41
|
-
/** Batch processing options for rate limiting
|
|
42
|
-
* @default {}
|
|
43
|
-
*/
|
|
44
|
-
batching?: {
|
|
45
|
-
/** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
|
|
46
|
-
* @default 5
|
|
47
|
-
*/
|
|
48
|
-
batchSize?: number | Expression<number>;
|
|
49
|
-
/** Delay in milliseconds between batches. This is useful for rate limiting.
|
|
50
|
-
* @default 0
|
|
51
|
-
*/
|
|
52
|
-
delayBetweenBatches?: number | Expression<number>;
|
|
53
|
-
};
|
|
54
41
|
};
|
|
55
42
|
}
|
|
56
43
|
|
|
@@ -19,8 +19,9 @@ export interface LcToolWorkflowV1Params {
|
|
|
19
19
|
* The workflow to execute
|
|
20
20
|
* @hint Can be found in the URL of the workflow
|
|
21
21
|
* @displayOptions.show { source: ["database"] }
|
|
22
|
+
* @required when the displayOptions conditions above match
|
|
22
23
|
*/
|
|
23
|
-
workflowId
|
|
24
|
+
workflowId?: string | Expression<string>;
|
|
24
25
|
/**
|
|
25
26
|
* The workflow JSON code to execute
|
|
26
27
|
* @displayOptions.show { source: ["parameter"] }
|
|
@@ -19,8 +19,9 @@ export interface LcToolWorkflowV11Params {
|
|
|
19
19
|
* The workflow to execute
|
|
20
20
|
* @hint Can be found in the URL of the workflow
|
|
21
21
|
* @displayOptions.show { source: ["database"] }
|
|
22
|
+
* @required when the displayOptions conditions above match
|
|
22
23
|
*/
|
|
23
|
-
workflowId
|
|
24
|
+
workflowId?: string | Expression<string>;
|
|
24
25
|
/**
|
|
25
26
|
* The workflow JSON code to execute
|
|
26
27
|
* @displayOptions.show { source: ["parameter"] }
|
|
@@ -274,17 +274,6 @@ class AgentV1 {
|
|
|
274
274
|
},
|
|
275
275
|
],
|
|
276
276
|
properties: [
|
|
277
|
-
{
|
|
278
|
-
displayName: 'Tip: Get a feel for agents with our quick <a href="https://docs.n8n.io/advanced-ai/intro-tutorial/" target="_blank">tutorial</a> or see an <a href="/templates/1954" target="_blank">example</a> of how this node works',
|
|
279
|
-
name: 'aiAgentStarterCallout',
|
|
280
|
-
type: 'callout',
|
|
281
|
-
default: '',
|
|
282
|
-
displayOptions: {
|
|
283
|
-
show: {
|
|
284
|
-
agent: ['conversationalAgent', 'toolsAgent'],
|
|
285
|
-
},
|
|
286
|
-
},
|
|
287
|
-
},
|
|
288
277
|
{
|
|
289
278
|
displayName: "This node is using Agent that has been deprecated. Please switch to using 'Tools Agent' instead.",
|
|
290
279
|
name: 'deprecated',
|