@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
|
@@ -26,7 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
26
26
|
messages: z.object({ values: z.array(z.object({ content: stringOrExpression.optional(), role: z.union([z.literal('user'), z.literal('assistant'), z.literal('system'), expressionSchema]).optional() })).optional() }).optional(),
|
|
27
27
|
simplify: booleanOrExpression.optional(),
|
|
28
28
|
jsonOutput: booleanOrExpression.optional(),
|
|
29
|
-
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional()
|
|
29
|
+
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional() }).optional(),
|
|
30
30
|
}).optional(),
|
|
31
31
|
subnodes: subnodesSchema.optional(),
|
|
32
32
|
});
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_text/operation_message.ts
CHANGED
|
@@ -80,10 +80,6 @@ export type LcOpenAiV1TextMessageParams = {
|
|
|
80
80
|
* @default medium
|
|
81
81
|
*/
|
|
82
82
|
reasoning_effort?: 'low' | 'medium' | 'high' | Expression<string>;
|
|
83
|
-
/** The maximum number of tool iteration cycles the LLM will run before stopping. A single iteration can contain multiple tool calls. Set to 0 for no limit.
|
|
84
|
-
* @default 15
|
|
85
|
-
*/
|
|
86
|
-
maxToolsIterations?: number | Expression<number>;
|
|
87
83
|
};
|
|
88
84
|
};
|
|
89
85
|
|
|
@@ -32,12 +32,12 @@ export type LcOpenAiV11AssistantCreateParams = {
|
|
|
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 LcOpenAiV11AssistantMessageParams = {
|
|
|
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 LcOpenAiV11AssistantUpdateParams = {
|
|
|
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 LcOpenAiV11AssistantUpdateParams = {
|
|
|
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 LcOpenAiV11ImageGenerateParams = {
|
|
|
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
|
|
@@ -26,7 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
26
26
|
messages: z.object({ values: z.array(z.object({ content: stringOrExpression.optional(), role: z.union([z.literal('user'), z.literal('assistant'), z.literal('system'), expressionSchema]).optional() })).optional() }).optional(),
|
|
27
27
|
simplify: booleanOrExpression.optional(),
|
|
28
28
|
jsonOutput: booleanOrExpression.optional(),
|
|
29
|
-
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional()
|
|
29
|
+
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional() }).optional(),
|
|
30
30
|
}).optional(),
|
|
31
31
|
subnodes: subnodesSchema.optional(),
|
|
32
32
|
});
|
|
@@ -80,10 +80,6 @@ export type LcOpenAiV11TextMessageParams = {
|
|
|
80
80
|
* @default medium
|
|
81
81
|
*/
|
|
82
82
|
reasoning_effort?: 'low' | 'medium' | 'high' | Expression<string>;
|
|
83
|
-
/** The maximum number of tool iteration cycles the LLM will run before stopping. A single iteration can contain multiple tool calls. Set to 0 for no limit.
|
|
84
|
-
* @default 15
|
|
85
|
-
*/
|
|
86
|
-
maxToolsIterations?: number | Expression<number>;
|
|
87
83
|
};
|
|
88
84
|
};
|
|
89
85
|
|
|
@@ -32,12 +32,12 @@ export type LcOpenAiV12AssistantCreateParams = {
|
|
|
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 LcOpenAiV12AssistantMessageParams = {
|
|
|
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 LcOpenAiV12AssistantUpdateParams = {
|
|
|
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 LcOpenAiV12AssistantUpdateParams = {
|
|
|
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 LcOpenAiV12ImageGenerateParams = {
|
|
|
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
|
|
@@ -27,7 +27,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
27
27
|
simplify: booleanOrExpression.optional(),
|
|
28
28
|
jsonOutput: booleanOrExpression.optional(),
|
|
29
29
|
hideTools: resolveSchema({ parameters, schema: z.unknown(), required: false, displayOptions: {"show":{"modelId":["gpt-3.5-turbo-16k-0613","dall-e-3","text-embedding-3-large","dall-e-2","whisper-1","tts-1-hd-1106","tts-1-hd","gpt-4-0314","text-embedding-3-small","gpt-4-32k-0314","gpt-3.5-turbo-0301","gpt-4-vision-preview","gpt-3.5-turbo-16k","gpt-3.5-turbo-instruct-0914","tts-1","davinci-002","gpt-3.5-turbo-instruct","babbage-002","tts-1-1106","text-embedding-ada-002"]}}, defaults: {"modelId":{"mode":"list","value":""}} }),
|
|
30
|
-
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional()
|
|
30
|
+
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional() }).optional(),
|
|
31
31
|
}).optional(),
|
|
32
32
|
subnodes: subnodesSchema.optional(),
|
|
33
33
|
});
|
|
@@ -86,10 +86,6 @@ export type LcOpenAiV12TextMessageParams = {
|
|
|
86
86
|
* @default medium
|
|
87
87
|
*/
|
|
88
88
|
reasoning_effort?: 'low' | 'medium' | 'high' | Expression<string>;
|
|
89
|
-
/** The maximum number of tool iteration cycles the LLM will run before stopping. A single iteration can contain multiple tool calls. Set to 0 for no limit.
|
|
90
|
-
* @default 15
|
|
91
|
-
*/
|
|
92
|
-
maxToolsIterations?: number | Expression<number>;
|
|
93
89
|
};
|
|
94
90
|
};
|
|
95
91
|
|
|
@@ -32,12 +32,12 @@ export type LcOpenAiV13AssistantCreateParams = {
|
|
|
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 LcOpenAiV13AssistantUpdateParams = {
|
|
|
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 LcOpenAiV13AssistantUpdateParams = {
|
|
|
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 LcOpenAiV13ImageGenerateParams = {
|
|
|
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
|
|
@@ -27,7 +27,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
27
27
|
simplify: booleanOrExpression.optional(),
|
|
28
28
|
jsonOutput: booleanOrExpression.optional(),
|
|
29
29
|
hideTools: resolveSchema({ parameters, schema: z.unknown(), required: false, displayOptions: {"show":{"modelId":["gpt-3.5-turbo-16k-0613","dall-e-3","text-embedding-3-large","dall-e-2","whisper-1","tts-1-hd-1106","tts-1-hd","gpt-4-0314","text-embedding-3-small","gpt-4-32k-0314","gpt-3.5-turbo-0301","gpt-4-vision-preview","gpt-3.5-turbo-16k","gpt-3.5-turbo-instruct-0914","tts-1","davinci-002","gpt-3.5-turbo-instruct","babbage-002","tts-1-1106","text-embedding-ada-002"]}}, defaults: {"modelId":{"mode":"list","value":""}} }),
|
|
30
|
-
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional()
|
|
30
|
+
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional() }).optional(),
|
|
31
31
|
}).optional(),
|
|
32
32
|
subnodes: subnodesSchema.optional(),
|
|
33
33
|
});
|
|
@@ -86,10 +86,6 @@ export type LcOpenAiV13TextMessageParams = {
|
|
|
86
86
|
* @default medium
|
|
87
87
|
*/
|
|
88
88
|
reasoning_effort?: 'low' | 'medium' | 'high' | Expression<string>;
|
|
89
|
-
/** The maximum number of tool iteration cycles the LLM will run before stopping. A single iteration can contain multiple tool calls. Set to 0 for no limit.
|
|
90
|
-
* @default 15
|
|
91
|
-
*/
|
|
92
|
-
maxToolsIterations?: number | Expression<number>;
|
|
93
89
|
};
|
|
94
90
|
};
|
|
95
91
|
|
|
@@ -32,12 +32,12 @@ export type LcOpenAiV14AssistantCreateParams = {
|
|
|
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 LcOpenAiV14AssistantUpdateParams = {
|
|
|
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 LcOpenAiV14AssistantUpdateParams = {
|
|
|
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 LcOpenAiV14ImageGenerateParams = {
|
|
|
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
|
|
@@ -27,7 +27,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
27
27
|
simplify: booleanOrExpression.optional(),
|
|
28
28
|
jsonOutput: booleanOrExpression.optional(),
|
|
29
29
|
hideTools: resolveSchema({ parameters, schema: z.unknown(), required: false, displayOptions: {"show":{"modelId":["gpt-3.5-turbo-16k-0613","dall-e-3","text-embedding-3-large","dall-e-2","whisper-1","tts-1-hd-1106","tts-1-hd","gpt-4-0314","text-embedding-3-small","gpt-4-32k-0314","gpt-3.5-turbo-0301","gpt-4-vision-preview","gpt-3.5-turbo-16k","gpt-3.5-turbo-instruct-0914","tts-1","davinci-002","gpt-3.5-turbo-instruct","babbage-002","tts-1-1106","text-embedding-ada-002"]}}, defaults: {"modelId":{"mode":"list","value":""}} }),
|
|
30
|
-
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional()
|
|
30
|
+
options: z.object({ frequency_penalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), n: numberOrExpression.optional(), presence_penalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), reasoning_effort: z.union([z.literal('low'), z.literal('medium'), z.literal('high'), expressionSchema]).optional() }).optional(),
|
|
31
31
|
}).optional(),
|
|
32
32
|
subnodes: subnodesSchema.optional(),
|
|
33
33
|
});
|
|
@@ -86,10 +86,6 @@ export type LcOpenAiV14TextMessageParams = {
|
|
|
86
86
|
* @default medium
|
|
87
87
|
*/
|
|
88
88
|
reasoning_effort?: 'low' | 'medium' | 'high' | Expression<string>;
|
|
89
|
-
/** The maximum number of tool iteration cycles the LLM will run before stopping. A single iteration can contain multiple tool calls. Set to 0 for no limit.
|
|
90
|
-
* @default 15
|
|
91
|
-
*/
|
|
92
|
-
maxToolsIterations?: number | Expression<number>;
|
|
93
89
|
};
|
|
94
90
|
};
|
|
95
91
|
|
|
@@ -32,12 +32,12 @@ export type LcOpenAiV15AssistantCreateParams = {
|
|
|
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 LcOpenAiV15AssistantUpdateParams = {
|
|
|
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 LcOpenAiV15AssistantUpdateParams = {
|
|
|
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 LcOpenAiV15ImageGenerateParams = {
|
|
|
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 LcOpenAiV16AssistantCreateParams = {
|
|
|
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 LcOpenAiV16AssistantUpdateParams = {
|
|
|
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 LcOpenAiV16AssistantUpdateParams = {
|
|
|
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>;
|