@n8n/n8n-nodes-langchain 2.40.3 → 2.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/known/nodes.json +4 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_audio/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_audio/operation_transcribe.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_document/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_image/operation_edit.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_image/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_video/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_video/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_audio/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_audio/operation_transcribe.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_document/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_image/operation_edit.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_image/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_video/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_video/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_audio/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_audio/operation_transcribe.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_document/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_image/operation_edit.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_image/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_video/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_video/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAlibabaCloud/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAlibabaCloud/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAlibabaCloud/v11.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAlibabaCloud/v11.ts +67 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v13.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v14.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v15.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v16.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAwsBedrock/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAwsBedrock/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAwsBedrock/v12.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatCohere/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatDatabricks/index.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatDatabricks/v1.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatDatabricks/v1.ts +67 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatDeepSeek/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleGemini/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleGemini/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleGemini/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleGemini/v12.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleGemini/v12.ts +68 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleVertex/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGroq/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v12.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v12.ts +60 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMistralCloud/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMoonshot/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v12.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v13.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenRouter/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatVercelAiGateway/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatXAiGrok/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_audio/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_audio/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_audio/operation_text_to_speech.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_audio/operation_text_to_speech.ts +75 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_image/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_image/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_image/operation_generate.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_image/operation_generate.ts +64 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_text/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_text/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_text/operation_message.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_text/operation_message.ts +83 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/index.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/operation_image_to_video.schema.js +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/operation_image_to_video.ts +122 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/operation_text_to_video.schema.js +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/operation_text_to_video.ts +82 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_text/operation_message.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_text/operation_response.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_video/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_text/operation_response.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_video/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_image/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_text/operation_response.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_video/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_image/operation_analyze.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_image/operation_edit.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_image/operation_generate.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_text/operation_response.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_video/operation_generate.ts +1 -0
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/runAgent.js +2 -0
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/runAgent.js.map +1 -1
- package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.d.ts +10 -0
- package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js +149 -0
- package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js.map +1 -0
- package/dist/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.js +3 -1
- package/dist/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.js.map +1 -1
- package/dist/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.js +2 -1
- package/dist/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.js.map +1 -1
- package/dist/nodes/llms/LMChatOpenAi/common.js +6 -15
- package/dist/nodes/llms/LMChatOpenAi/common.js.map +1 -1
- package/dist/nodes/llms/LmChatAlibabaCloud/LmChatAlibabaCloud.node.js +103 -44
- package/dist/nodes/llms/LmChatAlibabaCloud/LmChatAlibabaCloud.node.js.map +1 -1
- package/dist/nodes/llms/LmChatAwsBedrock/LmChatAwsBedrock.node.js +7 -3
- package/dist/nodes/llms/LmChatAwsBedrock/LmChatAwsBedrock.node.js.map +1 -1
- package/dist/nodes/llms/LmChatCohere/LmChatCohere.node.js +3 -1
- package/dist/nodes/llms/LmChatCohere/LmChatCohere.node.js.map +1 -1
- package/dist/nodes/llms/LmChatDatabricks/LmChatDatabricks.node.d.ts +2 -4
- package/dist/nodes/llms/LmChatDatabricks/LmChatDatabricks.node.js +12 -102
- package/dist/nodes/llms/LmChatDatabricks/LmChatDatabricks.node.js.map +1 -1
- package/dist/nodes/llms/LmChatDeepSeek/LmChatDeepSeek.node.js +3 -1
- package/dist/nodes/llms/LmChatDeepSeek/LmChatDeepSeek.node.js.map +1 -1
- package/dist/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.js +59 -3
- package/dist/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.js.map +1 -1
- package/dist/nodes/llms/LmChatGoogleVertex/LmChatGoogleVertex.node.js +3 -1
- package/dist/nodes/llms/LmChatGoogleVertex/LmChatGoogleVertex.node.js.map +1 -1
- package/dist/nodes/llms/LmChatGroq/LmChatGroq.node.js +2 -1
- package/dist/nodes/llms/LmChatGroq/LmChatGroq.node.js.map +1 -1
- package/dist/nodes/llms/LmChatMinimax/LmChatMinimax.node.d.ts +6 -0
- package/dist/nodes/llms/LmChatMinimax/LmChatMinimax.node.js +43 -5
- package/dist/nodes/llms/LmChatMinimax/LmChatMinimax.node.js.map +1 -1
- package/dist/nodes/llms/LmChatMistralCloud/LmChatMistralCloud.node.js +3 -1
- package/dist/nodes/llms/LmChatMistralCloud/LmChatMistralCloud.node.js.map +1 -1
- package/dist/nodes/llms/LmChatMoonshot/LmChatMoonshot.node.js +3 -1
- package/dist/nodes/llms/LmChatMoonshot/LmChatMoonshot.node.js.map +1 -1
- package/dist/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.js +3 -1
- package/dist/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.js.map +1 -1
- package/dist/nodes/llms/LmChatVercelAiGateway/LmChatVercelAiGateway.node.js +3 -1
- package/dist/nodes/llms/LmChatVercelAiGateway/LmChatVercelAiGateway.node.js.map +1 -1
- package/dist/nodes/llms/LmChatXAiGrok/LmChatXAiGrok.node.js +2 -1
- package/dist/nodes/llms/LmChatXAiGrok/LmChatXAiGrok.node.js.map +1 -1
- package/dist/nodes/vector_store/ChatHubVectorStorePGVector/ChatHubVectorStorePGVector.node.d.ts +12 -3
- package/dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.d.ts +12 -3
- package/dist/nodes/vector_store/ChatHubVectorStoreQdrant/ChatHubVectorStoreQdrant.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreAzureAISearch/VectorStoreAzureAISearch.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreChromaDB/VectorStoreChromaDB.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreInMemory/VectorStoreInMemory.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreMilvus/VectorStoreMilvus.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreMongoDBAtlas/VectorStoreMongoDBAtlas.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreOracleDB/VectorStoreOracleDB.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStorePinecone/VectorStorePinecone.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreQdrant/VectorStoreQdrant.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreSupabase/VectorStoreSupabase.node.d.ts +12 -3
- package/dist/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.d.ts +13 -4
- package/dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.d.ts +12 -3
- package/dist/nodes/vendors/GoogleGemini/actions/descriptions.js +2 -0
- package/dist/nodes/vendors/GoogleGemini/actions/descriptions.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/MiniMax.node.d.ts +4 -0
- package/dist/nodes/vendors/MiniMax/MiniMax.node.js +4 -0
- package/dist/nodes/vendors/MiniMax/MiniMax.node.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js +32 -2
- package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/versionDescription.js +2 -2
- package/dist/nodes/vendors/MiniMax/actions/versionDescription.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/methods/index.d.ts +1 -0
- package/dist/nodes/vendors/MiniMax/methods/index.js +38 -0
- package/dist/nodes/vendors/MiniMax/methods/index.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/methods/listSearch.d.ts +2 -0
- package/dist/nodes/vendors/MiniMax/methods/listSearch.js +18 -0
- package/dist/nodes/vendors/MiniMax/methods/listSearch.js.map +1 -0
- package/dist/nodes/vendors/OpenAi/v1/actions/descriptions.js +2 -0
- package/dist/nodes/vendors/OpenAi/v1/actions/descriptions.js.map +1 -1
- package/dist/nodes/vendors/OpenAi/v2/actions/conversation/create.operation.js +2 -3
- package/dist/nodes/vendors/OpenAi/v2/actions/conversation/create.operation.js.map +1 -1
- package/dist/nodes/vendors/OpenAi/v2/actions/conversation/update.operation.js +2 -3
- package/dist/nodes/vendors/OpenAi/v2/actions/conversation/update.operation.js.map +1 -1
- package/dist/nodes/vendors/OpenAi/v2/actions/descriptions.js +2 -0
- package/dist/nodes/vendors/OpenAi/v2/actions/descriptions.js.map +1 -1
- package/dist/nodes/vendors/OpenAi/v2/actions/text/helpers/responses.js +6 -15
- package/dist/nodes/vendors/OpenAi/v2/actions/text/helpers/responses.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/nodes.json +21 -20
- package/dist/utils/databricks/constants.d.ts +5 -0
- package/dist/utils/databricks/constants.js +20 -0
- package/dist/utils/databricks/constants.js.map +1 -0
- package/dist/{nodes/llms/LmChatDatabricks → utils/databricks}/error-handling.d.ts +1 -1
- package/dist/{nodes/llms/LmChatDatabricks → utils/databricks}/error-handling.js +11 -4
- package/dist/utils/databricks/error-handling.js.map +1 -0
- package/dist/utils/databricks/gateway-config.d.ts +8 -0
- package/dist/utils/databricks/gateway-config.js +52 -0
- package/dist/utils/databricks/gateway-config.js.map +1 -0
- package/dist/utils/databricks/model-services.d.ts +9 -0
- package/dist/utils/databricks/model-services.js +79 -0
- package/dist/utils/databricks/model-services.js.map +1 -0
- package/dist/{nodes/llms/LmChatDatabricks → utils/databricks}/token-provider.d.ts +3 -3
- package/dist/{nodes/llms/LmChatDatabricks → utils/databricks}/token-provider.js +1 -1
- package/dist/utils/databricks/token-provider.js.map +1 -0
- package/dist/utils/helpers.d.ts +1 -0
- package/dist/utils/helpers.js +7 -0
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/model-builder-hints.d.ts +1 -0
- package/dist/utils/model-builder-hints.js +5 -0
- package/dist/utils/model-builder-hints.js.map +1 -0
- package/package.json +11 -9
- package/dist/nodes/llms/LmChatDatabricks/constants.d.ts +0 -1
- package/dist/nodes/llms/LmChatDatabricks/constants.js +0 -10
- package/dist/nodes/llms/LmChatDatabricks/constants.js.map +0 -1
- package/dist/nodes/llms/LmChatDatabricks/error-handling.js.map +0 -1
- package/dist/nodes/llms/LmChatDatabricks/token-provider.js.map +0 -1
- /package/dist/nodes/{llms/LmChatDatabricks → shared/icons}/databricks.dark.svg +0 -0
- /package/dist/nodes/{llms/LmChatDatabricks → shared/icons}/databricks.svg +0 -0
package/dist/known/nodes.json
CHANGED
|
@@ -91,6 +91,10 @@
|
|
|
91
91
|
"className": "EmbeddingsCohere",
|
|
92
92
|
"sourcePath": "dist/nodes/embeddings/EmbeddingsCohere/EmbeddingsCohere.node.js"
|
|
93
93
|
},
|
|
94
|
+
"embeddingsDatabricks": {
|
|
95
|
+
"className": "EmbeddingsDatabricks",
|
|
96
|
+
"sourcePath": "dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js"
|
|
97
|
+
},
|
|
94
98
|
"embeddingsAwsBedrock": {
|
|
95
99
|
"className": "EmbeddingsAwsBedrock",
|
|
96
100
|
"sourcePath": "dist/nodes/embeddings/EmbeddingsAwsBedrock/EmbeddingsAwsBedrock.node.js"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a64afc0363fd99abdebcc07c37a2ab26b0a812ba2dfc5b30c3a322abd36a0b61
|
|
@@ -39,6 +39,7 @@ import type { LcLmChatAnthropicNode } from './nodes/n8n-nodes-langchain/lmChatAn
|
|
|
39
39
|
import type { LcLmChatAwsBedrockNode } from './nodes/n8n-nodes-langchain/lmChatAwsBedrock';
|
|
40
40
|
import type { LcLmChatAzureOpenAiNode } from './nodes/n8n-nodes-langchain/lmChatAzureOpenAi';
|
|
41
41
|
import type { LcLmChatCohereNode } from './nodes/n8n-nodes-langchain/lmChatCohere';
|
|
42
|
+
import type { LcLmChatDatabricksNode } from './nodes/n8n-nodes-langchain/lmChatDatabricks';
|
|
42
43
|
import type { LcLmChatDeepSeekNode } from './nodes/n8n-nodes-langchain/lmChatDeepSeek';
|
|
43
44
|
import type { LcLmChatGoogleGeminiNode } from './nodes/n8n-nodes-langchain/lmChatGoogleGemini';
|
|
44
45
|
import type { LcLmChatGoogleVertexNode } from './nodes/n8n-nodes-langchain/lmChatGoogleVertex';
|
|
@@ -138,6 +139,7 @@ export * from './nodes/n8n-nodes-langchain/lmChatAnthropic';
|
|
|
138
139
|
export * from './nodes/n8n-nodes-langchain/lmChatAwsBedrock';
|
|
139
140
|
export * from './nodes/n8n-nodes-langchain/lmChatAzureOpenAi';
|
|
140
141
|
export * from './nodes/n8n-nodes-langchain/lmChatCohere';
|
|
142
|
+
export * from './nodes/n8n-nodes-langchain/lmChatDatabricks';
|
|
141
143
|
export * from './nodes/n8n-nodes-langchain/lmChatDeepSeek';
|
|
142
144
|
export * from './nodes/n8n-nodes-langchain/lmChatGoogleGemini';
|
|
143
145
|
export * from './nodes/n8n-nodes-langchain/lmChatGoogleVertex';
|
|
@@ -242,6 +244,7 @@ export type KnownNodeType =
|
|
|
242
244
|
| '@n8n/n8n-nodes-langchain.lmChatAzureOpenAi'
|
|
243
245
|
| '@n8n/n8n-nodes-langchain.lmChatAwsBedrock'
|
|
244
246
|
| '@n8n/n8n-nodes-langchain.lmChatCohere'
|
|
247
|
+
| '@n8n/n8n-nodes-langchain.lmChatDatabricks'
|
|
245
248
|
| '@n8n/n8n-nodes-langchain.lmChatDeepSeek'
|
|
246
249
|
| '@n8n/n8n-nodes-langchain.lmChatGoogleGemini'
|
|
247
250
|
| '@n8n/n8n-nodes-langchain.lmChatGoogleVertex'
|
|
@@ -339,6 +342,7 @@ export type AllNodeTypes =
|
|
|
339
342
|
| LcLmChatAwsBedrockNode
|
|
340
343
|
| LcLmChatAzureOpenAiNode
|
|
341
344
|
| LcLmChatCohereNode
|
|
345
|
+
| LcLmChatDatabricksNode
|
|
342
346
|
| LcLmChatDeepSeekNode
|
|
343
347
|
| LcLmChatGoogleGeminiNode
|
|
344
348
|
| LcLmChatGoogleVertexNode
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1AudioAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod audioModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1AudioTranscribeParams = {
|
|
|
14
14
|
operation: 'transcribe';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod audioModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1DocumentAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1ImageAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1ImageEditParams = {
|
|
|
14
14
|
operation: 'edit';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod imageEditModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1ImageGenerateParams = {
|
|
|
14
14
|
operation: 'generate';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod imageGenerationModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1TextMessageParams = {
|
|
|
14
14
|
operation: 'message';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1VideoAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV1VideoGenerateParams = {
|
|
|
14
14
|
operation: 'generate';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod videoGenerationModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11AudioAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod audioModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11AudioTranscribeParams = {
|
|
|
14
14
|
operation: 'transcribe';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod audioModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11DocumentAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11ImageAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11ImageEditParams = {
|
|
|
14
14
|
operation: 'edit';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod imageEditModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11ImageGenerateParams = {
|
|
|
14
14
|
operation: 'generate';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod imageGenerationModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11TextMessageParams = {
|
|
|
14
14
|
operation: 'message';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11VideoAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV11VideoGenerateParams = {
|
|
|
14
14
|
operation: 'generate';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod videoGenerationModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12AudioAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod audioModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12AudioTranscribeParams = {
|
|
|
14
14
|
operation: 'transcribe';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod audioModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12DocumentAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12ImageAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12ImageEditParams = {
|
|
|
14
14
|
operation: 'edit';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod imageEditModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12ImageGenerateParams = {
|
|
|
14
14
|
operation: 'generate';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod imageGenerationModelSearch
|
|
18
19
|
* @default {"mode":"list","value":"models/gemini-3.1-flash-image-preview"}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12TextMessageParams = {
|
|
|
14
14
|
operation: 'message';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":"models/gemini-3-flash-preview"}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12VideoAnalyzeParams = {
|
|
|
14
14
|
operation: 'analyze';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod modelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -14,6 +14,7 @@ export type LcGoogleGeminiV12VideoGenerateParams = {
|
|
|
14
14
|
operation: 'generate';
|
|
15
15
|
/**
|
|
16
16
|
* Model
|
|
17
|
+
* @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.
|
|
17
18
|
* @searchListMethod videoGenerationModelSearch
|
|
18
19
|
* @default {"mode":"list","value":""}
|
|
19
20
|
*/
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { LcLmChatAlibabaCloudV11Node } from './v11';
|
|
7
8
|
import type { LcLmChatAlibabaCloudV1Node } from './v1';
|
|
8
9
|
|
|
10
|
+
export * from './v11';
|
|
9
11
|
export * from './v1';
|
|
10
12
|
|
|
11
13
|
// Combined union type for all versions
|
|
12
|
-
export type LcLmChatAlibabaCloudNode = LcLmChatAlibabaCloudV1Node;
|
|
14
|
+
export type LcLmChatAlibabaCloudNode = LcLmChatAlibabaCloudV11Node | LcLmChatAlibabaCloudV1Node;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatAlibabaCloudV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://www.qwencloud.com/models">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Prefer a stable Qwen model or rolling alias such as qwen-plus when the connected credential offers it. Do not select a preview model by default. 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 qwen-plus
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Qwen Cloud Chat Model Node - Version 1.1 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
model: stringOrExpression.optional(),
|
|
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(), timeout: numberOrExpression.optional(), maxRetries: numberOrExpression.optional(), topP: numberOrExpression.optional() }).optional(),
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// Return combined config schema
|
|
22
|
+
return z.object({
|
|
23
|
+
parameters: parametersSchema.nullable().optional(),
|
|
24
|
+
});
|
|
25
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Qwen Cloud Chat Model Node - Version 1.1
|
|
3
|
+
* For advanced usage with an AI chain
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface LcLmChatAlibabaCloudV11Params {
|
|
8
|
+
/**
|
|
9
|
+
* The model which will generate the completion. <a href="https://www.qwencloud.com/models">Learn more</a>.
|
|
10
|
+
* @builderHint Prefer a stable Qwen model or rolling alias such as qwen-plus when the connected credential offers it. Do not select a preview model by default. 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
|
+
* @default qwen-plus
|
|
12
|
+
*/
|
|
13
|
+
model?: string | Expression<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Additional options to add
|
|
16
|
+
* @default {}
|
|
17
|
+
*/
|
|
18
|
+
options?: {
|
|
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
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
frequencyPenalty?: number | Expression<number>;
|
|
23
|
+
/** The maximum number of tokens to generate in the completion. The limit depends on the selected model.
|
|
24
|
+
* @default -1
|
|
25
|
+
*/
|
|
26
|
+
maxTokens?: number | Expression<number>;
|
|
27
|
+
/** Response Format
|
|
28
|
+
* @default text
|
|
29
|
+
*/
|
|
30
|
+
responseFormat?: 'text' | 'json_object' | Expression<string>;
|
|
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
|
|
32
|
+
* @default 0
|
|
33
|
+
*/
|
|
34
|
+
presencePenalty?: number | Expression<number>;
|
|
35
|
+
/** Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.
|
|
36
|
+
* @default 0.7
|
|
37
|
+
*/
|
|
38
|
+
temperature?: number | Expression<number>;
|
|
39
|
+
/** Maximum amount of time a request is allowed to take in milliseconds
|
|
40
|
+
* @default 360000
|
|
41
|
+
*/
|
|
42
|
+
timeout?: number | Expression<number>;
|
|
43
|
+
/** Maximum number of retries to attempt
|
|
44
|
+
* @default 2
|
|
45
|
+
*/
|
|
46
|
+
maxRetries?: number | Expression<number>;
|
|
47
|
+
/** Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. We generally recommend altering this or temperature but not both.
|
|
48
|
+
* @default 1
|
|
49
|
+
*/
|
|
50
|
+
topP?: number | Expression<number>;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface LcLmChatAlibabaCloudV11Credentials {
|
|
55
|
+
alibabaCloudApi: CredentialReference;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface LcLmChatAlibabaCloudV11NodeBase {
|
|
59
|
+
type: '@n8n/n8n-nodes-langchain.lmChatAlibabaCloud';
|
|
60
|
+
version: 1.1;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type LcLmChatAlibabaCloudV11ParamsNode = LcLmChatAlibabaCloudV11NodeBase & {
|
|
64
|
+
config: NodeConfig<LcLmChatAlibabaCloudV11Params> & { credentials?: LcLmChatAlibabaCloudV11Credentials };
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export type LcLmChatAlibabaCloudV11Node = LcLmChatAlibabaCloudV11ParamsNode;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatAnthropicV13Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model. Choose from the list, or specify an ID. <a href="https://docs.anthropic.com/claude/docs/models-overview">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint When extended thinking is needed, use Adaptive mode and choose an Effort level. 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
|
* @searchListMethod searchModels
|
|
12
12
|
* @default {"mode":"list","value":"claude-sonnet-4-5-20250929","cachedResultName":"Claude Sonnet 4.5"}
|
|
13
13
|
*/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatAnthropicV14Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model. Choose from the list, or specify an ID. <a href="https://docs.anthropic.com/claude/docs/models-overview">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint When extended thinking is needed, use Adaptive mode and choose an Effort level. 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
|
* @searchListMethod searchModels
|
|
12
12
|
* @default {"mode":"list","value":"claude-sonnet-4-6","cachedResultName":"Claude Sonnet 4.6"}
|
|
13
13
|
*/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatAnthropicV15Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model. Choose from the list, or specify an ID. <a href="https://docs.anthropic.com/claude/docs/models-overview">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint When extended thinking is needed, use Adaptive mode and choose an Effort level. 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
|
* @searchListMethod searchModels
|
|
12
12
|
* @default {"mode":"list","value":"claude-sonnet-4-6","cachedResultName":"Claude Sonnet 4.6"}
|
|
13
13
|
*/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatAnthropicV16Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model. Choose from the list, or specify an ID. <a href="https://docs.anthropic.com/claude/docs/models-overview">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint When extended thinking is needed, use Adaptive mode and choose an Effort level. 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
|
* @searchListMethod searchModels
|
|
12
12
|
* @default {"mode":"list","value":"claude-sonnet-5","cachedResultName":"Claude Sonnet 5"}
|
|
13
13
|
*/
|
|
@@ -8,7 +8,7 @@ export interface LcLmChatAwsBedrockV1Params {
|
|
|
8
8
|
authentication?: 'iam' | 'assumeRole' | Expression<string>;
|
|
9
9
|
/**
|
|
10
10
|
* The model which will generate the completion. <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/foundation-models.html">Learn more</a>.
|
|
11
|
-
* @builderHint
|
|
11
|
+
* @builderHint If the chosen model requires an inference profile, use the Inference Profiles picker on a node version that supports it. 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.
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
14
14
|
/**
|
|
@@ -13,7 +13,7 @@ export interface LcLmChatAwsBedrockV11Params {
|
|
|
13
13
|
modelSource?: 'onDemand' | 'inferenceProfile' | Expression<string>;
|
|
14
14
|
/**
|
|
15
15
|
* The model which will generate the completion. <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/foundation-models.html">Learn more</a>.
|
|
16
|
-
* @builderHint
|
|
16
|
+
* @builderHint If the chosen model requires an inference profile, use the Inference Profiles picker on a node version that supports it. 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.
|
|
17
17
|
*/
|
|
18
18
|
model?: string | Expression<string>;
|
|
19
19
|
/**
|
|
@@ -8,7 +8,7 @@ export interface LcLmChatAwsBedrockV12Params {
|
|
|
8
8
|
authentication?: 'iam' | 'assumeRole' | Expression<string>;
|
|
9
9
|
/**
|
|
10
10
|
* The model or inference profile which will generate the completion. <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/foundation-models.html">Learn more</a>.
|
|
11
|
-
* @builderHint
|
|
11
|
+
* @builderHint Use the exact model or inference profile ID returned by the list. Profile IDs can have a global or regional prefix. 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.
|
|
12
12
|
* @loadOptionsMethod listModels
|
|
13
13
|
*/
|
|
14
14
|
model?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatCohereV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://docs.cohere.com/docs/models">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Choose a current Command model from the connected credential's model list. Check tool support when connecting it to an agent. 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 command-a-03-2025
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Chat Model Node Types
|
|
3
|
+
*
|
|
4
|
+
* Re-exports all version-specific types and provides combined union type.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { LcLmChatDatabricksV1Node } from './v1';
|
|
8
|
+
|
|
9
|
+
export * from './v1';
|
|
10
|
+
|
|
11
|
+
// Combined union type for all versions
|
|
12
|
+
export type LcLmChatDatabricksNode = LcLmChatDatabricksV1Node;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Chat Model Node - Version 1 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
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({ frequencyPenalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), responseFormat: z.union([z.literal('text'), z.literal('json_object'), expressionSchema]).optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), timeout: numberOrExpression.optional(), maxRetries: numberOrExpression.optional(), topP: numberOrExpression.optional() }).optional(),
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// Return combined config schema
|
|
22
|
+
return z.object({
|
|
23
|
+
parameters: parametersSchema.nullable().optional(),
|
|
24
|
+
});
|
|
25
|
+
};
|