@n8n/n8n-nodes-langchain 2.42.4 → 2.43.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.
Files changed (220) hide show
  1. package/dist/node-definitions/.nodes-hash +1 -1
  2. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.ts +4 -2
  3. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.ts +4 -2
  4. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.ts +4 -2
  5. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.ts +2 -1
  6. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.ts +2 -1
  7. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.ts +2 -1
  8. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.ts +2 -1
  9. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.ts +2 -1
  10. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.ts +2 -1
  11. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.ts +2 -1
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v2.ts +2 -1
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v21.ts +2 -1
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v22.ts +2 -1
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v3.ts +2 -1
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v31.ts +2 -1
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_image/operation_analyze.ts +2 -1
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_image/operation_generate.ts +16 -15
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_video/operation_image_to_video.ts +2 -1
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_image/operation_analyze.ts +2 -1
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_image/operation_generate.ts +16 -15
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_video/operation_image_to_video.ts +2 -1
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v1.ts +2 -1
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v11.ts +2 -1
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v12.ts +2 -1
  26. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v13.ts +2 -1
  27. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v14.ts +2 -1
  28. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v15.ts +2 -1
  29. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v16.ts +2 -1
  30. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v17.ts +2 -1
  31. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v18.ts +2 -1
  32. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainLlm/v19.ts +2 -1
  33. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v1.schema.js +1 -1
  34. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v1.ts +2 -17
  35. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v11.schema.js +1 -1
  36. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v11.ts +2 -17
  37. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v12.schema.js +1 -1
  38. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v12.ts +2 -17
  39. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v13.schema.js +1 -1
  40. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v13.ts +2 -17
  41. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v14.schema.js +1 -1
  42. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v14.ts +2 -17
  43. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v15.schema.js +1 -1
  44. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v15.ts +2 -17
  45. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v16.ts +2 -4
  46. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainRetrievalQa/v17.ts +2 -4
  47. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainSummarization/v1.ts +1 -5
  48. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainSummarization/v2.schema.js +1 -1
  49. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainSummarization/v2.ts +0 -16
  50. package/dist/node-definitions/nodes/n8n-nodes-langchain/chainSummarization/v21.ts +0 -3
  51. package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v1.schema.js +1 -1
  52. package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v1.ts +19 -69
  53. package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v11.schema.js +1 -1
  54. package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v11.ts +19 -69
  55. package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v12.schema.js +1 -1
  56. package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v12.ts +19 -69
  57. package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v13.schema.js +1 -1
  58. package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v13.ts +19 -69
  59. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.ts +13 -12
  60. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.ts +13 -12
  61. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.ts +13 -12
  62. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.ts +13 -12
  63. package/dist/node-definitions/nodes/n8n-nodes-langchain/documentDefaultDataLoader/v1.ts +2 -1
  64. package/dist/node-definitions/nodes/n8n-nodes-langchain/documentDefaultDataLoader/v11.ts +2 -1
  65. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsOpenAi/v1.ts +1 -1
  66. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsOpenAi/v11.ts +1 -1
  67. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsOpenAi/v12.schema.js +1 -1
  68. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsOpenAi/v12.ts +1 -5
  69. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/operation_message.schema.js +1 -1
  70. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/operation_message.ts +0 -4
  71. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/operation_message.schema.js +1 -1
  72. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/operation_message.ts +0 -4
  73. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/operation_message.schema.js +1 -1
  74. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/operation_message.ts +0 -4
  75. package/dist/node-definitions/nodes/n8n-nodes-langchain/guardrails/v1.ts +1 -6
  76. package/dist/node-definitions/nodes/n8n-nodes-langchain/guardrails/v2.ts +1 -6
  77. package/dist/node-definitions/nodes/n8n-nodes-langchain/informationExtractor/v1.schema.js +1 -1
  78. package/dist/node-definitions/nodes/n8n-nodes-langchain/informationExtractor/v1.ts +0 -13
  79. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v1.schema.js +1 -1
  80. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v1.ts +0 -19
  81. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v11.schema.js +1 -1
  82. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v11.ts +0 -19
  83. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v12.schema.js +1 -1
  84. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v12.ts +0 -19
  85. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v13.schema.js +1 -1
  86. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v13.ts +0 -19
  87. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v14.schema.js +1 -1
  88. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v14.ts +0 -19
  89. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v15.schema.js +1 -1
  90. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v15.ts +11 -19
  91. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v16.schema.js +1 -1
  92. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v16.ts +11 -19
  93. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/index.ts +3 -1
  94. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v1.schema.js +1 -1
  95. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v1.ts +4 -0
  96. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v11.schema.js +28 -0
  97. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v11.ts +83 -0
  98. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v1.schema.js +1 -1
  99. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v1.ts +1 -88
  100. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v11.schema.js +1 -1
  101. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v11.ts +1 -92
  102. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v12.schema.js +1 -1
  103. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v12.ts +0 -91
  104. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v13.schema.js +1 -1
  105. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenAi/v13.ts +0 -8
  106. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.schema.js +1 -1
  107. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.ts +1 -1
  108. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.schema.js +1 -1
  109. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.ts +1 -1
  110. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.ts +2 -1
  111. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.ts +2 -1
  112. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_image_to_video.ts +2 -1
  113. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_text_to_video.ts +2 -1
  114. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/operation_image_to_video.ts +2 -1
  115. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v12/resource_video/operation_text_to_video.ts +2 -1
  116. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_create.ts +2 -2
  117. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_message.schema.js +1 -1
  118. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_message.ts +0 -4
  119. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_update.ts +2 -2
  120. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_image/operation_generate.ts +16 -15
  121. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_text/operation_message.schema.js +1 -1
  122. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_text/operation_message.ts +0 -4
  123. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_create.ts +2 -2
  124. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_message.schema.js +1 -1
  125. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_message.ts +0 -4
  126. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_update.ts +2 -2
  127. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_image/operation_generate.ts +16 -15
  128. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_text/operation_message.schema.js +1 -1
  129. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_text/operation_message.ts +0 -4
  130. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_create.ts +2 -2
  131. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_message.schema.js +1 -1
  132. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_message.ts +0 -4
  133. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_update.ts +2 -2
  134. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_image/operation_generate.ts +16 -15
  135. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_text/operation_message.schema.js +1 -1
  136. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_text/operation_message.ts +0 -4
  137. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_assistant/operation_create.ts +2 -2
  138. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_assistant/operation_update.ts +2 -2
  139. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_image/operation_generate.ts +16 -15
  140. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_text/operation_message.schema.js +1 -1
  141. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_text/operation_message.ts +0 -4
  142. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_assistant/operation_create.ts +2 -2
  143. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_assistant/operation_update.ts +2 -2
  144. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_image/operation_generate.ts +16 -15
  145. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_text/operation_message.schema.js +1 -1
  146. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_text/operation_message.ts +0 -4
  147. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_assistant/operation_create.ts +2 -2
  148. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_assistant/operation_update.ts +2 -2
  149. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_image/operation_generate.ts +16 -15
  150. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_assistant/operation_create.ts +2 -2
  151. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_assistant/operation_update.ts +2 -2
  152. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_image/operation_generate.ts +16 -15
  153. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_assistant/operation_create.ts +2 -2
  154. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_assistant/operation_update.ts +2 -2
  155. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_image/operation_generate.ts +16 -15
  156. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_create.ts +2 -2
  157. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_message.schema.js +1 -1
  158. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_message.ts +0 -4
  159. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_update.ts +2 -2
  160. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_image/operation_generate.ts +16 -15
  161. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_image/operation_generate.ts +16 -15
  162. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_text/operation_response.ts +2 -10
  163. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_image/operation_generate.ts +16 -15
  164. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_text/operation_response.ts +2 -10
  165. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_image/operation_generate.ts +16 -15
  166. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_text/operation_response.ts +2 -10
  167. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_image/operation_generate.ts +16 -15
  168. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_text/operation_response.ts +2 -10
  169. package/dist/node-definitions/nodes/n8n-nodes-langchain/retrieverWorkflow/v1.ts +2 -1
  170. package/dist/node-definitions/nodes/n8n-nodes-langchain/sentimentAnalysis/v1.schema.js +1 -1
  171. package/dist/node-definitions/nodes/n8n-nodes-langchain/sentimentAnalysis/v1.ts +0 -13
  172. package/dist/node-definitions/nodes/n8n-nodes-langchain/textClassifier/v1.schema.js +1 -1
  173. package/dist/node-definitions/nodes/n8n-nodes-langchain/textClassifier/v1.ts +0 -13
  174. package/dist/node-definitions/nodes/n8n-nodes-langchain/toolWorkflow/v1.ts +2 -1
  175. package/dist/node-definitions/nodes/n8n-nodes-langchain/toolWorkflow/v11.ts +2 -1
  176. package/dist/nodes/agents/Agent/V1/AgentV1.node.js +0 -11
  177. package/dist/nodes/agents/Agent/V1/AgentV1.node.js.map +1 -1
  178. package/dist/nodes/agents/Agent/V2/AgentV2.node.js +0 -6
  179. package/dist/nodes/agents/Agent/V2/AgentV2.node.js.map +1 -1
  180. package/dist/nodes/agents/Agent/V3/AgentV3.node.js +0 -6
  181. package/dist/nodes/agents/Agent/V3/AgentV3.node.js.map +1 -1
  182. package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js +2 -2
  183. package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js.map +1 -1
  184. package/dist/nodes/embeddings/EmbeddingsOpenAI/EmbeddingsOpenAi.node.js +1 -1
  185. package/dist/nodes/embeddings/EmbeddingsOpenAI/EmbeddingsOpenAi.node.js.map +1 -1
  186. package/dist/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.js +3 -13
  187. package/dist/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.js.map +1 -1
  188. package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.js +1 -1
  189. package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.js.map +1 -1
  190. package/dist/nodes/llms/LMOpenHuggingFaceInference/LmOpenHuggingFaceInference.node.js.map +1 -1
  191. package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js +34 -15
  192. package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js.map +1 -1
  193. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/api-key.js +2 -1
  194. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/api-key.js.map +1 -1
  195. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/normalizeEndpoint.d.ts +1 -0
  196. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/normalizeEndpoint.js +7 -0
  197. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/normalizeEndpoint.js.map +1 -0
  198. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.js +6 -2
  199. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.js.map +1 -1
  200. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.js +4 -2
  201. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.js.map +1 -1
  202. package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.d.ts +1 -0
  203. package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.js +48 -0
  204. package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.js.map +1 -0
  205. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js +12 -2
  206. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js.map +1 -1
  207. package/dist/nodes/llms/LmChatAzureOpenAi/properties.js +58 -0
  208. package/dist/nodes/llms/LmChatAzureOpenAi/properties.js.map +1 -1
  209. package/dist/nodes/llms/LmChatAzureOpenAi/types.d.ts +1 -0
  210. package/dist/nodes/llms/LmChatAzureOpenAi/types.js.map +1 -1
  211. package/dist/nodes/llms/shared/extra-body.d.ts +6 -0
  212. package/dist/nodes/llms/shared/extra-body.js +34 -0
  213. package/dist/nodes/llms/shared/extra-body.js.map +1 -0
  214. package/dist/nodes/vendors/OpenAi/v1/actions/assistant/create.operation.js +2 -2
  215. package/dist/nodes/vendors/OpenAi/v1/actions/assistant/create.operation.js.map +1 -1
  216. package/dist/nodes/vendors/OpenAi/v1/actions/assistant/update.operation.js +2 -2
  217. package/dist/nodes/vendors/OpenAi/v1/actions/assistant/update.operation.js.map +1 -1
  218. package/dist/typecheck.tsbuildinfo +1 -1
  219. package/dist/types/nodes.json +9 -9
  220. package/package.json +12 -12
@@ -41,21 +41,22 @@ export type LcOpenAiV16ImageGenerateParams = {
41
41
  * @default medium
42
42
  */
43
43
  quality?: 'high' | 'medium' | 'low' | Expression<string>;
44
- /** Resolution
45
- * @displayOptions.show { /model: ["dall-e-2"] }
46
- * @default 1024x1024
47
- */
48
- size?: '256x256' | '512x512' | '1024x1024' | Expression<string>;
49
- /** Resolution
50
- * @displayOptions.show { /model: ["dall-e-3"] }
51
- * @default 1024x1024
52
- */
53
- size?: '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>;
54
- /** Resolution
55
- * @displayOptions.show { /model: ["gpt-image-1"] }
56
- * @default 1024x1024
57
- */
58
- size?: '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
44
+ size?:
45
+ /** Resolution
46
+ * @displayOptions.show { /model: ["dall-e-2"] }
47
+ * @default 1024x1024
48
+ */
49
+ | '256x256' | '512x512' | '1024x1024' | Expression<string>
50
+ /** Resolution
51
+ * @displayOptions.show { /model: ["dall-e-3"] }
52
+ * @default 1024x1024
53
+ */
54
+ | '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
55
+ /** Resolution
56
+ * @displayOptions.show { /model: ["gpt-image-1"] }
57
+ * @default 1024x1024
58
+ */
59
+ | '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
59
60
  /** Style
60
61
  * @displayOptions.show { /model: ["dall-e-3"] }
61
62
  * @default vivid
@@ -32,12 +32,12 @@ export type LcOpenAiV17AssistantCreateParams = {
32
32
  */
33
33
  instructions?: string | Expression<string>;
34
34
  /**
35
- * Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more &lt;a href="https://platform.openai.com/docs/assistants/tools/code-interpreter" target="_blank"&gt;here&lt;/a&gt;
35
+ * Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more &lt;a href="https://developers.openai.com/api/docs/guides/tools-code-interpreter" target="_blank"&gt;here&lt;/a&gt;
36
36
  * @default false
37
37
  */
38
38
  codeInterpreter?: boolean | Expression<boolean>;
39
39
  /**
40
- * Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more &lt;a href="https://platform.openai.com/docs/assistants/tools/knowledge-retrieval" target="_blank"&gt;here&lt;/a&gt;
40
+ * Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more &lt;a href="https://developers.openai.com/api/docs/guides/tools-file-search" target="_blank"&gt;here&lt;/a&gt;
41
41
  * @default false
42
42
  */
43
43
  knowledgeRetrieval?: boolean | Expression<boolean>;
@@ -23,7 +23,7 @@ export type LcOpenAiV17AssistantUpdateParams = {
23
23
  * @default {}
24
24
  */
25
25
  options?: {
26
- /** Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more &lt;a href="https://platform.openai.com/docs/assistants/tools/code-interpreter" target="_blank"&gt;here&lt;/a&gt;
26
+ /** Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more &lt;a href="https://developers.openai.com/api/docs/guides/tools-code-interpreter" target="_blank"&gt;here&lt;/a&gt;
27
27
  * @default false
28
28
  */
29
29
  codeInterpreter?: boolean | Expression<boolean>;
@@ -39,7 +39,7 @@ export type LcOpenAiV17AssistantUpdateParams = {
39
39
  /** The system instructions that the assistant uses. The maximum length is 32768 characters.
40
40
  */
41
41
  instructions?: string | Expression<string>;
42
- /** Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more &lt;a href="https://platform.openai.com/docs/assistants/tools/knowledge-retrieval" target="_blank"&gt;here&lt;/a&gt;
42
+ /** Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more &lt;a href="https://developers.openai.com/api/docs/guides/tools-file-search" target="_blank"&gt;here&lt;/a&gt;
43
43
  * @default false
44
44
  */
45
45
  knowledgeRetrieval?: boolean | Expression<boolean>;
@@ -41,21 +41,22 @@ export type LcOpenAiV17ImageGenerateParams = {
41
41
  * @default medium
42
42
  */
43
43
  quality?: 'high' | 'medium' | 'low' | Expression<string>;
44
- /** Resolution
45
- * @displayOptions.show { /model: ["dall-e-2"] }
46
- * @default 1024x1024
47
- */
48
- size?: '256x256' | '512x512' | '1024x1024' | Expression<string>;
49
- /** Resolution
50
- * @displayOptions.show { /model: ["dall-e-3"] }
51
- * @default 1024x1024
52
- */
53
- size?: '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>;
54
- /** Resolution
55
- * @displayOptions.show { /model: ["gpt-image-1"] }
56
- * @default 1024x1024
57
- */
58
- size?: '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
44
+ size?:
45
+ /** Resolution
46
+ * @displayOptions.show { /model: ["dall-e-2"] }
47
+ * @default 1024x1024
48
+ */
49
+ | '256x256' | '512x512' | '1024x1024' | Expression<string>
50
+ /** Resolution
51
+ * @displayOptions.show { /model: ["dall-e-3"] }
52
+ * @default 1024x1024
53
+ */
54
+ | '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
55
+ /** Resolution
56
+ * @displayOptions.show { /model: ["gpt-image-1"] }
57
+ * @default 1024x1024
58
+ */
59
+ | '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
59
60
  /** Style
60
61
  * @displayOptions.show { /model: ["dall-e-3"] }
61
62
  * @default vivid
@@ -32,12 +32,12 @@ export type LcOpenAiV18AssistantCreateParams = {
32
32
  */
33
33
  instructions?: string | Expression<string>;
34
34
  /**
35
- * Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more &lt;a href="https://platform.openai.com/docs/assistants/tools/code-interpreter" target="_blank"&gt;here&lt;/a&gt;
35
+ * Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more &lt;a href="https://developers.openai.com/api/docs/guides/tools-code-interpreter" target="_blank"&gt;here&lt;/a&gt;
36
36
  * @default false
37
37
  */
38
38
  codeInterpreter?: boolean | Expression<boolean>;
39
39
  /**
40
- * Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more &lt;a href="https://platform.openai.com/docs/assistants/tools/knowledge-retrieval" target="_blank"&gt;here&lt;/a&gt;
40
+ * Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more &lt;a href="https://developers.openai.com/api/docs/guides/tools-file-search" target="_blank"&gt;here&lt;/a&gt;
41
41
  * @default false
42
42
  */
43
43
  knowledgeRetrieval?: boolean | Expression<boolean>;
@@ -27,7 +27,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
27
27
  text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"prompt":["define"]}}, defaults: {"prompt":"auto"} }),
28
28
  memory: z.union([z.literal('connector'), z.literal('threadId'), expressionSchema]).optional(),
29
29
  threadId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"memory":["threadId"]}}, defaults: {"memory":"connector"} }),
30
- options: z.object({ baseURL: stringOrExpression.optional(), maxRetries: numberOrExpression.optional(), timeout: numberOrExpression.optional(), preserveOriginalTools: booleanOrExpression.optional() }).optional(),
30
+ options: z.object({ maxRetries: numberOrExpression.optional(), timeout: numberOrExpression.optional(), preserveOriginalTools: booleanOrExpression.optional() }).optional(),
31
31
  }).optional(),
32
32
  subnodes: subnodesSchema.optional(),
33
33
  });
@@ -44,10 +44,6 @@ export type LcOpenAiV18AssistantMessageParams = {
44
44
  * @default {}
45
45
  */
46
46
  options?: {
47
- /** Override the default base URL for the API
48
- * @default https://api.openai.com/v1
49
- */
50
- baseURL?: string | Expression<string>;
51
47
  /** Maximum number of retries to attempt
52
48
  * @default 2
53
49
  */
@@ -23,7 +23,7 @@ export type LcOpenAiV18AssistantUpdateParams = {
23
23
  * @default {}
24
24
  */
25
25
  options?: {
26
- /** Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more &lt;a href="https://platform.openai.com/docs/assistants/tools/code-interpreter" target="_blank"&gt;here&lt;/a&gt;
26
+ /** Whether to enable the code interpreter that allows the assistants to write and run Python code in a sandboxed execution environment, find more &lt;a href="https://developers.openai.com/api/docs/guides/tools-code-interpreter" target="_blank"&gt;here&lt;/a&gt;
27
27
  * @default false
28
28
  */
29
29
  codeInterpreter?: boolean | Expression<boolean>;
@@ -39,7 +39,7 @@ export type LcOpenAiV18AssistantUpdateParams = {
39
39
  /** The system instructions that the assistant uses. The maximum length is 32768 characters.
40
40
  */
41
41
  instructions?: string | Expression<string>;
42
- /** Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more &lt;a href="https://platform.openai.com/docs/assistants/tools/knowledge-retrieval" target="_blank"&gt;here&lt;/a&gt;
42
+ /** Whether to augments the assistant with knowledge from outside its model, such as proprietary product information or documents, find more &lt;a href="https://developers.openai.com/api/docs/guides/tools-file-search" target="_blank"&gt;here&lt;/a&gt;
43
43
  * @default false
44
44
  */
45
45
  knowledgeRetrieval?: boolean | Expression<boolean>;
@@ -41,21 +41,22 @@ export type LcOpenAiV18ImageGenerateParams = {
41
41
  * @default medium
42
42
  */
43
43
  quality?: 'high' | 'medium' | 'low' | Expression<string>;
44
- /** Resolution
45
- * @displayOptions.show { /model: ["dall-e-2"] }
46
- * @default 1024x1024
47
- */
48
- size?: '256x256' | '512x512' | '1024x1024' | Expression<string>;
49
- /** Resolution
50
- * @displayOptions.show { /model: ["dall-e-3"] }
51
- * @default 1024x1024
52
- */
53
- size?: '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>;
54
- /** Resolution
55
- * @displayOptions.show { /model: ["gpt-image-1"] }
56
- * @default 1024x1024
57
- */
58
- size?: '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
44
+ size?:
45
+ /** Resolution
46
+ * @displayOptions.show { /model: ["dall-e-2"] }
47
+ * @default 1024x1024
48
+ */
49
+ | '256x256' | '512x512' | '1024x1024' | Expression<string>
50
+ /** Resolution
51
+ * @displayOptions.show { /model: ["dall-e-3"] }
52
+ * @default 1024x1024
53
+ */
54
+ | '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
55
+ /** Resolution
56
+ * @displayOptions.show { /model: ["gpt-image-1"] }
57
+ * @default 1024x1024
58
+ */
59
+ | '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
59
60
  /** Style
60
61
  * @displayOptions.show { /model: ["dall-e-3"] }
61
62
  * @default vivid
@@ -41,21 +41,22 @@ export type LcOpenAiV2ImageGenerateParams = {
41
41
  * @default medium
42
42
  */
43
43
  quality?: 'high' | 'medium' | 'low' | Expression<string>;
44
- /** Resolution
45
- * @displayOptions.show { /model: ["dall-e-2"] }
46
- * @default 1024x1024
47
- */
48
- size?: '256x256' | '512x512' | '1024x1024' | Expression<string>;
49
- /** Resolution
50
- * @displayOptions.show { /model: ["dall-e-3"] }
51
- * @default 1024x1024
52
- */
53
- size?: '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>;
54
- /** Resolution
55
- * @displayOptions.show { /model: [{"_cnd":{"includes":"gpt-image"}}] }
56
- * @default 1024x1024
57
- */
58
- size?: '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
44
+ size?:
45
+ /** Resolution
46
+ * @displayOptions.show { /model: ["dall-e-2"] }
47
+ * @default 1024x1024
48
+ */
49
+ | '256x256' | '512x512' | '1024x1024' | Expression<string>
50
+ /** Resolution
51
+ * @displayOptions.show { /model: ["dall-e-3"] }
52
+ * @default 1024x1024
53
+ */
54
+ | '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
55
+ /** Resolution
56
+ * @displayOptions.show { /model: [{"_cnd":{"includes":"gpt-image"}}] }
57
+ * @default 1024x1024
58
+ */
59
+ | '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
59
60
  /** Style
60
61
  * @displayOptions.show { /model: ["dall-e-3"] }
61
62
  * @default vivid
@@ -51,11 +51,13 @@ export type LcOpenAiV2TextResponseParams = {
51
51
  /** Name of the binary property which contains the image(s)
52
52
  * @hint The name of the input field containing the binary file data to be processed
53
53
  * @displayOptions.show { type: ["image"], imageType: ["base64"] }
54
+ * @displayOptions.show { type: ["file"], fileType: ["base64"] }
54
55
  * @default data
55
56
  */
56
57
  binaryPropertyName?: string | Expression<string>;
57
58
  /** ID of the file to be sent
58
59
  * @displayOptions.show { type: ["image"], imageType: ["fileId"] }
60
+ * @displayOptions.show { type: ["file"], fileType: ["fileId"] }
59
61
  */
60
62
  fileId?: string | Expression<string>;
61
63
  /** The detail level of the image to be sent to the model
@@ -72,16 +74,6 @@ export type LcOpenAiV2TextResponseParams = {
72
74
  * @displayOptions.show { type: ["file"], fileType: ["url"] }
73
75
  */
74
76
  fileUrl?: string | Expression<string>;
75
- /** ID of the file to be sent
76
- * @displayOptions.show { type: ["file"], fileType: ["fileId"] }
77
- */
78
- fileId?: string | Expression<string>;
79
- /** Name of the binary property which contains the file
80
- * @hint The name of the input field containing the binary file data to be processed
81
- * @displayOptions.show { type: ["file"], fileType: ["base64"] }
82
- * @default data
83
- */
84
- binaryPropertyName?: string | Expression<string>;
85
77
  /** File Name
86
78
  * @displayOptions.show { type: ["file"], fileType: ["base64"] }
87
79
  */
@@ -41,21 +41,22 @@ export type LcOpenAiV21ImageGenerateParams = {
41
41
  * @default medium
42
42
  */
43
43
  quality?: 'high' | 'medium' | 'low' | Expression<string>;
44
- /** Resolution
45
- * @displayOptions.show { /model: ["dall-e-2"] }
46
- * @default 1024x1024
47
- */
48
- size?: '256x256' | '512x512' | '1024x1024' | Expression<string>;
49
- /** Resolution
50
- * @displayOptions.show { /model: ["dall-e-3"] }
51
- * @default 1024x1024
52
- */
53
- size?: '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>;
54
- /** Resolution
55
- * @displayOptions.show { /model: [{"_cnd":{"includes":"gpt-image"}}] }
56
- * @default 1024x1024
57
- */
58
- size?: '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
44
+ size?:
45
+ /** Resolution
46
+ * @displayOptions.show { /model: ["dall-e-2"] }
47
+ * @default 1024x1024
48
+ */
49
+ | '256x256' | '512x512' | '1024x1024' | Expression<string>
50
+ /** Resolution
51
+ * @displayOptions.show { /model: ["dall-e-3"] }
52
+ * @default 1024x1024
53
+ */
54
+ | '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
55
+ /** Resolution
56
+ * @displayOptions.show { /model: [{"_cnd":{"includes":"gpt-image"}}] }
57
+ * @default 1024x1024
58
+ */
59
+ | '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
59
60
  /** Style
60
61
  * @displayOptions.show { /model: ["dall-e-3"] }
61
62
  * @default vivid
@@ -51,11 +51,13 @@ export type LcOpenAiV21TextResponseParams = {
51
51
  /** Name of the binary property which contains the image(s)
52
52
  * @hint The name of the input field containing the binary file data to be processed
53
53
  * @displayOptions.show { type: ["image"], imageType: ["base64"] }
54
+ * @displayOptions.show { type: ["file"], fileType: ["base64"] }
54
55
  * @default data
55
56
  */
56
57
  binaryPropertyName?: string | Expression<string>;
57
58
  /** ID of the file to be sent
58
59
  * @displayOptions.show { type: ["image"], imageType: ["fileId"] }
60
+ * @displayOptions.show { type: ["file"], fileType: ["fileId"] }
59
61
  */
60
62
  fileId?: string | Expression<string>;
61
63
  /** The detail level of the image to be sent to the model
@@ -72,16 +74,6 @@ export type LcOpenAiV21TextResponseParams = {
72
74
  * @displayOptions.show { type: ["file"], fileType: ["url"] }
73
75
  */
74
76
  fileUrl?: string | Expression<string>;
75
- /** ID of the file to be sent
76
- * @displayOptions.show { type: ["file"], fileType: ["fileId"] }
77
- */
78
- fileId?: string | Expression<string>;
79
- /** Name of the binary property which contains the file
80
- * @hint The name of the input field containing the binary file data to be processed
81
- * @displayOptions.show { type: ["file"], fileType: ["base64"] }
82
- * @default data
83
- */
84
- binaryPropertyName?: string | Expression<string>;
85
77
  /** File Name
86
78
  * @displayOptions.show { type: ["file"], fileType: ["base64"] }
87
79
  */
@@ -43,21 +43,22 @@ export type LcOpenAiV22ImageGenerateParams = {
43
43
  * @default medium
44
44
  */
45
45
  quality?: 'high' | 'medium' | 'low' | Expression<string>;
46
- /** Resolution
47
- * @displayOptions.show { /modelId: ["dall-e-2"] }
48
- * @default 1024x1024
49
- */
50
- size?: '256x256' | '512x512' | '1024x1024' | Expression<string>;
51
- /** Resolution
52
- * @displayOptions.show { /modelId: ["dall-e-3"] }
53
- * @default 1024x1024
54
- */
55
- size?: '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>;
56
- /** Resolution
57
- * @displayOptions.show { /modelId: [{"_cnd":{"includes":"gpt-image"}}] }
58
- * @default 1024x1024
59
- */
60
- size?: '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
46
+ size?:
47
+ /** Resolution
48
+ * @displayOptions.show { /modelId: ["dall-e-2"] }
49
+ * @default 1024x1024
50
+ */
51
+ | '256x256' | '512x512' | '1024x1024' | Expression<string>
52
+ /** Resolution
53
+ * @displayOptions.show { /modelId: ["dall-e-3"] }
54
+ * @default 1024x1024
55
+ */
56
+ | '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
57
+ /** Resolution
58
+ * @displayOptions.show { /modelId: [{"_cnd":{"includes":"gpt-image"}}] }
59
+ * @default 1024x1024
60
+ */
61
+ | '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
61
62
  /** Style
62
63
  * @displayOptions.show { /modelId: ["dall-e-3"] }
63
64
  * @default vivid
@@ -51,11 +51,13 @@ export type LcOpenAiV22TextResponseParams = {
51
51
  /** Name of the binary property which contains the image(s)
52
52
  * @hint The name of the input field containing the binary file data to be processed
53
53
  * @displayOptions.show { type: ["image"], imageType: ["base64"] }
54
+ * @displayOptions.show { type: ["file"], fileType: ["base64"] }
54
55
  * @default data
55
56
  */
56
57
  binaryPropertyName?: string | Expression<string>;
57
58
  /** ID of the file to be sent
58
59
  * @displayOptions.show { type: ["image"], imageType: ["fileId"] }
60
+ * @displayOptions.show { type: ["file"], fileType: ["fileId"] }
59
61
  */
60
62
  fileId?: string | Expression<string>;
61
63
  /** The detail level of the image to be sent to the model
@@ -72,16 +74,6 @@ export type LcOpenAiV22TextResponseParams = {
72
74
  * @displayOptions.show { type: ["file"], fileType: ["url"] }
73
75
  */
74
76
  fileUrl?: string | Expression<string>;
75
- /** ID of the file to be sent
76
- * @displayOptions.show { type: ["file"], fileType: ["fileId"] }
77
- */
78
- fileId?: string | Expression<string>;
79
- /** Name of the binary property which contains the file
80
- * @hint The name of the input field containing the binary file data to be processed
81
- * @displayOptions.show { type: ["file"], fileType: ["base64"] }
82
- * @default data
83
- */
84
- binaryPropertyName?: string | Expression<string>;
85
77
  /** File Name
86
78
  * @displayOptions.show { type: ["file"], fileType: ["base64"] }
87
79
  */
@@ -43,21 +43,22 @@ export type LcOpenAiV23ImageGenerateParams = {
43
43
  * @default medium
44
44
  */
45
45
  quality?: 'high' | 'medium' | 'low' | Expression<string>;
46
- /** Resolution
47
- * @displayOptions.show { /modelId: ["dall-e-2"] }
48
- * @default 1024x1024
49
- */
50
- size?: '256x256' | '512x512' | '1024x1024' | Expression<string>;
51
- /** Resolution
52
- * @displayOptions.show { /modelId: ["dall-e-3"] }
53
- * @default 1024x1024
54
- */
55
- size?: '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>;
56
- /** Resolution
57
- * @displayOptions.show { /modelId: [{"_cnd":{"includes":"gpt-image"}}] }
58
- * @default 1024x1024
59
- */
60
- size?: '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
46
+ size?:
47
+ /** Resolution
48
+ * @displayOptions.show { /modelId: ["dall-e-2"] }
49
+ * @default 1024x1024
50
+ */
51
+ | '256x256' | '512x512' | '1024x1024' | Expression<string>
52
+ /** Resolution
53
+ * @displayOptions.show { /modelId: ["dall-e-3"] }
54
+ * @default 1024x1024
55
+ */
56
+ | '1024x1024' | '1792x1024' | '1024x1792' | Expression<string>
57
+ /** Resolution
58
+ * @displayOptions.show { /modelId: [{"_cnd":{"includes":"gpt-image"}}] }
59
+ * @default 1024x1024
60
+ */
61
+ | '1024x1024' | '1024x1536' | '1536x1024' | Expression<string>;
61
62
  /** Style
62
63
  * @displayOptions.show { /modelId: ["dall-e-3"] }
63
64
  * @default vivid
@@ -51,11 +51,13 @@ export type LcOpenAiV23TextResponseParams = {
51
51
  /** Name of the binary property which contains the image(s)
52
52
  * @hint The name of the input field containing the binary file data to be processed
53
53
  * @displayOptions.show { type: ["image"], imageType: ["base64"] }
54
+ * @displayOptions.show { type: ["file"], fileType: ["base64"] }
54
55
  * @default data
55
56
  */
56
57
  binaryPropertyName?: string | Expression<string>;
57
58
  /** ID of the file to be sent
58
59
  * @displayOptions.show { type: ["image"], imageType: ["fileId"] }
60
+ * @displayOptions.show { type: ["file"], fileType: ["fileId"] }
59
61
  */
60
62
  fileId?: string | Expression<string>;
61
63
  /** The detail level of the image to be sent to the model
@@ -72,16 +74,6 @@ export type LcOpenAiV23TextResponseParams = {
72
74
  * @displayOptions.show { type: ["file"], fileType: ["url"] }
73
75
  */
74
76
  fileUrl?: string | Expression<string>;
75
- /** ID of the file to be sent
76
- * @displayOptions.show { type: ["file"], fileType: ["fileId"] }
77
- */
78
- fileId?: string | Expression<string>;
79
- /** Name of the binary property which contains the file
80
- * @hint The name of the input field containing the binary file data to be processed
81
- * @displayOptions.show { type: ["file"], fileType: ["base64"] }
82
- * @default data
83
- */
84
- binaryPropertyName?: string | Expression<string>;
85
77
  /** File Name
86
78
  * @displayOptions.show { type: ["file"], fileType: ["base64"] }
87
79
  */
@@ -13,8 +13,9 @@ export interface LcRetrieverWorkflowV1Params {
13
13
  /**
14
14
  * The workflow to execute
15
15
  * @displayOptions.show { source: ["database"] }
16
+ * @required when the displayOptions conditions above match
16
17
  */
17
- workflowId: string | Expression<string>;
18
+ workflowId?: string | Expression<string>;
18
19
  /**
19
20
  * The workflow JSON code to execute
20
21
  * @displayOptions.show { source: ["parameter"] }
@@ -20,7 +20,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
20
20
  // Parameters schema
21
21
  const parametersSchema = z.object({
22
22
  inputText: stringOrExpression,
23
- options: z.object({ categories: z.string().optional(), systemPromptTemplate: stringOrExpression.optional(), includeDetailedResults: booleanOrExpression.optional(), enableAutoFixing: booleanOrExpression.optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
23
+ options: z.object({ categories: z.string().optional(), systemPromptTemplate: stringOrExpression.optional(), includeDetailedResults: booleanOrExpression.optional(), enableAutoFixing: booleanOrExpression.optional() }).optional(),
24
24
  });
25
25
 
26
26
  // Return combined config schema
@@ -26,19 +26,6 @@ export interface LcSentimentAnalysisV1Params {
26
26
  * @default true
27
27
  */
28
28
  enableAutoFixing?: boolean | Expression<boolean>;
29
- /** Batch processing options for rate limiting
30
- * @default {}
31
- */
32
- batching?: {
33
- /** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
34
- * @default 5
35
- */
36
- batchSize?: number | Expression<number>;
37
- /** Delay in milliseconds between batches. This is useful for rate limiting.
38
- * @default 0
39
- */
40
- delayBetweenBatches?: number | Expression<number>;
41
- };
42
29
  };
43
30
  }
44
31
 
@@ -21,7 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
21
21
  const parametersSchema = z.object({
22
22
  inputText: stringOrExpression,
23
23
  categories: z.object({ categories: z.array(z.object({ category: stringOrExpression.optional(), description: stringOrExpression.optional() })).optional() }).optional(),
24
- options: z.object({ multiClass: booleanOrExpression.optional(), fallback: z.union([z.literal('discard'), z.literal('other'), expressionSchema]).optional(), systemPromptTemplate: stringOrExpression.optional(), enableAutoFixing: booleanOrExpression.optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
24
+ options: z.object({ multiClass: booleanOrExpression.optional(), fallback: z.union([z.literal('discard'), z.literal('other'), expressionSchema]).optional(), systemPromptTemplate: stringOrExpression.optional(), enableAutoFixing: booleanOrExpression.optional() }).optional(),
25
25
  });
26
26
 
27
27
  // Return combined config schema
@@ -38,19 +38,6 @@ export interface LcTextClassifierV1Params {
38
38
  * @default true
39
39
  */
40
40
  enableAutoFixing?: boolean | Expression<boolean>;
41
- /** Batch processing options for rate limiting
42
- * @default {}
43
- */
44
- batching?: {
45
- /** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
46
- * @default 5
47
- */
48
- batchSize?: number | Expression<number>;
49
- /** Delay in milliseconds between batches. This is useful for rate limiting.
50
- * @default 0
51
- */
52
- delayBetweenBatches?: number | Expression<number>;
53
- };
54
41
  };
55
42
  }
56
43
 
@@ -19,8 +19,9 @@ export interface LcToolWorkflowV1Params {
19
19
  * The workflow to execute
20
20
  * @hint Can be found in the URL of the workflow
21
21
  * @displayOptions.show { source: ["database"] }
22
+ * @required when the displayOptions conditions above match
22
23
  */
23
- workflowId: string | Expression<string>;
24
+ workflowId?: string | Expression<string>;
24
25
  /**
25
26
  * The workflow JSON code to execute
26
27
  * @displayOptions.show { source: ["parameter"] }
@@ -19,8 +19,9 @@ export interface LcToolWorkflowV11Params {
19
19
  * The workflow to execute
20
20
  * @hint Can be found in the URL of the workflow
21
21
  * @displayOptions.show { source: ["database"] }
22
+ * @required when the displayOptions conditions above match
22
23
  */
23
- workflowId: string | Expression<string>;
24
+ workflowId?: string | Expression<string>;
24
25
  /**
25
26
  * The workflow JSON code to execute
26
27
  * @displayOptions.show { source: ["parameter"] }
@@ -274,17 +274,6 @@ class AgentV1 {
274
274
  },
275
275
  ],
276
276
  properties: [
277
- {
278
- displayName: 'Tip: Get a feel for agents with our quick <a href="https://docs.n8n.io/advanced-ai/intro-tutorial/" target="_blank">tutorial</a> or see an <a href="/templates/1954" target="_blank">example</a> of how this node works',
279
- name: 'aiAgentStarterCallout',
280
- type: 'callout',
281
- default: '',
282
- displayOptions: {
283
- show: {
284
- agent: ['conversationalAgent', 'toolsAgent'],
285
- },
286
- },
287
- },
288
277
  {
289
278
  displayName: "This node is using Agent that has been deprecated. Please switch to using 'Tools Agent' instead.",
290
279
  name: 'deprecated',