@n8n/n8n-nodes-langchain 2.42.2 → 2.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +10 -10
@@ -1 +1 @@
1
- aaf103261617b1db29df0dd6a39939eff10fc5f5ea1e80a94117dae1e27269a0
1
+ 645c34a99d9782ac219f5666017a14a46e9ef5aa7acef6295870b4970da1d7e6
@@ -15,8 +15,9 @@ export interface LcAgentV1Params {
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @placeholderSupported false
17
17
  * @displayOptions.show { promptType: ["define"] }
18
+ * @required when the displayOptions conditions above match
18
19
  */
19
- text: string | Expression<string>;
20
+ text?: string | Expression<string>;
20
21
  /**
21
22
  * Options
22
23
  * @displayOptions.show { agent: ["toolsAgent"] }
@@ -136,8 +137,9 @@ export interface LcAgentV1Params {
136
137
  /**
137
138
  * Prompt
138
139
  * @displayOptions.show { agent: ["sqlAgent"] }
140
+ * @required when the displayOptions conditions above match
139
141
  */
140
- input: string | Expression<string>;
142
+ input?: string | Expression<string>;
141
143
  }
142
144
 
143
145
  export interface LcAgentV1SubnodeConfig {
@@ -15,8 +15,9 @@ export interface LcAgentV11Params {
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @placeholderSupported false
17
17
  * @displayOptions.show { promptType: ["define"] }
18
+ * @required when the displayOptions conditions above match
18
19
  */
19
- text: string | Expression<string>;
20
+ text?: string | Expression<string>;
20
21
  /**
21
22
  * Options
22
23
  * @displayOptions.show { agent: ["toolsAgent"] }
@@ -136,8 +137,9 @@ export interface LcAgentV11Params {
136
137
  /**
137
138
  * Prompt
138
139
  * @displayOptions.show { agent: ["sqlAgent"] }
140
+ * @required when the displayOptions conditions above match
139
141
  */
140
- input: string | Expression<string>;
142
+ input?: string | Expression<string>;
141
143
  }
142
144
 
143
145
  export interface LcAgentV11SubnodeConfig {
@@ -15,8 +15,9 @@ export interface LcAgentV12Params {
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @placeholderSupported false
17
17
  * @displayOptions.show { promptType: ["define"] }
18
+ * @required when the displayOptions conditions above match
18
19
  */
19
- text: string | Expression<string>;
20
+ text?: string | Expression<string>;
20
21
  /**
21
22
  * Options
22
23
  * @displayOptions.show { agent: ["toolsAgent"] }
@@ -136,8 +137,9 @@ export interface LcAgentV12Params {
136
137
  /**
137
138
  * Prompt
138
139
  * @displayOptions.show { agent: ["sqlAgent"] }
140
+ * @required when the displayOptions conditions above match
139
141
  */
140
- input: string | Expression<string>;
142
+ input?: string | Expression<string>;
141
143
  }
142
144
 
143
145
  export interface LcAgentV12SubnodeConfig {
@@ -20,8 +20,9 @@ export interface LcAgentV13Params {
20
20
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
21
21
  * @placeholderSupported false
22
22
  * @displayOptions.show { promptType: ["define"] }
23
+ * @required when the displayOptions conditions above match
23
24
  */
24
- text: string | Expression<string>;
25
+ text?: string | Expression<string>;
25
26
  /**
26
27
  * Require Specific Output Format
27
28
  * @displayOptions.hide { agent: ["sqlAgent"] }
@@ -20,8 +20,9 @@ export interface LcAgentV14Params {
20
20
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
21
21
  * @placeholderSupported false
22
22
  * @displayOptions.show { promptType: ["define"] }
23
+ * @required when the displayOptions conditions above match
23
24
  */
24
- text: string | Expression<string>;
25
+ text?: string | Expression<string>;
25
26
  /**
26
27
  * Require Specific Output Format
27
28
  * @displayOptions.hide { agent: ["sqlAgent"] }
@@ -20,8 +20,9 @@ export interface LcAgentV15Params {
20
20
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
21
21
  * @placeholderSupported false
22
22
  * @displayOptions.show { promptType: ["define"] }
23
+ * @required when the displayOptions conditions above match
23
24
  */
24
- text: string | Expression<string>;
25
+ text?: string | Expression<string>;
25
26
  /**
26
27
  * Require Specific Output Format
27
28
  * @displayOptions.hide { agent: ["sqlAgent"] }
@@ -20,8 +20,9 @@ export interface LcAgentV16Params {
20
20
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
21
21
  * @placeholderSupported false
22
22
  * @displayOptions.show { promptType: ["define"] }
23
+ * @required when the displayOptions conditions above match
23
24
  */
24
- text: string | Expression<string>;
25
+ text?: string | Expression<string>;
25
26
  /**
26
27
  * Require Specific Output Format
27
28
  * @displayOptions.hide { agent: ["sqlAgent"] }
@@ -20,8 +20,9 @@ export interface LcAgentV17Params {
20
20
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
21
21
  * @placeholderSupported false
22
22
  * @displayOptions.show { promptType: ["define"] }
23
+ * @required when the displayOptions conditions above match
23
24
  */
24
- text: string | Expression<string>;
25
+ text?: string | Expression<string>;
25
26
  /**
26
27
  * Require Specific Output Format
27
28
  * @displayOptions.hide { agent: ["sqlAgent"] }
@@ -20,8 +20,9 @@ export interface LcAgentV18Params {
20
20
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
21
21
  * @placeholderSupported false
22
22
  * @displayOptions.show { promptType: ["define"] }
23
+ * @required when the displayOptions conditions above match
23
24
  */
24
- text: string | Expression<string>;
25
+ text?: string | Expression<string>;
25
26
  /**
26
27
  * Require Specific Output Format
27
28
  * @displayOptions.hide { agent: ["sqlAgent"] }
@@ -20,8 +20,9 @@ export interface LcAgentV19Params {
20
20
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
21
21
  * @placeholderSupported false
22
22
  * @displayOptions.show { promptType: ["define"] }
23
+ * @required when the displayOptions conditions above match
23
24
  */
24
- text: string | Expression<string>;
25
+ text?: string | Expression<string>;
25
26
  /**
26
27
  * Require Specific Output Format
27
28
  * @displayOptions.hide { agent: ["sqlAgent"] }
@@ -11,8 +11,9 @@ export interface LcAgentV2Params {
11
11
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
12
12
  * @placeholderSupported false
13
13
  * @displayOptions.show { promptType: ["define"] }
14
+ * @required when the displayOptions conditions above match
14
15
  */
15
- text: string | Expression<string>;
16
+ text?: string | Expression<string>;
16
17
  hasOutputParser?: boolean;
17
18
  /**
18
19
  * Options
@@ -11,8 +11,9 @@ export interface LcAgentV21Params {
11
11
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
12
12
  * @placeholderSupported false
13
13
  * @displayOptions.show { promptType: ["define"] }
14
+ * @required when the displayOptions conditions above match
14
15
  */
15
- text: string | Expression<string>;
16
+ text?: string | Expression<string>;
16
17
  hasOutputParser?: boolean;
17
18
  /**
18
19
  * Enable Fallback Model
@@ -11,8 +11,9 @@ export interface LcAgentV22Params {
11
11
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
12
12
  * @placeholderSupported false
13
13
  * @displayOptions.show { promptType: ["define"] }
14
+ * @required when the displayOptions conditions above match
14
15
  */
15
- text: string | Expression<string>;
16
+ text?: string | Expression<string>;
16
17
  hasOutputParser?: boolean;
17
18
  /**
18
19
  * Enable Fallback Model
@@ -15,8 +15,9 @@ export interface LcAgentV3Params {
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @placeholderSupported false
17
17
  * @displayOptions.show { promptType: ["define"] }
18
+ * @required when the displayOptions conditions above match
18
19
  */
19
- text: string | Expression<string>;
20
+ text?: string | Expression<string>;
20
21
  /**
21
22
  * Require Specific Output Format
22
23
  * @builderHint Set to `true` when you need structured JSON output. The agent then requires an `outputParser` entry in its `subnodes` config (typically an `outputParserStructured` node defined via the `outputParser({...})` SDK factory). With `hasOutputParser: false` the agent returns a plain string in `$json.output`.
@@ -16,8 +16,9 @@ export interface LcAgentV31Params {
16
16
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
17
17
  * @placeholderSupported false
18
18
  * @displayOptions.show { promptType: ["define"] }
19
+ * @required when the displayOptions conditions above match
19
20
  */
20
- text: string | Expression<string>;
21
+ text?: string | Expression<string>;
21
22
  /**
22
23
  * Require Specific Output Format
23
24
  * @builderHint Set to `true` when you need structured JSON output. The agent then requires an `outputParser` entry in its `subnodes` config (typically an `outputParserStructured` node defined via the `outputParser({...})` SDK factory). With `hasOutputParser: false` the agent returns a plain string in `$json.output`.
@@ -25,8 +25,9 @@ export type LcAlibabaCloudV1ImageAnalyzeParams = {
25
25
  /**
26
26
  * The URL of the image to analyze
27
27
  * @displayOptions.show { inputType: ["url"] }
28
+ * @required when the displayOptions conditions above match
28
29
  */
29
- imageUrl: string | Expression<string>;
30
+ imageUrl?: string | Expression<string>;
30
31
  /**
31
32
  * Input Data Field Name
32
33
  * @hint The name of the input field containing the binary file data to be processed
@@ -57,21 +57,22 @@ export type LcAlibabaCloudV1ImageGenerateParams = {
57
57
  * @default {}
58
58
  */
59
59
  imageOptions?: {
60
- /** The size of the generated image
61
- * @displayOptions.show { /modelId: ["z-image-turbo"] }
62
- * @default 1024*1024
63
- */
64
- size?: '1024*1024' | '720*1280' | '1280*720' | Expression<string>;
65
- /** The size of the generated image
66
- * @displayOptions.show { /modelId: ["wan2.6-t2i", "wan2.6-image"] }
67
- * @default 1280*1280
68
- */
69
- size?: '1104*1472' | '1280*1280' | '1472*1104' | '1696*960' | '960*1696' | Expression<string>;
70
- /** The size of the generated image
71
- * @displayOptions.show { /modelId: ["qwen-image", "qwen-image-plus", "qwen-image-max"] }
72
- * @default 1664*928
73
- */
74
- size?: '1104*1472' | '1328*1328' | '1472*1104' | '1664*928' | '928*1664' | Expression<string>;
60
+ size?:
61
+ /** The size of the generated image
62
+ * @displayOptions.show { /modelId: ["z-image-turbo"] }
63
+ * @default 1024*1024
64
+ */
65
+ | '1024*1024' | '720*1280' | '1280*720' | Expression<string>
66
+ /** The size of the generated image
67
+ * @displayOptions.show { /modelId: ["wan2.6-t2i", "wan2.6-image"] }
68
+ * @default 1280*1280
69
+ */
70
+ | '1104*1472' | '1280*1280' | '1472*1104' | '1696*960' | '960*1696' | Expression<string>
71
+ /** The size of the generated image
72
+ * @displayOptions.show { /modelId: ["qwen-image", "qwen-image-plus", "qwen-image-max"] }
73
+ * @default 1664*928
74
+ */
75
+ | '1104*1472' | '1328*1328' | '1472*1104' | '1664*928' | '928*1664' | Expression<string>;
75
76
  /** Whether to automatically extend and enhance the prompt
76
77
  * @default false
77
78
  */
@@ -25,8 +25,9 @@ export type LcAlibabaCloudV1VideoImageToVideoParams = {
25
25
  /**
26
26
  * The URL of the first-frame image to generate video from
27
27
  * @displayOptions.show { inputType: ["url"] }
28
+ * @required when the displayOptions conditions above match
28
29
  */
29
- imgUrl: string | Expression<string>;
30
+ imgUrl?: string | Expression<string>;
30
31
  /**
31
32
  * Input Data Field Name
32
33
  * @hint The name of the input field containing the binary file data to be processed
@@ -26,8 +26,9 @@ export type LcAlibabaCloudV11ImageAnalyzeParams = {
26
26
  /**
27
27
  * The URL of the image to analyze
28
28
  * @displayOptions.show { inputType: ["url"] }
29
+ * @required when the displayOptions conditions above match
29
30
  */
30
- imageUrl: string | Expression<string>;
31
+ imageUrl?: string | Expression<string>;
31
32
  /**
32
33
  * Input Data Field Name
33
34
  * @hint The name of the input field containing the binary file data to be processed
@@ -58,21 +58,22 @@ export type LcAlibabaCloudV11ImageGenerateParams = {
58
58
  * @default {}
59
59
  */
60
60
  imageOptions?: {
61
- /** The size of the generated image
62
- * @displayOptions.show { /modelId: ["z-image-turbo"] }
63
- * @default 1024*1024
64
- */
65
- size?: '1024*1024' | '720*1280' | '1280*720' | Expression<string>;
66
- /** The size of the generated image
67
- * @displayOptions.show { /modelId: ["wan2.6-t2i", "wan2.6-image"] }
68
- * @default 1280*1280
69
- */
70
- size?: '1104*1472' | '1280*1280' | '1472*1104' | '1696*960' | '960*1696' | Expression<string>;
71
- /** The size of the generated image
72
- * @displayOptions.show { /modelId: ["qwen-image", "qwen-image-plus", "qwen-image-max"] }
73
- * @default 1664*928
74
- */
75
- size?: '1104*1472' | '1328*1328' | '1472*1104' | '1664*928' | '928*1664' | Expression<string>;
61
+ size?:
62
+ /** The size of the generated image
63
+ * @displayOptions.show { /modelId: ["z-image-turbo"] }
64
+ * @default 1024*1024
65
+ */
66
+ | '1024*1024' | '720*1280' | '1280*720' | Expression<string>
67
+ /** The size of the generated image
68
+ * @displayOptions.show { /modelId: ["wan2.6-t2i", "wan2.6-image"] }
69
+ * @default 1280*1280
70
+ */
71
+ | '1104*1472' | '1280*1280' | '1472*1104' | '1696*960' | '960*1696' | Expression<string>
72
+ /** The size of the generated image
73
+ * @displayOptions.show { /modelId: ["qwen-image", "qwen-image-plus", "qwen-image-max"] }
74
+ * @default 1664*928
75
+ */
76
+ | '1104*1472' | '1328*1328' | '1472*1104' | '1664*928' | '928*1664' | Expression<string>;
76
77
  /** Whether to automatically extend and enhance the prompt
77
78
  * @default false
78
79
  */
@@ -26,8 +26,9 @@ export type LcAlibabaCloudV11VideoImageToVideoParams = {
26
26
  /**
27
27
  * The URL of the first-frame image to generate video from
28
28
  * @displayOptions.show { inputType: ["url"] }
29
+ * @required when the displayOptions conditions above match
29
30
  */
30
- imgUrl: string | Expression<string>;
31
+ imgUrl?: string | Expression<string>;
31
32
  /**
32
33
  * Input Data Field Name
33
34
  * @hint The name of the input field containing the binary file data to be processed
@@ -14,8 +14,9 @@ export interface LcChainLlmV1Params {
14
14
  * Prompt (User Message)
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @displayOptions.show { promptType: ["define"] }
17
+ * @required when the displayOptions conditions above match
17
18
  */
18
- text: string | Expression<string>;
19
+ text?: string | Expression<string>;
19
20
  messages?: {
20
21
  /** Prompt
21
22
  */
@@ -14,8 +14,9 @@ export interface LcChainLlmV11Params {
14
14
  * Prompt (User Message)
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @displayOptions.show { promptType: ["define"] }
17
+ * @required when the displayOptions conditions above match
17
18
  */
18
- text: string | Expression<string>;
19
+ text?: string | Expression<string>;
19
20
  messages?: {
20
21
  /** Prompt
21
22
  */
@@ -14,8 +14,9 @@ export interface LcChainLlmV12Params {
14
14
  * Prompt (User Message)
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @displayOptions.show { promptType: ["define"] }
17
+ * @required when the displayOptions conditions above match
17
18
  */
18
- text: string | Expression<string>;
19
+ text?: string | Expression<string>;
19
20
  /**
20
21
  * Require Specific Output Format
21
22
  * @default false
@@ -14,8 +14,9 @@ export interface LcChainLlmV13Params {
14
14
  * Prompt (User Message)
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @displayOptions.show { promptType: ["define"] }
17
+ * @required when the displayOptions conditions above match
17
18
  */
18
- text: string | Expression<string>;
19
+ text?: string | Expression<string>;
19
20
  messages?: {
20
21
  /** Prompt
21
22
  */
@@ -14,8 +14,9 @@ export interface LcChainLlmV14Params {
14
14
  * Prompt (User Message)
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @displayOptions.show { promptType: ["define"] }
17
+ * @required when the displayOptions conditions above match
17
18
  */
18
- text: string | Expression<string>;
19
+ text?: string | Expression<string>;
19
20
  /**
20
21
  * Require Specific Output Format
21
22
  * @default false
@@ -14,8 +14,9 @@ export interface LcChainLlmV15Params {
14
14
  * Prompt (User Message)
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @displayOptions.show { promptType: ["define"] }
17
+ * @required when the displayOptions conditions above match
17
18
  */
18
- text: string | Expression<string>;
19
+ text?: string | Expression<string>;
19
20
  /**
20
21
  * Require Specific Output Format
21
22
  * @default false
@@ -14,8 +14,9 @@ export interface LcChainLlmV16Params {
14
14
  * Prompt (User Message)
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @displayOptions.show { promptType: ["define"] }
17
+ * @required when the displayOptions conditions above match
17
18
  */
18
- text: string | Expression<string>;
19
+ text?: string | Expression<string>;
19
20
  /**
20
21
  * Require Specific Output Format
21
22
  * @default false
@@ -14,8 +14,9 @@ export interface LcChainLlmV17Params {
14
14
  * Prompt (User Message)
15
15
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
16
16
  * @displayOptions.show { promptType: ["define"] }
17
+ * @required when the displayOptions conditions above match
17
18
  */
18
- text: string | Expression<string>;
19
+ text?: string | Expression<string>;
19
20
  /**
20
21
  * Require Specific Output Format
21
22
  * @default false
@@ -15,8 +15,9 @@ export interface LcChainLlmV18Params {
15
15
  * Prompt (User Message)
16
16
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
17
17
  * @displayOptions.show { promptType: ["define"] }
18
+ * @required when the displayOptions conditions above match
18
19
  */
19
- text: string | Expression<string>;
20
+ text?: string | Expression<string>;
20
21
  /**
21
22
  * Require Specific Output Format
22
23
  * @default false
@@ -15,8 +15,9 @@ export interface LcChainLlmV19Params {
15
15
  * Prompt (User Message)
16
16
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
17
17
  * @displayOptions.show { promptType: ["define"] }
18
+ * @required when the displayOptions conditions above match
18
19
  */
19
- text: string | Expression<string>;
20
+ text?: string | Expression<string>;
20
21
  /**
21
22
  * Require Specific Output Format
22
23
  * @default false
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
22
22
  const parametersSchema = z.object({
23
23
  query: stringOrExpression.optional(),
24
24
  text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}} }),
25
- options: z.object({ systemPromptTemplate: stringOrExpression.optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
25
+ options: z.object({ systemPromptTemplate: stringOrExpression.optional() }).optional(),
26
26
  });
27
27
 
28
28
  // Return combined config schema
@@ -13,28 +13,13 @@ export interface LcChainRetrievalQaV1Params {
13
13
  /**
14
14
  * Prompt (User Message)
15
15
  * @displayOptions.show { promptType: ["define"] }
16
+ * @required when the displayOptions conditions above match
16
17
  */
17
- text: string | Expression<string>;
18
+ text?: string | Expression<string>;
18
19
  options?: {
19
20
  /** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{question}` for the user’s query.
20
21
  */
21
22
  systemPromptTemplate?: string | Expression<string>;
22
- /** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{input}` for the user’s query.
23
- */
24
- systemPromptTemplate?: string | Expression<string>;
25
- /** Batch processing options for rate limiting
26
- * @default {}
27
- */
28
- batching?: {
29
- /** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
30
- * @default 5
31
- */
32
- batchSize?: number | Expression<number>;
33
- /** Delay in milliseconds between batches. This is useful for rate limiting.
34
- * @default 0
35
- */
36
- delayBetweenBatches?: number | Expression<number>;
37
- };
38
23
  };
39
24
  }
40
25
 
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
22
22
  const parametersSchema = z.object({
23
23
  query: stringOrExpression.optional(),
24
24
  text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}} }),
25
- options: z.object({ systemPromptTemplate: stringOrExpression.optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
25
+ options: z.object({ systemPromptTemplate: stringOrExpression.optional() }).optional(),
26
26
  });
27
27
 
28
28
  // Return combined config schema
@@ -13,28 +13,13 @@ export interface LcChainRetrievalQaV11Params {
13
13
  /**
14
14
  * Prompt (User Message)
15
15
  * @displayOptions.show { promptType: ["define"] }
16
+ * @required when the displayOptions conditions above match
16
17
  */
17
- text: string | Expression<string>;
18
+ text?: string | Expression<string>;
18
19
  options?: {
19
20
  /** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{question}` for the user’s query.
20
21
  */
21
22
  systemPromptTemplate?: string | Expression<string>;
22
- /** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{input}` for the user’s query.
23
- */
24
- systemPromptTemplate?: string | Expression<string>;
25
- /** Batch processing options for rate limiting
26
- * @default {}
27
- */
28
- batching?: {
29
- /** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
30
- * @default 5
31
- */
32
- batchSize?: number | Expression<number>;
33
- /** Delay in milliseconds between batches. This is useful for rate limiting.
34
- * @default 0
35
- */
36
- delayBetweenBatches?: number | Expression<number>;
37
- };
38
23
  };
39
24
  }
40
25
 
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
22
22
  const parametersSchema = z.object({
23
23
  query: stringOrExpression.optional(),
24
24
  text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}} }),
25
- options: z.object({ systemPromptTemplate: stringOrExpression.optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
25
+ options: z.object({ systemPromptTemplate: stringOrExpression.optional() }).optional(),
26
26
  });
27
27
 
28
28
  // Return combined config schema
@@ -13,28 +13,13 @@ export interface LcChainRetrievalQaV12Params {
13
13
  /**
14
14
  * Prompt (User Message)
15
15
  * @displayOptions.show { promptType: ["define"] }
16
+ * @required when the displayOptions conditions above match
16
17
  */
17
- text: string | Expression<string>;
18
+ text?: string | Expression<string>;
18
19
  options?: {
19
20
  /** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{question}` for the user’s query.
20
21
  */
21
22
  systemPromptTemplate?: string | Expression<string>;
22
- /** Template string used for the system prompt. This should include the variable `{context}` for the provided context. For text completion models, you should also include the variable `{input}` for the user’s query.
23
- */
24
- systemPromptTemplate?: string | Expression<string>;
25
- /** Batch processing options for rate limiting
26
- * @default {}
27
- */
28
- batching?: {
29
- /** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
30
- * @default 5
31
- */
32
- batchSize?: number | Expression<number>;
33
- /** Delay in milliseconds between batches. This is useful for rate limiting.
34
- * @default 0
35
- */
36
- delayBetweenBatches?: number | Expression<number>;
37
- };
38
23
  };
39
24
  }
40
25
 
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
22
22
  const parametersSchema = z.object({
23
23
  promptType: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]).optional(),
24
24
  text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}}, defaults: {"promptType":"auto"} }),
25
- options: z.object({ systemPromptTemplate: stringOrExpression.optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
25
+ options: z.object({ systemPromptTemplate: stringOrExpression.optional() }).optional(),
26
26
  });
27
27
 
28
28
  // Return combined config schema