@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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
export interface LcLmChatOpenAiV1Params {
|
|
8
8
|
/**
|
|
9
|
-
* The model which will generate the completion. <a href="https://
|
|
9
|
+
* The model which will generate the completion. <a href="https://developers.openai.com/api/docs/models">Learn more</a>.
|
|
10
10
|
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @default gpt-5-mini
|
|
12
12
|
*/
|
|
@@ -32,46 +32,6 @@ export interface LcLmChatOpenAiV1Params {
|
|
|
32
32
|
* @default text
|
|
33
33
|
*/
|
|
34
34
|
responseFormat?: 'text' | 'json_object' | Expression<string>;
|
|
35
|
-
/** Response Format
|
|
36
|
-
* @displayOptions.show { /responsesApiEnabled: [false] }
|
|
37
|
-
* @default text
|
|
38
|
-
*/
|
|
39
|
-
responseFormat?: 'text' | 'json_object' | Expression<string>;
|
|
40
|
-
/** Response Format
|
|
41
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
42
|
-
* @default {"textOptions":[{"type":"text"}]}
|
|
43
|
-
*/
|
|
44
|
-
textFormat?: {
|
|
45
|
-
/** Text
|
|
46
|
-
*/
|
|
47
|
-
textOptions?: {
|
|
48
|
-
/** Type
|
|
49
|
-
*/
|
|
50
|
-
type?: 'text' | 'json_schema' | 'json_object' | Expression<string>;
|
|
51
|
-
/** Verbosity
|
|
52
|
-
* @default medium
|
|
53
|
-
*/
|
|
54
|
-
verbosity?: 'low' | 'medium' | 'high' | Expression<string>;
|
|
55
|
-
/** The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
56
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
57
|
-
* @default my_schema
|
|
58
|
-
*/
|
|
59
|
-
name?: string | Expression<string>;
|
|
60
|
-
/** The schema of the response format
|
|
61
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
62
|
-
*/
|
|
63
|
-
schema?: IDataObject | string | Expression<string>;
|
|
64
|
-
/** The description of the response format
|
|
65
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
66
|
-
*/
|
|
67
|
-
description?: string | Expression<string>;
|
|
68
|
-
/** Whether to require that the AI will always generate responses that match the provided JSON Schema
|
|
69
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
70
|
-
* @default false
|
|
71
|
-
*/
|
|
72
|
-
strict?: boolean | Expression<boolean>;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
35
|
/** Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics
|
|
76
36
|
* @default 0
|
|
77
37
|
*/
|
|
@@ -101,53 +61,6 @@ export interface LcLmChatOpenAiV1Params {
|
|
|
101
61
|
* @default {}
|
|
102
62
|
*/
|
|
103
63
|
extraBody?: IDataObject | string | Expression<string>;
|
|
104
|
-
/** The conversation that this response belongs to. Input items and output items from this response are automatically added to this conversation after this response completes.
|
|
105
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
106
|
-
*/
|
|
107
|
-
conversationId?: string | Expression<string>;
|
|
108
|
-
/** Used by OpenAI to cache responses for similar requests to optimize your cache hit rates
|
|
109
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
110
|
-
*/
|
|
111
|
-
promptCacheKey?: string | Expression<string>;
|
|
112
|
-
/** A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies. The IDs should be a string that uniquely identifies each user.
|
|
113
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
114
|
-
*/
|
|
115
|
-
safetyIdentifier?: string | Expression<string>;
|
|
116
|
-
/** The service tier to use for the request
|
|
117
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
118
|
-
* @default auto
|
|
119
|
-
*/
|
|
120
|
-
serviceTier?: 'auto' | 'flex' | 'default' | 'priority' | Expression<string>;
|
|
121
|
-
/** Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
|
|
122
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
123
|
-
* @default {}
|
|
124
|
-
*/
|
|
125
|
-
metadata?: IDataObject | string | Expression<string>;
|
|
126
|
-
/** An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability
|
|
127
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
128
|
-
* @default 0
|
|
129
|
-
*/
|
|
130
|
-
topLogprobs?: number | Expression<number>;
|
|
131
|
-
/** Configure the reusable prompt template configured via OpenAI Dashboard. <a href="https://platform.openai.com/docs/guides/prompt-engineering#reusable-prompts">Learn more</a>.
|
|
132
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
133
|
-
* @default {"promptOptions":[{"promptId":""}]}
|
|
134
|
-
*/
|
|
135
|
-
promptConfig?: {
|
|
136
|
-
/** Prompt
|
|
137
|
-
*/
|
|
138
|
-
promptOptions?: {
|
|
139
|
-
/** The unique identifier of the prompt template to use
|
|
140
|
-
*/
|
|
141
|
-
promptId?: string | Expression<string>;
|
|
142
|
-
/** Optional version of the prompt template
|
|
143
|
-
*/
|
|
144
|
-
version?: string | Expression<string>;
|
|
145
|
-
/** Variables to be substituted into the prompt template
|
|
146
|
-
* @default {}
|
|
147
|
-
*/
|
|
148
|
-
variables?: IDataObject | string | Expression<string>;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
64
|
};
|
|
152
65
|
}
|
|
153
66
|
|
|
@@ -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({
|
|
18
|
+
options: z.object({ frequencyPenalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), responseFormat: z.union([z.literal('text'), z.literal('json_object'), expressionSchema]).optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), reasoningEffort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional(), timeout: numberOrExpression.optional(), maxRetries: numberOrExpression.optional(), topP: numberOrExpression.optional(), extraBody: z.union([iDataObjectSchema, z.string()]).optional() }).optional(),
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Return combined config schema
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
export interface LcLmChatOpenAiV11Params {
|
|
8
8
|
/**
|
|
9
|
-
* The model which will generate the completion. <a href="https://
|
|
9
|
+
* The model which will generate the completion. <a href="https://developers.openai.com/api/docs/models">Learn more</a>.
|
|
10
10
|
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @default gpt-5-mini
|
|
12
12
|
*/
|
|
@@ -16,10 +16,6 @@ export interface LcLmChatOpenAiV11Params {
|
|
|
16
16
|
* @default {}
|
|
17
17
|
*/
|
|
18
18
|
options?: {
|
|
19
|
-
/** Override the default base URL for the API
|
|
20
|
-
* @default https://api.openai.com/v1
|
|
21
|
-
*/
|
|
22
|
-
baseURL?: string | Expression<string>;
|
|
23
19
|
/** 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
|
|
24
20
|
* @default 0
|
|
25
21
|
*/
|
|
@@ -32,46 +28,6 @@ export interface LcLmChatOpenAiV11Params {
|
|
|
32
28
|
* @default text
|
|
33
29
|
*/
|
|
34
30
|
responseFormat?: 'text' | 'json_object' | Expression<string>;
|
|
35
|
-
/** Response Format
|
|
36
|
-
* @displayOptions.show { /responsesApiEnabled: [false] }
|
|
37
|
-
* @default text
|
|
38
|
-
*/
|
|
39
|
-
responseFormat?: 'text' | 'json_object' | Expression<string>;
|
|
40
|
-
/** Response Format
|
|
41
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
42
|
-
* @default {"textOptions":[{"type":"text"}]}
|
|
43
|
-
*/
|
|
44
|
-
textFormat?: {
|
|
45
|
-
/** Text
|
|
46
|
-
*/
|
|
47
|
-
textOptions?: {
|
|
48
|
-
/** Type
|
|
49
|
-
*/
|
|
50
|
-
type?: 'text' | 'json_schema' | 'json_object' | Expression<string>;
|
|
51
|
-
/** Verbosity
|
|
52
|
-
* @default medium
|
|
53
|
-
*/
|
|
54
|
-
verbosity?: 'low' | 'medium' | 'high' | Expression<string>;
|
|
55
|
-
/** The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
56
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
57
|
-
* @default my_schema
|
|
58
|
-
*/
|
|
59
|
-
name?: string | Expression<string>;
|
|
60
|
-
/** The schema of the response format
|
|
61
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
62
|
-
*/
|
|
63
|
-
schema?: IDataObject | string | Expression<string>;
|
|
64
|
-
/** The description of the response format
|
|
65
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
66
|
-
*/
|
|
67
|
-
description?: string | Expression<string>;
|
|
68
|
-
/** Whether to require that the AI will always generate responses that match the provided JSON Schema
|
|
69
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
70
|
-
* @default false
|
|
71
|
-
*/
|
|
72
|
-
strict?: boolean | Expression<boolean>;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
31
|
/** Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics
|
|
76
32
|
* @default 0
|
|
77
33
|
*/
|
|
@@ -101,53 +57,6 @@ export interface LcLmChatOpenAiV11Params {
|
|
|
101
57
|
* @default {}
|
|
102
58
|
*/
|
|
103
59
|
extraBody?: IDataObject | string | Expression<string>;
|
|
104
|
-
/** The conversation that this response belongs to. Input items and output items from this response are automatically added to this conversation after this response completes.
|
|
105
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
106
|
-
*/
|
|
107
|
-
conversationId?: string | Expression<string>;
|
|
108
|
-
/** Used by OpenAI to cache responses for similar requests to optimize your cache hit rates
|
|
109
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
110
|
-
*/
|
|
111
|
-
promptCacheKey?: string | Expression<string>;
|
|
112
|
-
/** A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies. The IDs should be a string that uniquely identifies each user.
|
|
113
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
114
|
-
*/
|
|
115
|
-
safetyIdentifier?: string | Expression<string>;
|
|
116
|
-
/** The service tier to use for the request
|
|
117
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
118
|
-
* @default auto
|
|
119
|
-
*/
|
|
120
|
-
serviceTier?: 'auto' | 'flex' | 'default' | 'priority' | Expression<string>;
|
|
121
|
-
/** Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
|
|
122
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
123
|
-
* @default {}
|
|
124
|
-
*/
|
|
125
|
-
metadata?: IDataObject | string | Expression<string>;
|
|
126
|
-
/** An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability
|
|
127
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
128
|
-
* @default 0
|
|
129
|
-
*/
|
|
130
|
-
topLogprobs?: number | Expression<number>;
|
|
131
|
-
/** Configure the reusable prompt template configured via OpenAI Dashboard. <a href="https://platform.openai.com/docs/guides/prompt-engineering#reusable-prompts">Learn more</a>.
|
|
132
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
133
|
-
* @default {"promptOptions":[{"promptId":""}]}
|
|
134
|
-
*/
|
|
135
|
-
promptConfig?: {
|
|
136
|
-
/** Prompt
|
|
137
|
-
*/
|
|
138
|
-
promptOptions?: {
|
|
139
|
-
/** The unique identifier of the prompt template to use
|
|
140
|
-
*/
|
|
141
|
-
promptId?: string | Expression<string>;
|
|
142
|
-
/** Optional version of the prompt template
|
|
143
|
-
*/
|
|
144
|
-
version?: string | Expression<string>;
|
|
145
|
-
/** Variables to be substituted into the prompt template
|
|
146
|
-
* @default {}
|
|
147
|
-
*/
|
|
148
|
-
variables?: IDataObject | string | Expression<string>;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
60
|
};
|
|
152
61
|
}
|
|
153
62
|
|
|
@@ -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: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
18
|
-
options: z.object({
|
|
18
|
+
options: z.object({ frequencyPenalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), responseFormat: z.union([z.literal('text'), z.literal('json_object'), expressionSchema]).optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), reasoningEffort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional(), timeout: numberOrExpression.optional(), maxRetries: numberOrExpression.optional(), topP: numberOrExpression.optional(), extraBody: z.union([iDataObjectSchema, z.string()]).optional() }).optional(),
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Return combined config schema
|
|
@@ -17,10 +17,6 @@ export interface LcLmChatOpenAiV12Params {
|
|
|
17
17
|
* @default {}
|
|
18
18
|
*/
|
|
19
19
|
options?: {
|
|
20
|
-
/** Override the default base URL for the API
|
|
21
|
-
* @default https://api.openai.com/v1
|
|
22
|
-
*/
|
|
23
|
-
baseURL?: string | Expression<string>;
|
|
24
20
|
/** 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
|
|
25
21
|
* @default 0
|
|
26
22
|
*/
|
|
@@ -33,46 +29,6 @@ export interface LcLmChatOpenAiV12Params {
|
|
|
33
29
|
* @default text
|
|
34
30
|
*/
|
|
35
31
|
responseFormat?: 'text' | 'json_object' | Expression<string>;
|
|
36
|
-
/** Response Format
|
|
37
|
-
* @displayOptions.show { /responsesApiEnabled: [false] }
|
|
38
|
-
* @default text
|
|
39
|
-
*/
|
|
40
|
-
responseFormat?: 'text' | 'json_object' | Expression<string>;
|
|
41
|
-
/** Response Format
|
|
42
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
43
|
-
* @default {"textOptions":[{"type":"text"}]}
|
|
44
|
-
*/
|
|
45
|
-
textFormat?: {
|
|
46
|
-
/** Text
|
|
47
|
-
*/
|
|
48
|
-
textOptions?: {
|
|
49
|
-
/** Type
|
|
50
|
-
*/
|
|
51
|
-
type?: 'text' | 'json_schema' | 'json_object' | Expression<string>;
|
|
52
|
-
/** Verbosity
|
|
53
|
-
* @default medium
|
|
54
|
-
*/
|
|
55
|
-
verbosity?: 'low' | 'medium' | 'high' | Expression<string>;
|
|
56
|
-
/** The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
57
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
58
|
-
* @default my_schema
|
|
59
|
-
*/
|
|
60
|
-
name?: string | Expression<string>;
|
|
61
|
-
/** The schema of the response format
|
|
62
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
63
|
-
*/
|
|
64
|
-
schema?: IDataObject | string | Expression<string>;
|
|
65
|
-
/** The description of the response format
|
|
66
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
67
|
-
*/
|
|
68
|
-
description?: string | Expression<string>;
|
|
69
|
-
/** Whether to require that the AI will always generate responses that match the provided JSON Schema
|
|
70
|
-
* @displayOptions.show { type: ["json_schema"] }
|
|
71
|
-
* @default false
|
|
72
|
-
*/
|
|
73
|
-
strict?: boolean | Expression<boolean>;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
32
|
/** Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics
|
|
77
33
|
* @default 0
|
|
78
34
|
*/
|
|
@@ -102,53 +58,6 @@ export interface LcLmChatOpenAiV12Params {
|
|
|
102
58
|
* @default {}
|
|
103
59
|
*/
|
|
104
60
|
extraBody?: IDataObject | string | Expression<string>;
|
|
105
|
-
/** The conversation that this response belongs to. Input items and output items from this response are automatically added to this conversation after this response completes.
|
|
106
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
107
|
-
*/
|
|
108
|
-
conversationId?: string | Expression<string>;
|
|
109
|
-
/** Used by OpenAI to cache responses for similar requests to optimize your cache hit rates
|
|
110
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
111
|
-
*/
|
|
112
|
-
promptCacheKey?: string | Expression<string>;
|
|
113
|
-
/** A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies. The IDs should be a string that uniquely identifies each user.
|
|
114
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
115
|
-
*/
|
|
116
|
-
safetyIdentifier?: string | Expression<string>;
|
|
117
|
-
/** The service tier to use for the request
|
|
118
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
119
|
-
* @default auto
|
|
120
|
-
*/
|
|
121
|
-
serviceTier?: 'auto' | 'flex' | 'default' | 'priority' | Expression<string>;
|
|
122
|
-
/** Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
|
|
123
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
124
|
-
* @default {}
|
|
125
|
-
*/
|
|
126
|
-
metadata?: IDataObject | string | Expression<string>;
|
|
127
|
-
/** An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability
|
|
128
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
129
|
-
* @default 0
|
|
130
|
-
*/
|
|
131
|
-
topLogprobs?: number | Expression<number>;
|
|
132
|
-
/** Configure the reusable prompt template configured via OpenAI Dashboard. <a href="https://platform.openai.com/docs/guides/prompt-engineering#reusable-prompts">Learn more</a>.
|
|
133
|
-
* @displayOptions.show { /responsesApiEnabled: [true] }
|
|
134
|
-
* @default {"promptOptions":[{"promptId":""}]}
|
|
135
|
-
*/
|
|
136
|
-
promptConfig?: {
|
|
137
|
-
/** Prompt
|
|
138
|
-
*/
|
|
139
|
-
promptOptions?: {
|
|
140
|
-
/** The unique identifier of the prompt template to use
|
|
141
|
-
*/
|
|
142
|
-
promptId?: string | Expression<string>;
|
|
143
|
-
/** Optional version of the prompt template
|
|
144
|
-
*/
|
|
145
|
-
version?: string | Expression<string>;
|
|
146
|
-
/** Variables to be substituted into the prompt template
|
|
147
|
-
* @default {}
|
|
148
|
-
*/
|
|
149
|
-
variables?: IDataObject | string | Expression<string>;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
61
|
};
|
|
153
62
|
}
|
|
154
63
|
|
|
@@ -17,7 +17,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
17
17
|
model: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
18
18
|
responsesApiEnabled: booleanOrExpression.optional(),
|
|
19
19
|
builtInTools: resolveSchema({ parameters, schema: z.object({ webSearch: z.object({ searchContextSize: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional(), allowedDomains: stringOrExpression.optional(), country: stringOrExpression.optional(), city: stringOrExpression.optional(), region: stringOrExpression.optional() }).optional(), fileSearch: z.object({ vectorStoreIds: z.union([iDataObjectSchema, z.string()]).optional(), filters: z.union([iDataObjectSchema, z.string()]).optional(), maxResults: numberOrExpression.optional() }).optional(), codeInterpreter: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"/responsesApiEnabled":[true]}} }),
|
|
20
|
-
options: z.object({
|
|
20
|
+
options: z.object({ frequencyPenalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), responseFormat: z.union([z.literal('text'), z.literal('json_object'), expressionSchema]).optional(), textFormat: z.object({ textOptions: z.object({ type: z.union([z.literal('text'), z.literal('json_schema'), z.literal('json_object'), expressionSchema]).optional(), verbosity: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional(), name: stringOrExpression.optional(), schema: z.union([iDataObjectSchema, z.string()]).optional(), description: stringOrExpression.optional(), strict: booleanOrExpression.optional() }).optional() }).optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), reasoningEffort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional(), timeout: numberOrExpression.optional(), maxRetries: numberOrExpression.optional(), topP: numberOrExpression.optional(), extraBody: z.union([iDataObjectSchema, z.string()]).optional(), conversationId: stringOrExpression.optional(), promptCacheKey: stringOrExpression.optional(), safetyIdentifier: stringOrExpression.optional(), serviceTier: z.union([z.literal('auto'), z.literal('flex'), z.literal('default'), z.literal('priority'), expressionSchema]).optional(), metadata: z.union([iDataObjectSchema, z.string()]).optional(), topLogprobs: numberOrExpression.optional(), promptConfig: z.object({ promptOptions: z.object({ promptId: stringOrExpression.optional(), version: stringOrExpression.optional(), variables: z.union([iDataObjectSchema, z.string()]).optional() }).optional() }).optional() }).optional(),
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// Return combined config schema
|
|
@@ -71,10 +71,6 @@ export interface LcLmChatOpenAiV13Params {
|
|
|
71
71
|
* @default {}
|
|
72
72
|
*/
|
|
73
73
|
options?: {
|
|
74
|
-
/** Override the default base URL for the API
|
|
75
|
-
* @default https://api.openai.com/v1
|
|
76
|
-
*/
|
|
77
|
-
baseURL?: string | Expression<string>;
|
|
78
74
|
/** 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
|
|
79
75
|
* @default 0
|
|
80
76
|
*/
|
|
@@ -83,10 +79,6 @@ export interface LcLmChatOpenAiV13Params {
|
|
|
83
79
|
* @default -1
|
|
84
80
|
*/
|
|
85
81
|
maxTokens?: number | Expression<number>;
|
|
86
|
-
/** Response Format
|
|
87
|
-
* @default text
|
|
88
|
-
*/
|
|
89
|
-
responseFormat?: 'text' | 'json_object' | Expression<string>;
|
|
90
82
|
/** Response Format
|
|
91
83
|
* @displayOptions.show { /responsesApiEnabled: [false] }
|
|
92
84
|
* @default text
|
|
@@ -19,7 +19,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
19
19
|
|
|
20
20
|
// Parameters schema
|
|
21
21
|
const parametersSchema = z.object({
|
|
22
|
-
authentication: z.union([z.literal('none'), z.literal('
|
|
22
|
+
authentication: z.union([z.literal('none'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
24
|
path: stringOrExpression,
|
|
25
25
|
instructions: stringOrExpression.optional(),
|
|
@@ -10,7 +10,7 @@ export interface LcMcpTriggerV1Params {
|
|
|
10
10
|
* @builderHint Default to 'none'. n8n exposes inbound trigger URLs publicly by design. Only select an authentication method when the user explicitly asks to authenticate inbound traffic.
|
|
11
11
|
* @default none
|
|
12
12
|
*/
|
|
13
|
-
authentication?: 'none' | '
|
|
13
|
+
authentication?: 'none' | 'bearerAuth' | 'headerAuth' | Expression<string>;
|
|
14
14
|
/**
|
|
15
15
|
* Whether the triggering user must also have permission to execute the workflow in the project it belongs to
|
|
16
16
|
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
@@ -19,7 +19,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
19
19
|
|
|
20
20
|
// Parameters schema
|
|
21
21
|
const parametersSchema = z.object({
|
|
22
|
-
authentication: z.union([z.literal('none'), z.literal('
|
|
22
|
+
authentication: z.union([z.literal('none'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
24
|
path: stringOrExpression,
|
|
25
25
|
instructions: stringOrExpression.optional(),
|
|
@@ -10,7 +10,7 @@ export interface LcMcpTriggerV11Params {
|
|
|
10
10
|
* @builderHint Default to 'none'. n8n exposes inbound trigger URLs publicly by design. Only select an authentication method when the user explicitly asks to authenticate inbound traffic.
|
|
11
11
|
* @default none
|
|
12
12
|
*/
|
|
13
|
-
authentication?: 'none' | '
|
|
13
|
+
authentication?: 'none' | 'bearerAuth' | 'headerAuth' | Expression<string>;
|
|
14
14
|
/**
|
|
15
15
|
* Whether the triggering user must also have permission to execute the workflow in the project it belongs to
|
|
16
16
|
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
@@ -25,8 +25,9 @@ export type LcMinimaxV1VideoImageToVideoParams = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Public URL of the image to use as first frame (JPG, JPEG, PNG, WebP, <20MB)
|
|
27
27
|
* @displayOptions.show { imageInputType: ["url"] }
|
|
28
|
+
* @required when the displayOptions conditions above match
|
|
28
29
|
*/
|
|
29
|
-
imageUrl
|
|
30
|
+
imageUrl?: string | Expression<string>;
|
|
30
31
|
/**
|
|
31
32
|
* Input Data Field Name
|
|
32
33
|
* @hint The name of the input field containing the binary image data
|
|
@@ -20,8 +20,9 @@ export type LcMinimaxV1VideoTextToVideoParams = {
|
|
|
20
20
|
/**
|
|
21
21
|
* Text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax, e.g. [Push in], [Pan left].
|
|
22
22
|
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
prompt
|
|
25
|
+
prompt?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Duration of the generated video
|
|
27
28
|
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
@@ -25,8 +25,9 @@ export type LcMinimaxV11VideoImageToVideoParams = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Public URL of the image to use as first frame (JPG, JPEG, PNG, WebP, <20MB)
|
|
27
27
|
* @displayOptions.show { imageInputType: ["url"] }
|
|
28
|
+
* @required when the displayOptions conditions above match
|
|
28
29
|
*/
|
|
29
|
-
imageUrl
|
|
30
|
+
imageUrl?: string | Expression<string>;
|
|
30
31
|
/**
|
|
31
32
|
* Input Data Field Name
|
|
32
33
|
* @hint The name of the input field containing the binary image data
|
|
@@ -20,8 +20,9 @@ export type LcMinimaxV11VideoTextToVideoParams = {
|
|
|
20
20
|
/**
|
|
21
21
|
* Text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax, e.g. [Push in], [Pan left].
|
|
22
22
|
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
prompt
|
|
25
|
+
prompt?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Duration of the generated video
|
|
27
28
|
* @displayOptions.show { modelId: ["MiniMax-H3"] }
|
|
@@ -25,8 +25,9 @@ export type LcMinimaxV12VideoImageToVideoParams = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Public URL of the image to use as first frame (JPG, JPEG, PNG, WebP, <20MB)
|
|
27
27
|
* @displayOptions.show { imageInputType: ["url"] }
|
|
28
|
+
* @required when the displayOptions conditions above match
|
|
28
29
|
*/
|
|
29
|
-
imageUrl
|
|
30
|
+
imageUrl?: string | Expression<string>;
|
|
30
31
|
/**
|
|
31
32
|
* Input Data Field Name
|
|
32
33
|
* @hint The name of the input field containing the binary image data
|
|
@@ -20,8 +20,9 @@ export type LcMinimaxV12VideoTextToVideoParams = {
|
|
|
20
20
|
/**
|
|
21
21
|
* Text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax, e.g. [Push in], [Pan left].
|
|
22
22
|
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
23
|
+
* @required when the displayOptions conditions above match
|
|
23
24
|
*/
|
|
24
|
-
prompt
|
|
25
|
+
prompt?: string | Expression<string>;
|
|
25
26
|
/**
|
|
26
27
|
* Duration of the generated video
|
|
27
28
|
* @displayOptions.show { modelId: ["MiniMax-H3"] }
|
|
@@ -32,12 +32,12 @@ export type LcOpenAiV1AssistantCreateParams = {
|
|
|
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>;
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
assistantId: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
26
26
|
prompt: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]).optional(),
|
|
27
27
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"prompt":["define"]}}, defaults: {"prompt":"auto"} }),
|
|
28
|
-
options: z.object({ baseURL: stringOrExpression.optional(), maxRetries: numberOrExpression.optional(), timeout: numberOrExpression.optional()
|
|
28
|
+
options: z.object({ baseURL: stringOrExpression.optional(), maxRetries: numberOrExpression.optional(), timeout: numberOrExpression.optional() }).optional(),
|
|
29
29
|
}).optional(),
|
|
30
30
|
subnodes: subnodesSchema.optional(),
|
|
31
31
|
});
|
|
@@ -45,10 +45,6 @@ export type LcOpenAiV1AssistantMessageParams = {
|
|
|
45
45
|
* @default 10000
|
|
46
46
|
*/
|
|
47
47
|
timeout?: number | Expression<number>;
|
|
48
|
-
/** Whether to preserve the original tools of the assistant after the execution of this node, otherwise the tools will be replaced with the connected tools, if any, default is true
|
|
49
|
-
* @default true
|
|
50
|
-
*/
|
|
51
|
-
preserveOriginalTools?: boolean | Expression<boolean>;
|
|
52
48
|
};
|
|
53
49
|
};
|
|
54
50
|
|
|
@@ -23,7 +23,7 @@ export type LcOpenAiV1AssistantUpdateParams = {
|
|
|
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 LcOpenAiV1AssistantUpdateParams = {
|
|
|
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 LcOpenAiV1ImageGenerateParams = {
|
|
|
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
|