@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
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Chat Model Node - Version 1
|
|
3
|
+
* For advanced usage with an AI chain
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface LcLmChatDatabricksV1Params {
|
|
8
|
+
/**
|
|
9
|
+
* The Unity AI Gateway model service. Choose from the list, or enter its full name (catalog.schema.service).
|
|
10
|
+
* @searchListMethod searchModels
|
|
11
|
+
* @default {"mode":"list","value":""}
|
|
12
|
+
*/
|
|
13
|
+
model?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: 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. Most models have a context length of 2048 tokens (except for the newest models, which support 32,768).
|
|
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 LcLmChatDatabricksV1Credentials {
|
|
55
|
+
databricksOAuth2Api: CredentialReference;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface LcLmChatDatabricksV1NodeBase {
|
|
59
|
+
type: '@n8n/n8n-nodes-langchain.lmChatDatabricks';
|
|
60
|
+
version: 1;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type LcLmChatDatabricksV1ParamsNode = LcLmChatDatabricksV1NodeBase & {
|
|
64
|
+
config: NodeConfig<LcLmChatDatabricksV1Params> & { credentials?: LcLmChatDatabricksV1Credentials };
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export type LcLmChatDatabricksV1Node = LcLmChatDatabricksV1ParamsNode;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatDeepSeekV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://api-docs.deepseek.com/quick_start/pricing">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Choose deepseek-chat or deepseek-reasoner according to the task. Confirm their current capabilities in the provider documentation instead of assuming a fixed underlying version. 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 deepseek-chat
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { LcLmChatGoogleGeminiV12Node } from './v12';
|
|
7
8
|
import type { LcLmChatGoogleGeminiV11Node } from './v11';
|
|
8
9
|
import type { LcLmChatGoogleGeminiV1Node } from './v1';
|
|
9
10
|
|
|
11
|
+
export * from './v12';
|
|
10
12
|
export * from './v11';
|
|
11
13
|
export * from './v1';
|
|
12
14
|
|
|
13
15
|
// Combined union type for all versions
|
|
14
|
-
export type LcLmChatGoogleGeminiNode = LcLmChatGoogleGeminiV11Node | LcLmChatGoogleGeminiV1Node;
|
|
16
|
+
export type LcLmChatGoogleGeminiNode = LcLmChatGoogleGeminiV12Node | LcLmChatGoogleGeminiV11Node | LcLmChatGoogleGeminiV1Node;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatGoogleGeminiV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://developers.generativeai.google/api/rest/generativelanguage/models/list">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @default models/gemini-2.5-flash
|
|
12
12
|
*/
|
|
13
13
|
modelName?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatGoogleGeminiV11Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://developers.generativeai.google/api/rest/generativelanguage/models/list">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @default models/gemini-3-flash-preview
|
|
12
12
|
*/
|
|
13
13
|
modelName?: string | Expression<string>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Google Gemini Chat Model Node - Version 1.2 - 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 }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
modelName: stringOrExpression.optional(),
|
|
18
|
+
options: z.object({ maxOutputTokens: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topK: numberOrExpression.optional(), topP: numberOrExpression.optional(), safetySettings: z.object({ values: z.array(z.object({ category: z.union([z.literal('HARM_CATEGORY_HARASSMENT'), z.literal('HARM_CATEGORY_HATE_SPEECH'), z.literal('HARM_CATEGORY_SEXUALLY_EXPLICIT'), z.literal('HARM_CATEGORY_DANGEROUS_CONTENT'), expressionSchema]).optional(), threshold: z.union([z.literal('HARM_BLOCK_THRESHOLD_UNSPECIFIED'), z.literal('BLOCK_LOW_AND_ABOVE'), z.literal('BLOCK_MEDIUM_AND_ABOVE'), z.literal('BLOCK_ONLY_HIGH'), z.literal('BLOCK_NONE'), expressionSchema]).optional() })).optional() }).optional() }).optional(),
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// Return combined config schema
|
|
22
|
+
return z.object({
|
|
23
|
+
parameters: parametersSchema.nullable().optional(),
|
|
24
|
+
});
|
|
25
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Google Gemini Chat Model Node - Version 1.2
|
|
3
|
+
* Chat Model Google Gemini
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface LcLmChatGoogleGeminiV12Params {
|
|
8
|
+
/**
|
|
9
|
+
* The model which will generate the completion. <a href="https://developers.generativeai.google/api/rest/generativelanguage/models/list">Learn more</a>.
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
|
+
* @default models/gemini-3-flash-preview
|
|
12
|
+
*/
|
|
13
|
+
modelName?: string | Expression<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Additional options to add
|
|
16
|
+
* @default {}
|
|
17
|
+
*/
|
|
18
|
+
options?: {
|
|
19
|
+
/** The maximum number of tokens to generate in the completion
|
|
20
|
+
* @default 2048
|
|
21
|
+
*/
|
|
22
|
+
maxOutputTokens?: number | Expression<number>;
|
|
23
|
+
/** Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.
|
|
24
|
+
* @default 0.4
|
|
25
|
+
*/
|
|
26
|
+
temperature?: number | Expression<number>;
|
|
27
|
+
/** Used to remove "long tail" low probability responses. Defaults to -1, which disables it.
|
|
28
|
+
* @default 32
|
|
29
|
+
*/
|
|
30
|
+
topK?: number | Expression<number>;
|
|
31
|
+
/** 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.
|
|
32
|
+
* @default 1
|
|
33
|
+
*/
|
|
34
|
+
topP?: number | Expression<number>;
|
|
35
|
+
/** Safety Settings
|
|
36
|
+
* @default {"values":{"category":"HARM_CATEGORY_HARASSMENT","threshold":"HARM_BLOCK_THRESHOLD_UNSPECIFIED"}}
|
|
37
|
+
*/
|
|
38
|
+
safetySettings?: {
|
|
39
|
+
/** Values
|
|
40
|
+
*/
|
|
41
|
+
values?: Array<{
|
|
42
|
+
/** The category of harmful content to block
|
|
43
|
+
* @default HARM_CATEGORY_UNSPECIFIED
|
|
44
|
+
*/
|
|
45
|
+
category?: 'HARM_CATEGORY_HARASSMENT' | 'HARM_CATEGORY_HATE_SPEECH' | 'HARM_CATEGORY_SEXUALLY_EXPLICIT' | 'HARM_CATEGORY_DANGEROUS_CONTENT' | Expression<string>;
|
|
46
|
+
/** The threshold of harmful content to block
|
|
47
|
+
* @default HARM_BLOCK_THRESHOLD_UNSPECIFIED
|
|
48
|
+
*/
|
|
49
|
+
threshold?: 'HARM_BLOCK_THRESHOLD_UNSPECIFIED' | 'BLOCK_LOW_AND_ABOVE' | 'BLOCK_MEDIUM_AND_ABOVE' | 'BLOCK_ONLY_HIGH' | 'BLOCK_NONE' | Expression<string>;
|
|
50
|
+
}>;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface LcLmChatGoogleGeminiV12Credentials {
|
|
56
|
+
googlePalmApi: CredentialReference;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface LcLmChatGoogleGeminiV12NodeBase {
|
|
60
|
+
type: '@n8n/n8n-nodes-langchain.lmChatGoogleGemini';
|
|
61
|
+
version: 1.2;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type LcLmChatGoogleGeminiV12ParamsNode = LcLmChatGoogleGeminiV12NodeBase & {
|
|
65
|
+
config: NodeConfig<LcLmChatGoogleGeminiV12Params> & { credentials?: LcLmChatGoogleGeminiV12Credentials };
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export type LcLmChatGoogleGeminiV12Node = LcLmChatGoogleGeminiV12ParamsNode;
|
|
@@ -13,7 +13,7 @@ export interface LcLmChatGoogleVertexV1Params {
|
|
|
13
13
|
projectId?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
14
14
|
/**
|
|
15
15
|
* The model which will generate the completion. <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models">Learn more</a>.
|
|
16
|
-
* @builderHint
|
|
16
|
+
* @builderHint Choose a stable Gemini model from the Vertex model list for the configured project and location. Do not copy Gemini API model IDs into Vertex without checking the list. 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
|
* @default gemini-2.5-flash
|
|
18
18
|
*/
|
|
19
19
|
modelName?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatGroqV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://console.groq.com/docs/models">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @default llama3-8b-8192
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { LcLmChatMinimaxV12Node } from './v12';
|
|
7
8
|
import type { LcLmChatMinimaxV11Node } from './v11';
|
|
8
9
|
import type { LcLmChatMinimaxV1Node } from './v1';
|
|
9
10
|
|
|
11
|
+
export * from './v12';
|
|
10
12
|
export * from './v11';
|
|
11
13
|
export * from './v1';
|
|
12
14
|
|
|
13
15
|
// Combined union type for all versions
|
|
14
|
-
export type LcLmChatMinimaxNode = LcLmChatMinimaxV11Node | LcLmChatMinimaxV1Node;
|
|
16
|
+
export type LcLmChatMinimaxNode = LcLmChatMinimaxV12Node | LcLmChatMinimaxV11Node | LcLmChatMinimaxV1Node;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatMinimaxV11Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://platform.minimax.io/docs/api-reference/text-openai-api">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Choose a model from this node version's supported options. 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 MiniMax-M3
|
|
12
12
|
*/
|
|
13
13
|
model?: 'MiniMax-M2' | 'MiniMax-M2.1' | 'MiniMax-M2.1-highspeed' | 'MiniMax-M2.5' | 'MiniMax-M2.5-highspeed' | 'MiniMax-M2.7' | 'MiniMax-M2.7-highspeed' | 'MiniMax-M3' | Expression<string>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Chat Model Node - Version 1.2 - 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 }) {
|
|
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({ hideThinking: booleanOrExpression.optional(), maxTokens: 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,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Chat Model Node - Version 1.2
|
|
3
|
+
* For advanced usage with an AI chain
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface LcLmChatMinimaxV12Params {
|
|
8
|
+
/**
|
|
9
|
+
* The model which will generate the completion. <a href="https://platform.minimax.io/docs/api-reference/text-openai-api">Learn more</a>.
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
|
+
* @searchListMethod modelSearch
|
|
12
|
+
* @default {"mode":"list","value":"MiniMax-M3"}
|
|
13
|
+
*/
|
|
14
|
+
model?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
|
+
/**
|
|
16
|
+
* Additional options to add
|
|
17
|
+
* @default {}
|
|
18
|
+
*/
|
|
19
|
+
options?: {
|
|
20
|
+
/** Whether to strip chain-of-thought reasoning from the response, returning only the final answer
|
|
21
|
+
* @default true
|
|
22
|
+
*/
|
|
23
|
+
hideThinking?: boolean | Expression<boolean>;
|
|
24
|
+
/** The maximum number of tokens to generate in the completion. The limit depends on the selected model.
|
|
25
|
+
* @default -1
|
|
26
|
+
*/
|
|
27
|
+
maxTokens?: number | Expression<number>;
|
|
28
|
+
/** Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.
|
|
29
|
+
* @default 0.7
|
|
30
|
+
*/
|
|
31
|
+
temperature?: number | Expression<number>;
|
|
32
|
+
/** Maximum amount of time a request is allowed to take in milliseconds
|
|
33
|
+
* @default 360000
|
|
34
|
+
*/
|
|
35
|
+
timeout?: number | Expression<number>;
|
|
36
|
+
/** Maximum number of retries to attempt
|
|
37
|
+
* @default 2
|
|
38
|
+
*/
|
|
39
|
+
maxRetries?: number | Expression<number>;
|
|
40
|
+
/** 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.
|
|
41
|
+
* @default 1
|
|
42
|
+
*/
|
|
43
|
+
topP?: number | Expression<number>;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface LcLmChatMinimaxV12Credentials {
|
|
48
|
+
minimaxApi: CredentialReference;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
interface LcLmChatMinimaxV12NodeBase {
|
|
52
|
+
type: '@n8n/n8n-nodes-langchain.lmChatMinimax';
|
|
53
|
+
version: 1.2;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type LcLmChatMinimaxV12ParamsNode = LcLmChatMinimaxV12NodeBase & {
|
|
57
|
+
config: NodeConfig<LcLmChatMinimaxV12Params> & { credentials?: LcLmChatMinimaxV12Credentials };
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export type LcLmChatMinimaxV12Node = LcLmChatMinimaxV12ParamsNode;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatMistralCloudV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://docs.mistral.ai/platform/endpoints/">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Prefer a stable Mistral model or rolling alias from the connected credential's model list. 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 mistral-small
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatMoonshotV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://platform.kimi.ai/docs/api/chat">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Choose a current Kimi model from the connected credential's model list. 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 kimi-k2.5
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatOpenAiV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://beta.openai.com/docs/models/overview">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @default gpt-5-mini
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatOpenAiV11Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://beta.openai.com/docs/models/overview">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @default gpt-5-mini
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatOpenAiV12Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model. Choose from the list, or specify an ID.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @searchListMethod searchModels
|
|
12
12
|
* @default {"mode":"list","value":"gpt-5-mini"}
|
|
13
13
|
*/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatOpenAiV13Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model. Choose from the list, or specify an ID.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @searchListMethod searchModels
|
|
12
12
|
* @default {"mode":"list","value":"gpt-5-mini"}
|
|
13
13
|
*/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatOpenRouterV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://openrouter.ai/docs/models">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Use the exact provider-prefixed ID returned by OpenRouter. Do not construct an OpenRouter ID from another provider's model name. 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 openai/gpt-4.1-mini
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatVercelAiGatewayV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Use the exact provider-prefixed ID returned by Vercel AI Gateway. Do not assume it serves every model from the underlying provider. 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 openai/gpt-4o
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export interface LcLmChatXAiGrokV1Params {
|
|
8
8
|
/**
|
|
9
9
|
* The model which will generate the completion. <a href="https://docs.x.ai/docs/models">Learn more</a>.
|
|
10
|
-
* @builderHint
|
|
10
|
+
* @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
|
|
11
11
|
* @default grok-2-vision-1212
|
|
12
12
|
*/
|
|
13
13
|
model?: string | Expression<string>;
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { LcMinimaxV12Node } from './v12';
|
|
7
8
|
import type { LcMinimaxV11Node } from './v11';
|
|
8
9
|
import type { LcMinimaxV1Node } from './v1';
|
|
9
10
|
|
|
11
|
+
export * from './v12';
|
|
10
12
|
export * from './v11';
|
|
11
13
|
export * from './v1';
|
|
12
14
|
|
|
13
15
|
// Combined union type for all versions
|
|
14
|
-
export type LcMinimaxNode = LcMinimaxV11Node | LcMinimaxV1Node;
|
|
16
|
+
export type LcMinimaxNode = LcMinimaxV12Node | LcMinimaxV11Node | LcMinimaxV1Node;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Node - Version 1.2 - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all discriminator schemas.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getAudioSchema = require('./resource_audio/index.schema');
|
|
12
|
+
const getImageSchema = require('./resource_image/index.schema');
|
|
13
|
+
const getTextSchema = require('./resource_text/index.schema');
|
|
14
|
+
const getVideoSchema = require('./resource_video/index.schema');
|
|
15
|
+
|
|
16
|
+
module.exports = function getSchema(helpers) {
|
|
17
|
+
const { parameters, z } = helpers;
|
|
18
|
+
// Apply discriminator default if not set
|
|
19
|
+
const effectiveParams = parameters.resource === undefined ? { ...parameters, resource: 'text' } : parameters;
|
|
20
|
+
return z.union([
|
|
21
|
+
getAudioSchema({ ...helpers, parameters: effectiveParams }),
|
|
22
|
+
getImageSchema({ ...helpers, parameters: effectiveParams }),
|
|
23
|
+
getTextSchema({ ...helpers, parameters: effectiveParams }),
|
|
24
|
+
getVideoSchema({ ...helpers, parameters: effectiveParams }),
|
|
25
|
+
]);
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Node - Version 1.2
|
|
3
|
+
* Re-exports all discriminator combinations.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { LcMinimaxV12AudioNode } from './resource_audio';
|
|
7
|
+
import type { LcMinimaxV12ImageNode } from './resource_image';
|
|
8
|
+
import type { LcMinimaxV12TextNode } from './resource_text';
|
|
9
|
+
import type { LcMinimaxV12VideoNode } from './resource_video';
|
|
10
|
+
|
|
11
|
+
export * from './resource_audio';
|
|
12
|
+
export * from './resource_image';
|
|
13
|
+
export * from './resource_text';
|
|
14
|
+
export * from './resource_video';
|
|
15
|
+
|
|
16
|
+
export type LcMinimaxV12Node =
|
|
17
|
+
| LcMinimaxV12AudioNode
|
|
18
|
+
| LcMinimaxV12ImageNode
|
|
19
|
+
| LcMinimaxV12TextNode
|
|
20
|
+
| LcMinimaxV12VideoNode
|
|
21
|
+
;
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_audio/index.schema.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax - Audio Resource - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all operation schemas for this resource.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getTextToSpeechSchema = require('./operation_text_to_speech.schema');
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema(helpers) {
|
|
14
|
+
const { parameters, z } = helpers;
|
|
15
|
+
// Apply operation default if not set
|
|
16
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'textToSpeech' } : parameters;
|
|
17
|
+
return getTextToSpeechSchema({ ...helpers, parameters: effectiveParams });
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax - Audio Resource
|
|
3
|
+
* Re-exports all operation types for this resource.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { LcMinimaxV12AudioTextToSpeechNode } from './operation_text_to_speech';
|
|
7
|
+
|
|
8
|
+
export * from './operation_text_to_speech';
|
|
9
|
+
|
|
10
|
+
export type LcMinimaxV12AudioNode = LcMinimaxV12AudioTextToSpeechNode;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Node - Version 1.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=audio, operation=textToSpeech
|
|
4
|
+
*
|
|
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, toolInstanceSchema }) {
|
|
14
|
+
|
|
15
|
+
// Static subnode schema
|
|
16
|
+
const subnodesSchema = z.object({
|
|
17
|
+
tools: z.array(toolInstanceSchema).optional(),
|
|
18
|
+
}).strict();
|
|
19
|
+
|
|
20
|
+
return z.object({
|
|
21
|
+
parameters: z.object({
|
|
22
|
+
resource: z.literal('audio'),
|
|
23
|
+
operation: z.literal('textToSpeech').default('textToSpeech'),
|
|
24
|
+
modelId: z.union([z.literal('speech-02-hd'), z.literal('speech-02-turbo'), z.literal('speech-2.6-hd'), z.literal('speech-2.6-turbo'), z.literal('speech-2.8-hd'), z.literal('speech-2.8-turbo'), expressionSchema]).optional(),
|
|
25
|
+
text: stringOrExpression,
|
|
26
|
+
voiceId: stringOrExpression.optional(),
|
|
27
|
+
downloadAudio: booleanOrExpression.optional(),
|
|
28
|
+
options: z.object({ audioFormat: z.union([z.literal('mp3'), z.literal('pcm'), z.literal('flac'), z.literal('wav'), expressionSchema]).optional(), emotion: z.union([z.literal('angry'), z.literal('calm'), z.literal('disgusted'), z.literal('fearful'), z.literal('happy'), z.literal('sad'), z.literal('surprised'), expressionSchema]).optional(), languageBoost: z.union([z.literal('Arabic'), z.literal('auto'), z.literal('Chinese'), z.literal('English'), z.literal('French'), z.literal('German'), z.literal('Indonesian'), z.literal('Italian'), z.literal('Japanese'), z.literal('Korean'), z.literal('Portuguese'), z.literal('Russian'), z.literal('Spanish'), z.literal('Thai'), z.literal('Turkish'), z.literal('Vietnamese'), expressionSchema]).optional(), pitch: numberOrExpression.optional(), speed: numberOrExpression.optional(), volume: numberOrExpression.optional() }).optional(),
|
|
29
|
+
}).optional(),
|
|
30
|
+
subnodes: subnodesSchema.optional(),
|
|
31
|
+
});
|
|
32
|
+
};
|