@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
|
@@ -2,15 +2,24 @@ import type { IExecuteFunctions, ISupplyDataFunctions } from 'n8n-workflow';
|
|
|
2
2
|
declare const VectorStoreOracleDB_base: new () => {
|
|
3
3
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
4
4
|
methods: {
|
|
5
|
+
loadOptions?: {
|
|
6
|
+
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
7
|
+
};
|
|
5
8
|
listSearch?: {
|
|
6
9
|
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
7
10
|
};
|
|
8
|
-
actionHandler?: {
|
|
9
|
-
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
10
|
-
};
|
|
11
11
|
credentialTest?: {
|
|
12
12
|
[functionName: string]: import("n8n-workflow").ICredentialTestFunction;
|
|
13
13
|
};
|
|
14
|
+
resourceMapping?: {
|
|
15
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
16
|
+
};
|
|
17
|
+
localResourceMapping?: {
|
|
18
|
+
[functionName: string]: (this: import("n8n-workflow").ILocalLoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
19
|
+
};
|
|
20
|
+
actionHandler?: {
|
|
21
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
22
|
+
};
|
|
14
23
|
} | undefined;
|
|
15
24
|
execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
16
25
|
supplyData(this: ISupplyDataFunctions, itemIndex: number): Promise<import("n8n-workflow").SupplyData>;
|
|
@@ -15,15 +15,24 @@ export declare class ExtendedPGVectorStore extends PGVectorStore {
|
|
|
15
15
|
declare const VectorStorePGVector_base: new () => {
|
|
16
16
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
17
17
|
methods: {
|
|
18
|
+
loadOptions?: {
|
|
19
|
+
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
20
|
+
};
|
|
18
21
|
listSearch?: {
|
|
19
22
|
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
20
23
|
};
|
|
21
|
-
actionHandler?: {
|
|
22
|
-
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
23
|
-
};
|
|
24
24
|
credentialTest?: {
|
|
25
25
|
[functionName: string]: import("n8n-workflow").ICredentialTestFunction;
|
|
26
26
|
};
|
|
27
|
+
resourceMapping?: {
|
|
28
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
29
|
+
};
|
|
30
|
+
localResourceMapping?: {
|
|
31
|
+
[functionName: string]: (this: import("n8n-workflow").ILocalLoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
32
|
+
};
|
|
33
|
+
actionHandler?: {
|
|
34
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
35
|
+
};
|
|
27
36
|
} | undefined;
|
|
28
37
|
execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
29
38
|
supplyData(this: ISupplyDataFunctions, itemIndex: number): Promise<import("n8n-workflow").SupplyData>;
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
declare const VectorStorePinecone_base: new () => {
|
|
2
2
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
3
3
|
methods: {
|
|
4
|
+
loadOptions?: {
|
|
5
|
+
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
6
|
+
};
|
|
4
7
|
listSearch?: {
|
|
5
8
|
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
6
9
|
};
|
|
7
|
-
actionHandler?: {
|
|
8
|
-
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
9
|
-
};
|
|
10
10
|
credentialTest?: {
|
|
11
11
|
[functionName: string]: import("n8n-workflow").ICredentialTestFunction;
|
|
12
12
|
};
|
|
13
|
+
resourceMapping?: {
|
|
14
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
15
|
+
};
|
|
16
|
+
localResourceMapping?: {
|
|
17
|
+
[functionName: string]: (this: import("n8n-workflow").ILocalLoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
18
|
+
};
|
|
19
|
+
actionHandler?: {
|
|
20
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
21
|
+
};
|
|
13
22
|
} | undefined;
|
|
14
23
|
execute(this: import("n8n-workflow").IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
15
24
|
supplyData(this: import("n8n-workflow").ISupplyDataFunctions, itemIndex: number): Promise<import("n8n-workflow").SupplyData>;
|
|
@@ -2,15 +2,24 @@ import { type IDataObject } from 'n8n-workflow';
|
|
|
2
2
|
declare const VectorStoreQdrant_base: new () => {
|
|
3
3
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
4
4
|
methods: {
|
|
5
|
+
loadOptions?: {
|
|
6
|
+
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
7
|
+
};
|
|
5
8
|
listSearch?: {
|
|
6
9
|
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
7
10
|
};
|
|
8
|
-
actionHandler?: {
|
|
9
|
-
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
10
|
-
};
|
|
11
11
|
credentialTest?: {
|
|
12
12
|
[functionName: string]: import("n8n-workflow").ICredentialTestFunction;
|
|
13
13
|
};
|
|
14
|
+
resourceMapping?: {
|
|
15
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
16
|
+
};
|
|
17
|
+
localResourceMapping?: {
|
|
18
|
+
[functionName: string]: (this: import("n8n-workflow").ILocalLoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
19
|
+
};
|
|
20
|
+
actionHandler?: {
|
|
21
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
22
|
+
};
|
|
14
23
|
} | undefined;
|
|
15
24
|
execute(this: import("n8n-workflow").IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
16
25
|
supplyData(this: import("n8n-workflow").ISupplyDataFunctions, itemIndex: number): Promise<import("n8n-workflow").SupplyData>;
|
|
@@ -17,15 +17,24 @@ export declare function getParameterAsNumber(key: string, context: IFunctionsCon
|
|
|
17
17
|
declare const VectorStoreRedis_base: new () => {
|
|
18
18
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
19
19
|
methods: {
|
|
20
|
+
loadOptions?: {
|
|
21
|
+
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
22
|
+
};
|
|
20
23
|
listSearch?: {
|
|
21
24
|
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
22
25
|
};
|
|
23
|
-
actionHandler?: {
|
|
24
|
-
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
25
|
-
};
|
|
26
26
|
credentialTest?: {
|
|
27
27
|
[functionName: string]: import("n8n-workflow").ICredentialTestFunction;
|
|
28
28
|
};
|
|
29
|
+
resourceMapping?: {
|
|
30
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
31
|
+
};
|
|
32
|
+
localResourceMapping?: {
|
|
33
|
+
[functionName: string]: (this: import("n8n-workflow").ILocalLoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
34
|
+
};
|
|
35
|
+
actionHandler?: {
|
|
36
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
37
|
+
};
|
|
29
38
|
} | undefined;
|
|
30
39
|
execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
31
40
|
supplyData(this: ISupplyDataFunctions, itemIndex: number): Promise<import("n8n-workflow").SupplyData>;
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
declare const VectorStoreSupabase_base: new () => {
|
|
2
2
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
3
3
|
methods: {
|
|
4
|
+
loadOptions?: {
|
|
5
|
+
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
6
|
+
};
|
|
4
7
|
listSearch?: {
|
|
5
8
|
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
6
9
|
};
|
|
7
|
-
actionHandler?: {
|
|
8
|
-
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
9
|
-
};
|
|
10
10
|
credentialTest?: {
|
|
11
11
|
[functionName: string]: import("n8n-workflow").ICredentialTestFunction;
|
|
12
12
|
};
|
|
13
|
+
resourceMapping?: {
|
|
14
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
15
|
+
};
|
|
16
|
+
localResourceMapping?: {
|
|
17
|
+
[functionName: string]: (this: import("n8n-workflow").ILocalLoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
18
|
+
};
|
|
19
|
+
actionHandler?: {
|
|
20
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
21
|
+
};
|
|
13
22
|
} | undefined;
|
|
14
23
|
execute(this: import("n8n-workflow").IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
15
24
|
supplyData(this: import("n8n-workflow").ISupplyDataFunctions, itemIndex: number): Promise<import("n8n-workflow").SupplyData>;
|
|
@@ -1,16 +1,25 @@
|
|
|
1
|
-
import { type IDataObject } from 'n8n-workflow';
|
|
1
|
+
import { type IDataObject, type INodePropertyOptions } from 'n8n-workflow';
|
|
2
2
|
declare const VectorStoreWeaviate_base: new () => {
|
|
3
3
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
4
4
|
methods: {
|
|
5
|
+
loadOptions?: {
|
|
6
|
+
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
7
|
+
};
|
|
5
8
|
listSearch?: {
|
|
6
9
|
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
7
10
|
};
|
|
8
|
-
actionHandler?: {
|
|
9
|
-
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
10
|
-
};
|
|
11
11
|
credentialTest?: {
|
|
12
12
|
[functionName: string]: import("n8n-workflow").ICredentialTestFunction;
|
|
13
13
|
};
|
|
14
|
+
resourceMapping?: {
|
|
15
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
16
|
+
};
|
|
17
|
+
localResourceMapping?: {
|
|
18
|
+
[functionName: string]: (this: import("n8n-workflow").ILocalLoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
19
|
+
};
|
|
20
|
+
actionHandler?: {
|
|
21
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
22
|
+
};
|
|
14
23
|
} | undefined;
|
|
15
24
|
execute(this: import("n8n-workflow").IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
16
25
|
supplyData(this: import("n8n-workflow").ISupplyDataFunctions, itemIndex: number): Promise<import("n8n-workflow").SupplyData>;
|
|
@@ -2,15 +2,24 @@ import type { IDataObject } from 'n8n-workflow';
|
|
|
2
2
|
declare const VectorStoreZep_base: new () => {
|
|
3
3
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
4
4
|
methods: {
|
|
5
|
+
loadOptions?: {
|
|
6
|
+
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
7
|
+
};
|
|
5
8
|
listSearch?: {
|
|
6
9
|
[key: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
7
10
|
};
|
|
8
|
-
actionHandler?: {
|
|
9
|
-
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
10
|
-
};
|
|
11
11
|
credentialTest?: {
|
|
12
12
|
[functionName: string]: import("n8n-workflow").ICredentialTestFunction;
|
|
13
13
|
};
|
|
14
|
+
resourceMapping?: {
|
|
15
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
16
|
+
};
|
|
17
|
+
localResourceMapping?: {
|
|
18
|
+
[functionName: string]: (this: import("n8n-workflow").ILocalLoadOptionsFunctions) => Promise<import("n8n-workflow").ResourceMapperFields>;
|
|
19
|
+
};
|
|
20
|
+
actionHandler?: {
|
|
21
|
+
[functionName: string]: (this: import("n8n-workflow").ILoadOptionsFunctions, payload: import("n8n-workflow").IDataObject | string | undefined) => Promise<import("n8n-workflow").NodeParameterValueType>;
|
|
22
|
+
};
|
|
14
23
|
} | undefined;
|
|
15
24
|
execute(this: import("n8n-workflow").IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
16
25
|
supplyData(this: import("n8n-workflow").ISupplyDataFunctions, itemIndex: number): Promise<import("n8n-workflow").SupplyData>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.modelRLC = void 0;
|
|
4
|
+
const model_builder_hints_1 = require("../../../../utils/model-builder-hints");
|
|
4
5
|
const modelRLC = (searchListMethod) => ({
|
|
5
6
|
displayName: 'Model',
|
|
6
7
|
name: 'modelId',
|
|
8
|
+
builderHint: { propertyHint: model_builder_hints_1.MODEL_SELECTION_HINT },
|
|
7
9
|
type: 'resourceLocator',
|
|
8
10
|
default: { mode: 'list', value: '' },
|
|
9
11
|
typeOptions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../../nodes/vendors/GoogleGemini/actions/descriptions.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../../nodes/vendors/GoogleGemini/actions/descriptions.ts"],"names":[],"mappings":";;;AAEA,oEAAkE;AAE3D,MAAM,QAAQ,GAAG,CAAC,gBAAwB,EAAmB,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,EAAE,YAAY,EAAE,0CAAoB,EAAE;IACnD,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,WAAW,EAAE;QACZ,oBAAoB,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC;KAC/C;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACN;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,gBAAgB;gBAChB,UAAU,EAAE,IAAI;aAChB;SACD;QACD;YACC,WAAW,EAAE,IAAI;YACjB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mCAAmC;SAChD;KACD;CACD,CAAC,CAAC;AA3BU,QAAA,QAAQ,GAAR,QAAQ,CA2BlB"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeType } from 'n8n-workflow';
|
|
2
|
+
import { listSearch } from './methods';
|
|
2
3
|
export declare class MiniMax implements INodeType {
|
|
3
4
|
description: import("n8n-workflow").INodeTypeDescription;
|
|
5
|
+
methods: {
|
|
6
|
+
listSearch: typeof listSearch;
|
|
7
|
+
};
|
|
4
8
|
execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
5
9
|
}
|
|
@@ -3,9 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MiniMax = void 0;
|
|
4
4
|
const router_1 = require("./actions/router");
|
|
5
5
|
const versionDescription_1 = require("./actions/versionDescription");
|
|
6
|
+
const methods_1 = require("./methods");
|
|
6
7
|
class MiniMax {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.description = versionDescription_1.versionDescription;
|
|
10
|
+
this.methods = {
|
|
11
|
+
listSearch: methods_1.listSearch,
|
|
12
|
+
};
|
|
9
13
|
}
|
|
10
14
|
async execute() {
|
|
11
15
|
return await router_1.router.call(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MiniMax.node.js","sourceRoot":"","sources":["../../../../nodes/vendors/MiniMax/MiniMax.node.ts"],"names":[],"mappings":";;;AAEA,6CAA0C;AAC1C,qEAAkE;
|
|
1
|
+
{"version":3,"file":"MiniMax.node.js","sourceRoot":"","sources":["../../../../nodes/vendors/MiniMax/MiniMax.node.ts"],"names":[],"mappings":";;;AAEA,6CAA0C;AAC1C,qEAAkE;AAClE,uCAAuC;AAEvC;IAAA;QACC,gBAAW,GAAG,uCAAkB,CAAC;QAEjC,YAAO,GAAG;YACT,UAAU,EAAV,oBAAU;SACV,CAAC;IAKH,CAAC;IAHA,KAAK,CAAC,OAAO;QACZ,OAAO,MAAM,eAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;CACD"}
|
|
@@ -33,7 +33,37 @@ const properties = [
|
|
|
33
33
|
description: 'The model to use for generating the response',
|
|
34
34
|
displayOptions: {
|
|
35
35
|
show: {
|
|
36
|
-
'@version': [
|
|
36
|
+
'@version': [1.1],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
displayName: 'Model',
|
|
42
|
+
name: 'modelId',
|
|
43
|
+
type: 'resourceLocator',
|
|
44
|
+
default: { mode: 'list', value: 'MiniMax-M3' },
|
|
45
|
+
required: true,
|
|
46
|
+
description: 'The model to use for generating the response',
|
|
47
|
+
modes: [
|
|
48
|
+
{
|
|
49
|
+
displayName: 'From List',
|
|
50
|
+
name: 'list',
|
|
51
|
+
type: 'list',
|
|
52
|
+
typeOptions: {
|
|
53
|
+
searchListMethod: 'modelSearch',
|
|
54
|
+
searchable: true,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'ID',
|
|
59
|
+
name: 'id',
|
|
60
|
+
type: 'string',
|
|
61
|
+
placeholder: 'e.g. MiniMax-M3',
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
displayOptions: {
|
|
65
|
+
show: {
|
|
66
|
+
'@version': [{ _cnd: { gte: 1.2 } }],
|
|
37
67
|
},
|
|
38
68
|
},
|
|
39
69
|
},
|
|
@@ -171,7 +201,7 @@ const displayOptions = {
|
|
|
171
201
|
};
|
|
172
202
|
exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
173
203
|
async function execute(i) {
|
|
174
|
-
const model = this.getNodeParameter('modelId', i);
|
|
204
|
+
const model = this.getNodeParameter('modelId', i, '', { extractValue: true });
|
|
175
205
|
const rawMessages = this.getNodeParameter('messages.values', i, []);
|
|
176
206
|
const simplify = this.getNodeParameter('simplify', i, true);
|
|
177
207
|
const options = this.getNodeParameter('options', i, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.operation.js","sourceRoot":"","sources":["../../../../../../nodes/vendors/MiniMax/actions/text/message.operation.ts"],"names":[],"mappings":";;;;;;;AAOA,+CAAqF;AACrF,4EAAiD;AAEjD,4CAAmD;AAQnD,6DAAqE;AACrE,+CAA6C;AAE7C,MAAM,UAAU,GAAsB;IACrC;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,sCAAuB,CAAC,EAAE;QACnC,OAAO,EAAE,cAAc;QACvB,WAAW,EAAE,8CAA8C;QAC3D,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,UAAU,EAAE,CAAC,CAAC,CAAC;aACf;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,sCAAuB,CAAC,IAAI;QACrC,OAAO,EAAE,YAAY;QACrB,WAAW,EAAE,8CAA8C;QAC3D,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,E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E,kCAAkC;aAC/C;SACD;KACD;CACD,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,SAAS,EAAE,CAAC,SAAS,CAAC;QACtB,QAAQ,EAAE,CAAC,MAAM,CAAC;KAClB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAUrE,KAAK,kBAA2C,CAAS;IAC/D,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"message.operation.js","sourceRoot":"","sources":["../../../../../../nodes/vendors/MiniMax/actions/text/message.operation.ts"],"names":[],"mappings":";;;;;;;AAOA,+CAAqF;AACrF,4EAAiD;AAEjD,4CAAmD;AAQnD,6DAAqE;AACrE,+CAA6C;AAE7C,MAAM,UAAU,GAAsB;IACrC;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,sCAAuB,CAAC,EAAE;QACnC,OAAO,EAAE,cAAc;QACvB,WAAW,EAAE,8CAA8C;QAC3D,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,UAAU,EAAE,CAAC,CAAC,CAAC;aACf;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,sCAAuB,CAAC,IAAI;QACrC,OAAO,EAAE,YAAY;QACrB,WAAW,EAAE,8CAA8C;QAC3D,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,UAAU,EAAE,CAAC,GAAG,CAAC;aACjB;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE;QAC9C,QAAQ,EA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AAA,4BAAe,EAAC,CAAC,CAAC,MAAM,CAAgB;SACpD;KACD,CAAC,CAAC,CAAC;IAEJ,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;AAClC,CAAC;AAED,KAAK,UAAU,aAAa,CAE3B,SAAqB,EACrB,QAAuB,EACvB,cAAsB;IAEtB,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QAClC,IAAI,YAAqB,CAAC;QAC1B,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;YAC5C,IAAI,aAAa,CAAC,IAAI,KAAK,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;gBACnD,MAAM,IAAI,GAAG,IAAA,wBAAS,EAAc,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;gBACjE,YAAY,GAAG,MAAM,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACjD,CAAC;QACF,CAAC;QAED,QAAQ,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,MAAM;YACZ,OAAO,EACN,OAAO,YAAY,KAAK,QAAQ;gBAC/B,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC;gBAC9B,CAAC,CAAC,CAAE,YAAuB,IAAI,EAAE,CAAC;YACpC,YAAY,EAAE,QAAQ,CAAC,EAAE;SACzB,CAAC,CAAC;IACJ,CAAC;AACF,CAAC"}
|
|
@@ -44,8 +44,8 @@ exports.versionDescription = {
|
|
|
44
44
|
name: 'minimax',
|
|
45
45
|
icon: 'file:minimax.svg',
|
|
46
46
|
group: ['transform'],
|
|
47
|
-
version: [1, 1.1],
|
|
48
|
-
defaultVersion: 1.
|
|
47
|
+
version: [1, 1.1, 1.2],
|
|
48
|
+
defaultVersion: 1.2,
|
|
49
49
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
50
50
|
description: 'Message MiniMax, generate speech, images, and video',
|
|
51
51
|
defaults: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionDescription.js","sourceRoot":"","sources":["../../../../../nodes/vendors/MiniMax/actions/versionDescription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAA8E;AAE9E,MAAY,KAAK,oCAAgB;AACjC,MAAY,KAAK,oCAAgB;AACjC,MAAY,IAAI,mCAAe;AAC/B,MAAY,KAAK,oCAAgB;AAEpB,QAAA,kBAAkB,GAAyB;IACvD,WAAW,EAAE,SAAS;IACtB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"versionDescription.js","sourceRoot":"","sources":["../../../../../nodes/vendors/MiniMax/actions/versionDescription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAA8E;AAE9E,MAAY,KAAK,oCAAgB;AACjC,MAAY,KAAK,oCAAgB;AACjC,MAAY,IAAI,mCAAe;AAC/B,MAAY,KAAK,oCAAgB;AAEpB,QAAA,kBAAkB,GAAyB;IACvD,WAAW,EAAE,SAAS;IACtB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC;IACtB,cAAc,EAAE,GAAG;IACnB,QAAQ,EAAE,gEAAgE;IAC1E,WAAW,EAAE,qDAAqD;IAClE,QAAQ,EAAE;QACT,IAAI,EAAE,SAAS;KACf;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,EAAE;QACN,KAAK,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC;QAC5E,UAAU,EAAE,CAAC,IAAI,CAAC;QAClB,aAAa,EAAE;YACd,EAAE,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,YAAY,CAAC;SAC7C;QACD,SAAS,EAAE;YACV,oBAAoB,EAAE;gBACrB;oBACC,GAAG,EAAE,iFAAiF;iBACtF;aACD;SACD;KACD;IACD,MAAM,EAAE;;;;;;;;;;IAUL;IACH,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;IACnC,WAAW,EAAE;QACZ;YACC,IAAI,EAAE,YAAY;YAClB,QAAQ,EAAE,IAAI;SACd;KACD;IACD,UAAU,EAAE;QACX;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,OAAO;iBACd;gBACD;oBACC,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,OAAO;iBACd;gBACD;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;gBACD;oBACC,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,OAAO;iBACd;aACD;YACD,OAAO,EAAE,MAAM;SACf;QACD,GAAG,KAAK,CAAC,WAAW;QACpB,GAAG,KAAK,CAAC,WAAW;QACpB,GAAG,IAAI,CAAC,WAAW;QACnB,GAAG,KAAK,CAAC,WAAW;KACpB;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as listSearch from './listSearch';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.listSearch = void 0;
|
|
37
|
+
exports.listSearch = __importStar(require("./listSearch"));
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/vendors/MiniMax/methods/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,QAAY,UAAU,yCAAqB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.modelSearch = modelSearch;
|
|
4
|
+
const transport_1 = require("../transport");
|
|
5
|
+
async function modelSearch(filter) {
|
|
6
|
+
const response = (await transport_1.apiRequest.call(this, 'GET', '/v1/models'));
|
|
7
|
+
let models = response.data ?? [];
|
|
8
|
+
if (filter) {
|
|
9
|
+
models = models.filter((model) => model.id.toLowerCase().includes(filter.toLowerCase()));
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
results: models.map((model) => ({
|
|
13
|
+
name: model.id,
|
|
14
|
+
value: model.id,
|
|
15
|
+
})),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=listSearch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listSearch.js","sourceRoot":"","sources":["../../../../../nodes/vendors/MiniMax/methods/listSearch.ts"],"names":[],"mappings":";;;AAEA,4CAA0C;AAEnC,KAAK,sBAEX,MAAe;IAEf,MAAM,QAAQ,GAAG,CAAC,MAAM,sBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,YAAY,CAAC,CAEjE,CAAC;IAEF,IAAI,MAAM,GAAG,QAAQ,CAAC,IAAI,IAAI,EAAE,CAAC;IACjC,IAAI,MAAM,EAAE,CAAC;QACZ,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;IAC1F,CAAC;IAED,OAAO;QACN,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YAC/B,IAAI,EAAE,KAAK,CAAC,EAAE;YACd,KAAK,EAAE,KAAK,CAAC,EAAE;SACf,CAAC,CAAC;KACH,CAAC;AACH,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assistantRLC = exports.modelRLC = void 0;
|
|
4
|
+
const model_builder_hints_1 = require("../../../../../utils/model-builder-hints");
|
|
4
5
|
const modelRLC = (searchListMethod = 'modelSearch') => ({
|
|
5
6
|
displayName: 'Model',
|
|
6
7
|
name: 'modelId',
|
|
8
|
+
builderHint: { propertyHint: model_builder_hints_1.MODEL_SELECTION_HINT },
|
|
7
9
|
type: 'resourceLocator',
|
|
8
10
|
default: { mode: 'list', value: '' },
|
|
9
11
|
required: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../../../nodes/vendors/OpenAi/v1/actions/descriptions.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../../../nodes/vendors/OpenAi/v1/actions/descriptions.ts"],"names":[],"mappings":";;;AAEA,oEAAkE;AAE3D,MAAM,QAAQ,GAAG,CAAC,gBAAgB,GAAW,aAAa,EAAmB,EAAE,CAAC,CAAC;IACvF,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,EAAE,YAAY,EAAE,0CAAoB,EAAE;IACnD,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACN;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,gBAAgB;gBAChB,UAAU,EAAE,IAAI;aAChB;SACD;QACD;YACC,WAAW,EAAE,IAAI;YACjB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,YAAY;SACzB;KACD;CACD,CAAC,CAAC;AAxBU,QAAA,QAAQ,GAAR,QAAQ,CAwBlB;AAEU,QAAA,YAAY,GAAoB;IAC5C,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACV,sLAAsL;IACvL,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACN;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,gBAAgB,EAAE,iBAAiB;gBACnC,UAAU,EAAE,IAAI;aAChB;SACD;QACD;YACC,WAAW,EAAE,IAAI;YACjB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kBAAkB;SAC/B;KACD;CACD,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.description = void 0;
|
|
4
4
|
exports.execute = execute;
|
|
5
5
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
6
|
+
const helpers_1 = require("../../../../../../utils/helpers");
|
|
6
7
|
const transport_1 = require("../../../transport");
|
|
7
8
|
const descriptions_1 = require("../descriptions");
|
|
8
9
|
const responses_1 = require("../text/helpers/responses");
|
|
@@ -77,9 +78,7 @@ async function execute(i) {
|
|
|
77
78
|
items: await responses_1.formatInputMessages.call(this, i, messages),
|
|
78
79
|
};
|
|
79
80
|
if (options.metadata) {
|
|
80
|
-
const metadata = (0,
|
|
81
|
-
errorMessage: 'Invalid JSON in metadata field',
|
|
82
|
-
});
|
|
81
|
+
const metadata = (0, helpers_1.parseJsonParameter)(options.metadata, 'Invalid JSON in metadata field');
|
|
83
82
|
if (!(0, n8n_workflow_1.isObjectEmpty)(metadata)) {
|
|
84
83
|
body.metadata = metadata;
|
|
85
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/vendors/OpenAi/v2/actions/conversation/create.operation.ts"],"names":[],"mappings":";;;;AAMA,+
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/vendors/OpenAi/v2/actions/conversation/create.operation.ts"],"names":[],"mappings":";;;;AAMA,+CAAmE;AAEnE,4CAAoD;AAEpD,kDAAgD;AAChD,kDAA0E;AAC1E,yDAAgE;AAEhE,MAAM,UAAU,GAAsB;IACrC;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE;YACZ,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE,IAAI;SACpB;QACD,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE;QACvC,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACP;wBACC,WAAW,EAAE,MAAM;wBACnB,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EACV,0GAA0G;wBAC3G,OAAO,EAAE;4BACR;gCACC,IAAI,EAAE,MAAM;gCACZ,KAAK,EAAE,MAAM;gCACb,WAAW,EAAE,4DAA4D;6BACzE;4BACD;gCACC,IAAI,EAAE,WAAW;gCACjB,KAAK,EAAE,WAAW;gCAClB,WAAW,EAAE,wDAAwD;6BACrE;4BACD;gCACC,IAAI,EAAE,QAAQ;gCACd,KAAK,EAAE,QAAQ;gCACf,WAAW,EACV,+EAA+E;6BAChF;yBACD;wBACD,OAAO,EAAE,MAAM;qBACf;oBACD;wBACC,GAAG,oCAAqB,CAAC,CAAC,CAAC;wBAC3B,cAAc,EAAE,EAAE;qBAClB;iBACD;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,YA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
|
exports.description = void 0;
|
|
4
4
|
exports.execute = execute;
|
|
5
5
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
6
|
+
const helpers_1 = require("../../../../../../utils/helpers");
|
|
6
7
|
const transport_1 = require("../../../transport");
|
|
7
8
|
const descriptions_1 = require("../descriptions");
|
|
8
9
|
const properties = [
|
|
@@ -34,9 +35,7 @@ async function execute(i) {
|
|
|
34
35
|
throw new Error('Metadata is required');
|
|
35
36
|
}
|
|
36
37
|
const body = {};
|
|
37
|
-
body.metadata = (0,
|
|
38
|
-
errorMessage: 'Invalid JSON in metadata field',
|
|
39
|
-
});
|
|
38
|
+
body.metadata = (0, helpers_1.parseJsonParameter)(metadata, 'Invalid JSON in metadata field');
|
|
40
39
|
const response = await transport_1.apiRequest.call(this, 'POST', `/conversations/${conversationId}`, {
|
|
41
40
|
body,
|
|
42
41
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/vendors/OpenAi/v2/actions/conversation/update.operation.ts"],"names":[],"mappings":";;;;AAMA,+
|
|
1
|
+
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/vendors/OpenAi/v2/actions/conversation/update.operation.ts"],"names":[],"mappings":";;;;AAMA,+CAAoD;AAEpD,4CAAoD;AAEpD,kDAAgD;AAChD,kDAAmD;AAEnD,MAAM,UAAU,GAAsB;IACrC;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iBAAiB;QAC9B,WAAW,EAAE,sCAAsC;QACnD,QAAQ,EAAE,IAAI;KACd;IACD,EAAE,GAAG,+BAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE;CACvC,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,SAAS,EAAE,CAAC,QAAQ,CAAC;QACrB,QAAQ,EAAE,CAAC,cAAc,CAAC;KAC1B;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAErE,KAAK,kBAA2C,CAAS;IAC/D,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,CAAC,EAAE,EAAE,CAAW,CAAC;IAChF,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAE1D,IAAI,CAAC,cAAc,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAChD,CAAC;IAED,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACzC,CAAC;IAED,MAAM,IAAI,GAAgB,EAAE,CAAC;IAE7B,IAAI,CAAC,QAAQ,GAAG,IAAA,4BAAkB,EAAC,QAAQ,EAAE,gCAAgC,CAAC,CAAC;IAE/E,MAAM,QAAQ,GAAG,MAAM,sBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,kBAAkB,cAAc,EAAE,EAAE;QACxF,IAAI;KACJ,CAAC,CAAC;IAEH,OAAO;QACN;YACC,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;SACvB;KACD,CAAC;AACH,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.imageGenerateOptionsRLC = exports.imageGenerateOptions = exports.messageOptions = exports.textMessageProperties = exports.metadataProperty = exports.modelRLC = void 0;
|
|
4
|
+
const model_builder_hints_1 = require("../../../../../utils/model-builder-hints");
|
|
4
5
|
const modelRLC = (searchListMethod = 'modelSearch') => ({
|
|
5
6
|
displayName: 'Model',
|
|
6
7
|
name: 'modelId',
|
|
8
|
+
builderHint: { propertyHint: model_builder_hints_1.MODEL_SELECTION_HINT },
|
|
7
9
|
type: 'resourceLocator',
|
|
8
10
|
default: { mode: 'list', value: '' },
|
|
9
11
|
required: true,
|