langchain 0.3.31 → 1.0.0-alpha.2

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 (2477) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +38 -0
  2. package/dist/_virtual/rolldown_runtime.js +34 -0
  3. package/dist/agents/ReactAgent.cjs +247 -0
  4. package/dist/agents/ReactAgent.cjs.map +1 -0
  5. package/dist/agents/ReactAgent.d.cts +68 -0
  6. package/dist/agents/ReactAgent.d.cts.map +1 -0
  7. package/dist/agents/ReactAgent.d.ts +68 -0
  8. package/dist/agents/ReactAgent.d.ts.map +1 -0
  9. package/dist/agents/ReactAgent.js +246 -0
  10. package/dist/agents/ReactAgent.js.map +1 -0
  11. package/dist/agents/RunnableCallable.cjs +30 -0
  12. package/dist/agents/RunnableCallable.cjs.map +1 -0
  13. package/dist/agents/RunnableCallable.d.cts +34 -0
  14. package/dist/agents/RunnableCallable.d.cts.map +1 -0
  15. package/dist/agents/RunnableCallable.d.ts +34 -0
  16. package/dist/agents/RunnableCallable.d.ts.map +1 -0
  17. package/dist/agents/RunnableCallable.js +29 -0
  18. package/dist/agents/RunnableCallable.js.map +1 -0
  19. package/dist/agents/annotation.cjs +29 -0
  20. package/dist/agents/annotation.cjs.map +1 -0
  21. package/dist/agents/annotation.d.cts +38 -0
  22. package/dist/agents/annotation.d.cts.map +1 -0
  23. package/dist/agents/annotation.d.ts +38 -0
  24. package/dist/agents/annotation.d.ts.map +1 -0
  25. package/dist/agents/annotation.js +28 -0
  26. package/dist/agents/annotation.js.map +1 -0
  27. package/dist/agents/constants.cjs +7 -0
  28. package/dist/agents/constants.cjs.map +1 -0
  29. package/dist/agents/constants.js +6 -0
  30. package/dist/agents/constants.js.map +1 -0
  31. package/dist/agents/errors.cjs +49 -0
  32. package/dist/agents/errors.cjs.map +1 -0
  33. package/dist/agents/errors.d.cts +25 -0
  34. package/dist/agents/errors.d.cts.map +1 -0
  35. package/dist/agents/errors.d.ts +25 -0
  36. package/dist/agents/errors.d.ts.map +1 -0
  37. package/dist/agents/errors.js +45 -0
  38. package/dist/agents/errors.js.map +1 -0
  39. package/dist/agents/index.cjs +16 -59
  40. package/dist/agents/index.cjs.map +1 -0
  41. package/dist/agents/index.d.cts +98 -0
  42. package/dist/agents/index.d.cts.map +1 -0
  43. package/dist/agents/index.d.ts +98 -20
  44. package/dist/agents/index.d.ts.map +1 -0
  45. package/dist/agents/index.js +14 -19
  46. package/dist/agents/index.js.map +1 -0
  47. package/dist/agents/interrupt.cjs +2 -0
  48. package/dist/agents/interrupt.d.cts +79 -0
  49. package/dist/agents/interrupt.d.cts.map +1 -0
  50. package/dist/agents/interrupt.d.ts +82 -0
  51. package/dist/agents/interrupt.d.ts.map +1 -0
  52. package/dist/agents/interrupt.js +1 -0
  53. package/dist/agents/nodes/AgentNode.cjs +266 -0
  54. package/dist/agents/nodes/AgentNode.cjs.map +1 -0
  55. package/dist/agents/nodes/AgentNode.js +265 -0
  56. package/dist/agents/nodes/AgentNode.js.map +1 -0
  57. package/dist/agents/nodes/ToolNode.cjs +169 -0
  58. package/dist/agents/nodes/ToolNode.cjs.map +1 -0
  59. package/dist/agents/nodes/ToolNode.d.cts +98 -0
  60. package/dist/agents/nodes/ToolNode.d.cts.map +1 -0
  61. package/dist/agents/nodes/ToolNode.d.ts +98 -0
  62. package/dist/agents/nodes/ToolNode.d.ts.map +1 -0
  63. package/dist/agents/nodes/ToolNode.js +168 -0
  64. package/dist/agents/nodes/ToolNode.js.map +1 -0
  65. package/dist/agents/nodes/utils.cjs +17 -0
  66. package/dist/agents/nodes/utils.cjs.map +1 -0
  67. package/dist/agents/nodes/utils.js +16 -0
  68. package/dist/agents/nodes/utils.js.map +1 -0
  69. package/dist/agents/responses.cjs +167 -0
  70. package/dist/agents/responses.cjs.map +1 -0
  71. package/dist/agents/responses.d.cts +121 -0
  72. package/dist/agents/responses.d.cts.map +1 -0
  73. package/dist/agents/responses.d.ts +121 -0
  74. package/dist/agents/responses.d.ts.map +1 -0
  75. package/dist/agents/responses.js +162 -0
  76. package/dist/agents/responses.js.map +1 -0
  77. package/dist/agents/types.d.cts +261 -0
  78. package/dist/agents/types.d.cts.map +1 -0
  79. package/dist/agents/types.d.ts +252 -84
  80. package/dist/agents/types.d.ts.map +1 -0
  81. package/dist/agents/utils.cjs +254 -0
  82. package/dist/agents/utils.cjs.map +1 -0
  83. package/dist/agents/utils.js +246 -0
  84. package/dist/agents/utils.js.map +1 -0
  85. package/dist/agents/withAgentName.cjs +39 -0
  86. package/dist/agents/withAgentName.cjs.map +1 -0
  87. package/dist/agents/withAgentName.js +38 -0
  88. package/dist/agents/withAgentName.js.map +1 -0
  89. package/dist/chains/analyze_documents_chain.cjs +81 -97
  90. package/dist/chains/analyze_documents_chain.cjs.map +1 -0
  91. package/dist/chains/analyze_documents_chain.d.cts +58 -0
  92. package/dist/chains/analyze_documents_chain.d.cts.map +1 -0
  93. package/dist/chains/analyze_documents_chain.d.ts +27 -21
  94. package/dist/chains/analyze_documents_chain.d.ts.map +1 -0
  95. package/dist/chains/analyze_documents_chain.js +80 -93
  96. package/dist/chains/analyze_documents_chain.js.map +1 -0
  97. package/dist/chains/api/api_chain.cjs +98 -118
  98. package/dist/chains/api/api_chain.cjs.map +1 -0
  99. package/dist/chains/api/api_chain.d.cts +63 -0
  100. package/dist/chains/api/api_chain.d.cts.map +1 -0
  101. package/dist/chains/api/api_chain.d.ts +47 -41
  102. package/dist/chains/api/api_chain.d.ts.map +1 -0
  103. package/dist/chains/api/api_chain.js +97 -113
  104. package/dist/chains/api/api_chain.js.map +1 -0
  105. package/dist/chains/api/prompts.cjs +22 -13
  106. package/dist/chains/api/prompts.cjs.map +1 -0
  107. package/dist/chains/api/prompts.js +19 -9
  108. package/dist/chains/api/prompts.js.map +1 -0
  109. package/dist/chains/base.cjs +178 -232
  110. package/dist/chains/base.cjs.map +1 -0
  111. package/dist/chains/base.d.cts +88 -0
  112. package/dist/chains/base.d.cts.map +1 -0
  113. package/dist/chains/base.d.ts +81 -76
  114. package/dist/chains/base.d.ts.map +1 -0
  115. package/dist/chains/base.js +177 -195
  116. package/dist/chains/base.js.map +1 -0
  117. package/dist/chains/chat_vector_db_chain.cjs +116 -163
  118. package/dist/chains/chat_vector_db_chain.cjs.map +1 -0
  119. package/dist/chains/chat_vector_db_chain.d.cts +62 -0
  120. package/dist/chains/chat_vector_db_chain.d.cts.map +1 -0
  121. package/dist/chains/chat_vector_db_chain.d.ts +53 -47
  122. package/dist/chains/chat_vector_db_chain.d.ts.map +1 -0
  123. package/dist/chains/chat_vector_db_chain.js +113 -157
  124. package/dist/chains/chat_vector_db_chain.js.map +1 -0
  125. package/dist/chains/combine_docs_chain.cjs +271 -397
  126. package/dist/chains/combine_docs_chain.cjs.map +1 -0
  127. package/dist/chains/combine_docs_chain.d.cts +126 -0
  128. package/dist/chains/combine_docs_chain.d.cts.map +1 -0
  129. package/dist/chains/combine_docs_chain.d.ts +92 -86
  130. package/dist/chains/combine_docs_chain.d.ts.map +1 -0
  131. package/dist/chains/combine_docs_chain.js +267 -390
  132. package/dist/chains/combine_docs_chain.js.map +1 -0
  133. package/dist/chains/combine_documents/base.cjs +21 -18
  134. package/dist/chains/combine_documents/base.cjs.map +1 -0
  135. package/dist/chains/combine_documents/base.js +16 -13
  136. package/dist/chains/combine_documents/base.js.map +1 -0
  137. package/dist/chains/combine_documents/index.cjs +16 -5
  138. package/dist/chains/combine_documents/index.cjs.map +1 -0
  139. package/dist/chains/combine_documents/index.d.cts +2 -0
  140. package/dist/chains/combine_documents/index.d.ts +2 -1
  141. package/dist/chains/combine_documents/index.js +10 -1
  142. package/dist/chains/combine_documents/index.js.map +1 -0
  143. package/dist/chains/combine_documents/reduce.cjs +66 -64
  144. package/dist/chains/combine_documents/reduce.cjs.map +1 -0
  145. package/dist/chains/combine_documents/reduce.d.cts +36 -0
  146. package/dist/chains/combine_documents/reduce.d.cts.map +1 -0
  147. package/dist/chains/combine_documents/reduce.d.ts +10 -2
  148. package/dist/chains/combine_documents/reduce.d.ts.map +1 -0
  149. package/dist/chains/combine_documents/reduce.js +60 -61
  150. package/dist/chains/combine_documents/reduce.js.map +1 -0
  151. package/dist/chains/combine_documents/stuff.cjs +39 -39
  152. package/dist/chains/combine_documents/stuff.cjs.map +1 -0
  153. package/dist/chains/combine_documents/stuff.d.cts +40 -0
  154. package/dist/chains/combine_documents/stuff.d.cts.map +1 -0
  155. package/dist/chains/combine_documents/stuff.d.ts +21 -9
  156. package/dist/chains/combine_documents/stuff.d.ts.map +1 -0
  157. package/dist/chains/combine_documents/stuff.js +38 -36
  158. package/dist/chains/combine_documents/stuff.js.map +1 -0
  159. package/dist/chains/constitutional_ai/constitutional_chain.cjs +129 -159
  160. package/dist/chains/constitutional_ai/constitutional_chain.cjs.map +1 -0
  161. package/dist/chains/constitutional_ai/constitutional_chain.d.cts +79 -0
  162. package/dist/chains/constitutional_ai/constitutional_chain.d.cts.map +1 -0
  163. package/dist/chains/constitutional_ai/constitutional_chain.d.ts +46 -40
  164. package/dist/chains/constitutional_ai/constitutional_chain.d.ts.map +1 -0
  165. package/dist/chains/constitutional_ai/constitutional_chain.js +127 -153
  166. package/dist/chains/constitutional_ai/constitutional_chain.js.map +1 -0
  167. package/dist/chains/constitutional_ai/constitutional_principle.cjs +320 -332
  168. package/dist/chains/constitutional_ai/constitutional_principle.cjs.map +1 -0
  169. package/dist/chains/constitutional_ai/constitutional_principle.d.cts +50 -0
  170. package/dist/chains/constitutional_ai/constitutional_principle.d.cts.map +1 -0
  171. package/dist/chains/constitutional_ai/constitutional_principle.d.ts +20 -10
  172. package/dist/chains/constitutional_ai/constitutional_principle.d.ts.map +1 -0
  173. package/dist/chains/constitutional_ai/constitutional_principle.js +318 -328
  174. package/dist/chains/constitutional_ai/constitutional_principle.js.map +1 -0
  175. package/dist/chains/constitutional_ai/constitutional_prompts.cjs +68 -59
  176. package/dist/chains/constitutional_ai/constitutional_prompts.cjs.map +1 -0
  177. package/dist/chains/constitutional_ai/constitutional_prompts.js +65 -55
  178. package/dist/chains/constitutional_ai/constitutional_prompts.js.map +1 -0
  179. package/dist/chains/conversation.cjs +43 -40
  180. package/dist/chains/conversation.cjs.map +1 -0
  181. package/dist/chains/conversation.d.cts +34 -0
  182. package/dist/chains/conversation.d.cts.map +1 -0
  183. package/dist/chains/conversation.d.ts +14 -4
  184. package/dist/chains/conversation.d.ts.map +1 -0
  185. package/dist/chains/conversation.js +40 -35
  186. package/dist/chains/conversation.js.map +1 -0
  187. package/dist/chains/conversational_retrieval_chain.cjs +210 -277
  188. package/dist/chains/conversational_retrieval_chain.cjs.map +1 -0
  189. package/dist/chains/conversational_retrieval_chain.d.cts +152 -0
  190. package/dist/chains/conversational_retrieval_chain.d.cts.map +1 -0
  191. package/dist/chains/conversational_retrieval_chain.d.ts +66 -60
  192. package/dist/chains/conversational_retrieval_chain.d.ts.map +1 -0
  193. package/dist/chains/conversational_retrieval_chain.js +207 -271
  194. package/dist/chains/conversational_retrieval_chain.js.map +1 -0
  195. package/dist/chains/graph_qa/cypher.cjs +130 -178
  196. package/dist/chains/graph_qa/cypher.cjs.map +1 -0
  197. package/dist/chains/graph_qa/cypher.d.cts +76 -0
  198. package/dist/chains/graph_qa/cypher.d.cts.map +1 -0
  199. package/dist/chains/graph_qa/cypher.d.ts +46 -38
  200. package/dist/chains/graph_qa/cypher.d.ts.map +1 -0
  201. package/dist/chains/graph_qa/cypher.js +122 -173
  202. package/dist/chains/graph_qa/cypher.js.map +1 -0
  203. package/dist/chains/graph_qa/prompts.cjs +15 -10
  204. package/dist/chains/graph_qa/prompts.cjs.map +1 -0
  205. package/dist/chains/graph_qa/prompts.js +12 -6
  206. package/dist/chains/graph_qa/prompts.js.map +1 -0
  207. package/dist/chains/history_aware_retriever.cjs +53 -51
  208. package/dist/chains/history_aware_retriever.cjs.map +1 -0
  209. package/dist/chains/history_aware_retriever.d.cts +64 -0
  210. package/dist/chains/history_aware_retriever.d.cts.map +1 -0
  211. package/dist/chains/history_aware_retriever.d.ts +32 -22
  212. package/dist/chains/history_aware_retriever.d.ts.map +1 -0
  213. package/dist/chains/history_aware_retriever.js +46 -47
  214. package/dist/chains/history_aware_retriever.js.map +1 -0
  215. package/dist/chains/index.cjs +109 -62
  216. package/dist/chains/index.cjs.map +1 -0
  217. package/dist/chains/index.d.cts +26 -0
  218. package/dist/chains/index.d.ts +26 -25
  219. package/dist/chains/index.js +69 -24
  220. package/dist/chains/index.js.map +1 -0
  221. package/dist/chains/llm_chain.cjs +149 -214
  222. package/dist/chains/llm_chain.cjs.map +1 -0
  223. package/dist/chains/llm_chain.d.cts +97 -0
  224. package/dist/chains/llm_chain.d.cts.map +1 -0
  225. package/dist/chains/llm_chain.d.ts +69 -64
  226. package/dist/chains/llm_chain.d.ts.map +1 -0
  227. package/dist/chains/llm_chain.js +147 -209
  228. package/dist/chains/llm_chain.js.map +1 -0
  229. package/dist/chains/load.cjs +42 -33
  230. package/dist/chains/load.cjs.map +1 -0
  231. package/dist/chains/load.d.cts +30 -0
  232. package/dist/chains/load.d.cts.map +1 -0
  233. package/dist/chains/load.d.ts +8 -1
  234. package/dist/chains/load.d.ts.map +1 -0
  235. package/dist/chains/load.js +34 -27
  236. package/dist/chains/load.js.map +1 -0
  237. package/dist/chains/openai_functions/base.cjs +133 -137
  238. package/dist/chains/openai_functions/base.cjs.map +1 -0
  239. package/dist/chains/openai_functions/base.d.cts +172 -0
  240. package/dist/chains/openai_functions/base.d.cts.map +1 -0
  241. package/dist/chains/openai_functions/base.d.ts +59 -41
  242. package/dist/chains/openai_functions/base.d.ts.map +1 -0
  243. package/dist/chains/openai_functions/base.js +132 -134
  244. package/dist/chains/openai_functions/base.js.map +1 -0
  245. package/dist/chains/openai_functions/extraction.cjs +58 -60
  246. package/dist/chains/openai_functions/extraction.cjs.map +1 -0
  247. package/dist/chains/openai_functions/extraction.d.cts +31 -0
  248. package/dist/chains/openai_functions/extraction.d.cts.map +1 -0
  249. package/dist/chains/openai_functions/extraction.d.ts +14 -5
  250. package/dist/chains/openai_functions/extraction.d.ts.map +1 -0
  251. package/dist/chains/openai_functions/extraction.js +56 -56
  252. package/dist/chains/openai_functions/extraction.js.map +1 -0
  253. package/dist/chains/openai_functions/index.cjs +38 -17
  254. package/dist/chains/openai_functions/index.cjs.map +1 -0
  255. package/dist/chains/openai_functions/index.d.cts +6 -0
  256. package/dist/chains/openai_functions/index.d.ts +6 -5
  257. package/dist/chains/openai_functions/index.js +24 -5
  258. package/dist/chains/openai_functions/index.js.map +1 -0
  259. package/dist/chains/openai_functions/openapi.cjs +271 -388
  260. package/dist/chains/openai_functions/openapi.cjs.map +1 -0
  261. package/dist/chains/openai_functions/openapi.d.cts +61 -0
  262. package/dist/chains/openai_functions/openapi.d.cts.map +1 -0
  263. package/dist/chains/openai_functions/openapi.d.ts +32 -24
  264. package/dist/chains/openai_functions/openapi.d.ts.map +1 -0
  265. package/dist/chains/openai_functions/openapi.js +268 -382
  266. package/dist/chains/openai_functions/openapi.js.map +1 -0
  267. package/dist/chains/openai_functions/structured_output.cjs +98 -140
  268. package/dist/chains/openai_functions/structured_output.cjs.map +1 -0
  269. package/dist/chains/openai_functions/structured_output.d.cts +38 -0
  270. package/dist/chains/openai_functions/structured_output.d.cts.map +1 -0
  271. package/dist/chains/openai_functions/structured_output.d.ts +20 -41
  272. package/dist/chains/openai_functions/structured_output.d.ts.map +1 -0
  273. package/dist/chains/openai_functions/structured_output.js +96 -134
  274. package/dist/chains/openai_functions/structured_output.js.map +1 -0
  275. package/dist/chains/openai_functions/tagging.cjs +59 -59
  276. package/dist/chains/openai_functions/tagging.cjs.map +1 -0
  277. package/dist/chains/openai_functions/tagging.d.cts +49 -0
  278. package/dist/chains/openai_functions/tagging.d.cts.map +1 -0
  279. package/dist/chains/openai_functions/tagging.d.ts +17 -8
  280. package/dist/chains/openai_functions/tagging.d.ts.map +1 -0
  281. package/dist/chains/openai_functions/tagging.js +57 -55
  282. package/dist/chains/openai_functions/tagging.js.map +1 -0
  283. package/dist/chains/openai_moderation.cjs +105 -161
  284. package/dist/chains/openai_moderation.cjs.map +1 -0
  285. package/dist/chains/openai_moderation.d.cts +74 -0
  286. package/dist/chains/openai_moderation.d.cts.map +1 -0
  287. package/dist/chains/openai_moderation.d.ts +34 -28
  288. package/dist/chains/openai_moderation.d.ts.map +1 -0
  289. package/dist/chains/openai_moderation.js +103 -156
  290. package/dist/chains/openai_moderation.js.map +1 -0
  291. package/dist/chains/query_constructor/index.cjs +136 -145
  292. package/dist/chains/query_constructor/index.cjs.map +1 -0
  293. package/dist/chains/query_constructor/index.d.cts +80 -0
  294. package/dist/chains/query_constructor/index.d.cts.map +1 -0
  295. package/dist/chains/query_constructor/index.d.ts +57 -49
  296. package/dist/chains/query_constructor/index.d.ts.map +1 -0
  297. package/dist/chains/query_constructor/index.js +121 -134
  298. package/dist/chains/query_constructor/index.js.map +1 -0
  299. package/dist/chains/query_constructor/ir.cjs +22 -17
  300. package/dist/chains/query_constructor/ir.cjs.map +1 -0
  301. package/dist/chains/query_constructor/ir.d.cts +1 -0
  302. package/dist/chains/query_constructor/ir.d.ts +1 -1
  303. package/dist/chains/query_constructor/ir.js +12 -1
  304. package/dist/chains/query_constructor/ir.js.map +1 -0
  305. package/dist/chains/query_constructor/parser.cjs +78 -123
  306. package/dist/chains/query_constructor/parser.cjs.map +1 -0
  307. package/dist/chains/query_constructor/parser.d.cts +43 -0
  308. package/dist/chains/query_constructor/parser.d.cts.map +1 -0
  309. package/dist/chains/query_constructor/parser.d.ts +34 -28
  310. package/dist/chains/query_constructor/parser.d.ts.map +1 -0
  311. package/dist/chains/query_constructor/parser.js +78 -120
  312. package/dist/chains/query_constructor/parser.js.map +1 -0
  313. package/dist/chains/query_constructor/prompt.cjs +39 -31
  314. package/dist/chains/query_constructor/prompt.cjs.map +1 -0
  315. package/dist/chains/query_constructor/prompt.d.cts +22 -0
  316. package/dist/chains/query_constructor/prompt.d.cts.map +1 -0
  317. package/dist/chains/query_constructor/prompt.d.ts +19 -17
  318. package/dist/chains/query_constructor/prompt.d.ts.map +1 -0
  319. package/dist/chains/query_constructor/prompt.js +33 -27
  320. package/dist/chains/query_constructor/prompt.js.map +1 -0
  321. package/dist/chains/question_answering/load.cjs +88 -77
  322. package/dist/chains/question_answering/load.cjs.map +1 -0
  323. package/dist/chains/question_answering/load.d.cts +72 -0
  324. package/dist/chains/question_answering/load.d.cts.map +1 -0
  325. package/dist/chains/question_answering/load.d.ts +31 -24
  326. package/dist/chains/question_answering/load.d.ts.map +1 -0
  327. package/dist/chains/question_answering/load.js +87 -72
  328. package/dist/chains/question_answering/load.js.map +1 -0
  329. package/dist/chains/question_answering/map_reduce_prompts.cjs +18 -30
  330. package/dist/chains/question_answering/map_reduce_prompts.cjs.map +1 -0
  331. package/dist/chains/question_answering/map_reduce_prompts.js +16 -27
  332. package/dist/chains/question_answering/map_reduce_prompts.js.map +1 -0
  333. package/dist/chains/question_answering/refine_prompts.cjs +30 -33
  334. package/dist/chains/question_answering/refine_prompts.cjs.map +1 -0
  335. package/dist/chains/question_answering/refine_prompts.js +28 -30
  336. package/dist/chains/question_answering/refine_prompts.js.map +1 -0
  337. package/dist/chains/question_answering/stuff_prompts.cjs +15 -15
  338. package/dist/chains/question_answering/stuff_prompts.cjs.map +1 -0
  339. package/dist/chains/question_answering/stuff_prompts.js +14 -12
  340. package/dist/chains/question_answering/stuff_prompts.js.map +1 -0
  341. package/dist/chains/retrieval.cjs +51 -55
  342. package/dist/chains/retrieval.cjs.map +1 -0
  343. package/dist/chains/retrieval.d.cts +77 -0
  344. package/dist/chains/retrieval.d.cts.map +1 -0
  345. package/dist/chains/retrieval.d.ts +44 -32
  346. package/dist/chains/retrieval.d.ts.map +1 -0
  347. package/dist/chains/retrieval.js +45 -52
  348. package/dist/chains/retrieval.js.map +1 -0
  349. package/dist/chains/retrieval_qa.cjs +104 -125
  350. package/dist/chains/retrieval_qa.cjs.map +1 -0
  351. package/dist/chains/retrieval_qa.d.cts +81 -0
  352. package/dist/chains/retrieval_qa.d.cts.map +1 -0
  353. package/dist/chains/retrieval_qa.d.ts +40 -34
  354. package/dist/chains/retrieval_qa.d.ts.map +1 -0
  355. package/dist/chains/retrieval_qa.js +104 -121
  356. package/dist/chains/retrieval_qa.js.map +1 -0
  357. package/dist/chains/router/llm_router.cjs +48 -45
  358. package/dist/chains/router/llm_router.cjs.map +1 -0
  359. package/dist/chains/router/llm_router.d.cts +54 -0
  360. package/dist/chains/router/llm_router.d.cts.map +1 -0
  361. package/dist/chains/router/llm_router.d.ts +34 -28
  362. package/dist/chains/router/llm_router.d.ts.map +1 -0
  363. package/dist/chains/router/llm_router.js +48 -41
  364. package/dist/chains/router/llm_router.js.map +1 -0
  365. package/dist/chains/router/multi_prompt.cjs +114 -128
  366. package/dist/chains/router/multi_prompt.cjs.map +1 -0
  367. package/dist/chains/router/multi_prompt.d.cts +76 -0
  368. package/dist/chains/router/multi_prompt.d.cts.map +1 -0
  369. package/dist/chains/router/multi_prompt.d.ts +47 -33
  370. package/dist/chains/router/multi_prompt.d.ts.map +1 -0
  371. package/dist/chains/router/multi_prompt.js +110 -121
  372. package/dist/chains/router/multi_prompt.js.map +1 -0
  373. package/dist/chains/router/multi_prompt_prompt.cjs +4 -24
  374. package/dist/chains/router/multi_prompt_prompt.cjs.map +1 -0
  375. package/dist/chains/router/multi_prompt_prompt.js +6 -23
  376. package/dist/chains/router/multi_prompt_prompt.js.map +1 -0
  377. package/dist/chains/router/multi_retrieval_prompt.cjs +4 -24
  378. package/dist/chains/router/multi_retrieval_prompt.cjs.map +1 -0
  379. package/dist/chains/router/multi_retrieval_prompt.js +6 -23
  380. package/dist/chains/router/multi_retrieval_prompt.js.map +1 -0
  381. package/dist/chains/router/multi_retrieval_qa.cjs +135 -151
  382. package/dist/chains/router/multi_retrieval_qa.cjs.map +1 -0
  383. package/dist/chains/router/multi_retrieval_qa.d.cts +100 -0
  384. package/dist/chains/router/multi_retrieval_qa.d.cts.map +1 -0
  385. package/dist/chains/router/multi_retrieval_qa.d.ts +57 -43
  386. package/dist/chains/router/multi_retrieval_qa.d.ts.map +1 -0
  387. package/dist/chains/router/multi_retrieval_qa.js +131 -144
  388. package/dist/chains/router/multi_retrieval_qa.js.map +1 -0
  389. package/dist/chains/router/multi_route.cjs +66 -96
  390. package/dist/chains/router/multi_route.cjs.map +1 -0
  391. package/dist/chains/router/multi_route.d.cts +69 -0
  392. package/dist/chains/router/multi_route.d.cts.map +1 -0
  393. package/dist/chains/router/multi_route.d.ts +36 -31
  394. package/dist/chains/router/multi_route.d.ts.map +1 -0
  395. package/dist/chains/router/multi_route.js +66 -92
  396. package/dist/chains/router/multi_route.js.map +1 -0
  397. package/dist/chains/router/utils.cjs +16 -31
  398. package/dist/chains/router/utils.cjs.map +1 -0
  399. package/dist/chains/router/utils.js +16 -29
  400. package/dist/chains/router/utils.js.map +1 -0
  401. package/dist/chains/sequential_chain.cjs +247 -316
  402. package/dist/chains/sequential_chain.cjs.map +1 -0
  403. package/dist/chains/sequential_chain.d.cts +158 -0
  404. package/dist/chains/sequential_chain.d.cts.map +1 -0
  405. package/dist/chains/sequential_chain.d.ts +54 -48
  406. package/dist/chains/sequential_chain.d.ts.map +1 -0
  407. package/dist/chains/sequential_chain.js +246 -311
  408. package/dist/chains/sequential_chain.js.map +1 -0
  409. package/dist/chains/serde.d.cts +156 -0
  410. package/dist/chains/serde.d.cts.map +1 -0
  411. package/dist/chains/serde.d.ts +59 -53
  412. package/dist/chains/serde.d.ts.map +1 -0
  413. package/dist/chains/sql_db/index.cjs +35 -14
  414. package/dist/chains/sql_db/index.cjs.map +1 -0
  415. package/dist/chains/sql_db/index.d.cts +3 -0
  416. package/dist/chains/sql_db/index.d.ts +3 -2
  417. package/dist/chains/sql_db/index.js +21 -2
  418. package/dist/chains/sql_db/index.js.map +1 -0
  419. package/dist/chains/sql_db/sql_db_chain.cjs +189 -263
  420. package/dist/chains/sql_db/sql_db_chain.cjs.map +1 -0
  421. package/dist/chains/sql_db/sql_db_chain.d.cts +124 -0
  422. package/dist/chains/sql_db/sql_db_chain.d.cts.map +1 -0
  423. package/dist/chains/sql_db/sql_db_chain.d.ts +62 -53
  424. package/dist/chains/sql_db/sql_db_chain.d.ts.map +1 -0
  425. package/dist/chains/sql_db/sql_db_chain.js +185 -256
  426. package/dist/chains/sql_db/sql_db_chain.js.map +1 -0
  427. package/dist/chains/sql_db/sql_db_prompt.cjs +78 -33
  428. package/dist/chains/sql_db/sql_db_prompt.cjs.map +1 -0
  429. package/dist/chains/sql_db/sql_db_prompt.d.cts +44 -0
  430. package/dist/chains/sql_db/sql_db_prompt.d.cts.map +1 -0
  431. package/dist/chains/sql_db/sql_db_prompt.d.ts +37 -38
  432. package/dist/chains/sql_db/sql_db_prompt.d.ts.map +1 -0
  433. package/dist/chains/sql_db/sql_db_prompt.js +69 -29
  434. package/dist/chains/sql_db/sql_db_prompt.js.map +1 -0
  435. package/dist/chains/summarization/load.cjs +71 -57
  436. package/dist/chains/summarization/load.cjs.map +1 -0
  437. package/dist/chains/summarization/load.d.cts +33 -0
  438. package/dist/chains/summarization/load.d.cts.map +1 -0
  439. package/dist/chains/summarization/load.d.ts +22 -16
  440. package/dist/chains/summarization/load.d.ts.map +1 -0
  441. package/dist/chains/summarization/load.js +70 -52
  442. package/dist/chains/summarization/load.js.map +1 -0
  443. package/dist/chains/summarization/refine_prompts.cjs +11 -7
  444. package/dist/chains/summarization/refine_prompts.cjs.map +1 -0
  445. package/dist/chains/summarization/refine_prompts.js +9 -3
  446. package/dist/chains/summarization/refine_prompts.js.map +1 -0
  447. package/dist/chains/summarization/stuff_prompts.cjs +11 -8
  448. package/dist/chains/summarization/stuff_prompts.cjs.map +1 -0
  449. package/dist/chains/summarization/stuff_prompts.js +9 -4
  450. package/dist/chains/summarization/stuff_prompts.js.map +1 -0
  451. package/dist/chains/transform.cjs +41 -54
  452. package/dist/chains/transform.cjs.map +1 -0
  453. package/dist/chains/transform.d.cts +44 -0
  454. package/dist/chains/transform.d.cts.map +1 -0
  455. package/dist/chains/transform.d.ts +22 -16
  456. package/dist/chains/transform.d.ts.map +1 -0
  457. package/dist/chains/transform.js +41 -50
  458. package/dist/chains/transform.js.map +1 -0
  459. package/dist/chains/vector_db_qa.cjs +93 -122
  460. package/dist/chains/vector_db_qa.cjs.map +1 -0
  461. package/dist/chains/vector_db_qa.d.cts +66 -0
  462. package/dist/chains/vector_db_qa.d.cts.map +1 -0
  463. package/dist/chains/vector_db_qa.d.ts +43 -37
  464. package/dist/chains/vector_db_qa.d.ts.map +1 -0
  465. package/dist/chains/vector_db_qa.js +92 -117
  466. package/dist/chains/vector_db_qa.js.map +1 -0
  467. package/dist/chat_models/universal.cjs +533 -679
  468. package/dist/chat_models/universal.cjs.map +1 -0
  469. package/dist/chat_models/universal.d.cts +213 -0
  470. package/dist/chat_models/universal.d.cts.map +1 -0
  471. package/dist/chat_models/universal.d.ts +187 -94
  472. package/dist/chat_models/universal.d.ts.map +1 -0
  473. package/dist/chat_models/universal.js +525 -642
  474. package/dist/chat_models/universal.js.map +1 -0
  475. package/dist/document.cjs +21 -5
  476. package/dist/document.cjs.map +1 -0
  477. package/dist/document.d.cts +2 -0
  478. package/dist/document.d.ts +2 -1
  479. package/dist/document.js +10 -1
  480. package/dist/document.js.map +1 -0
  481. package/dist/document_loaders/base.cjs +22 -17
  482. package/dist/document_loaders/base.cjs.map +1 -0
  483. package/dist/document_loaders/base.d.cts +1 -0
  484. package/dist/document_loaders/base.d.ts +1 -1
  485. package/dist/document_loaders/base.js +12 -1
  486. package/dist/document_loaders/base.js.map +1 -0
  487. package/dist/document_loaders/fs/buffer.cjs +67 -95
  488. package/dist/document_loaders/fs/buffer.cjs.map +1 -0
  489. package/dist/document_loaders/fs/buffer.d.cts +46 -0
  490. package/dist/document_loaders/fs/buffer.d.cts.map +1 -0
  491. package/dist/document_loaders/fs/buffer.d.ts +37 -31
  492. package/dist/document_loaders/fs/buffer.d.ts.map +1 -0
  493. package/dist/document_loaders/fs/buffer.js +61 -58
  494. package/dist/document_loaders/fs/buffer.js.map +1 -0
  495. package/dist/document_loaders/fs/directory.cjs +112 -164
  496. package/dist/document_loaders/fs/directory.cjs.map +1 -0
  497. package/dist/document_loaders/fs/directory.d.cts +77 -0
  498. package/dist/document_loaders/fs/directory.d.cts.map +1 -0
  499. package/dist/document_loaders/fs/directory.d.ts +47 -39
  500. package/dist/document_loaders/fs/directory.d.ts.map +1 -0
  501. package/dist/document_loaders/fs/directory.js +106 -128
  502. package/dist/document_loaders/fs/directory.js.map +1 -0
  503. package/dist/document_loaders/fs/json.cjs +119 -144
  504. package/dist/document_loaders/fs/json.cjs.map +1 -0
  505. package/dist/document_loaders/fs/json.d.cts +65 -0
  506. package/dist/document_loaders/fs/json.d.cts.map +1 -0
  507. package/dist/document_loaders/fs/json.d.ts +48 -42
  508. package/dist/document_loaders/fs/json.d.ts.map +1 -0
  509. package/dist/document_loaders/fs/json.js +112 -136
  510. package/dist/document_loaders/fs/json.js.map +1 -0
  511. package/dist/document_loaders/fs/multi_file.cjs +80 -96
  512. package/dist/document_loaders/fs/multi_file.cjs.map +1 -0
  513. package/dist/document_loaders/fs/multi_file.d.cts +43 -0
  514. package/dist/document_loaders/fs/multi_file.d.cts.map +1 -0
  515. package/dist/document_loaders/fs/multi_file.d.ts +23 -17
  516. package/dist/document_loaders/fs/multi_file.d.ts.map +1 -0
  517. package/dist/document_loaders/fs/multi_file.js +73 -91
  518. package/dist/document_loaders/fs/multi_file.js.map +1 -0
  519. package/dist/document_loaders/fs/text.cjs +99 -129
  520. package/dist/document_loaders/fs/text.cjs.map +1 -0
  521. package/dist/document_loaders/fs/text.d.cts +57 -0
  522. package/dist/document_loaders/fs/text.d.cts.map +1 -0
  523. package/dist/document_loaders/fs/text.d.ts +42 -36
  524. package/dist/document_loaders/fs/text.d.ts.map +1 -0
  525. package/dist/document_loaders/fs/text.js +92 -91
  526. package/dist/document_loaders/fs/text.js.map +1 -0
  527. package/dist/embeddings/cache_backed.cjs +138 -141
  528. package/dist/embeddings/cache_backed.cjs.map +1 -0
  529. package/dist/embeddings/cache_backed.d.cts +107 -0
  530. package/dist/embeddings/cache_backed.d.cts.map +1 -0
  531. package/dist/embeddings/cache_backed.d.ts +53 -47
  532. package/dist/embeddings/cache_backed.d.ts.map +1 -0
  533. package/dist/embeddings/cache_backed.js +132 -137
  534. package/dist/embeddings/cache_backed.js.map +1 -0
  535. package/dist/embeddings/fake.cjs +22 -17
  536. package/dist/embeddings/fake.cjs.map +1 -0
  537. package/dist/embeddings/fake.d.cts +1 -0
  538. package/dist/embeddings/fake.d.ts +1 -1
  539. package/dist/embeddings/fake.js +12 -1
  540. package/dist/embeddings/fake.js.map +1 -0
  541. package/dist/evaluation/agents/index.cjs +1 -17
  542. package/dist/evaluation/agents/index.js +1 -1
  543. package/dist/evaluation/agents/prompt.cjs +19 -18
  544. package/dist/evaluation/agents/prompt.cjs.map +1 -0
  545. package/dist/evaluation/agents/prompt.js +17 -15
  546. package/dist/evaluation/agents/prompt.js.map +1 -0
  547. package/dist/evaluation/agents/trajectory.cjs +124 -181
  548. package/dist/evaluation/agents/trajectory.cjs.map +1 -0
  549. package/dist/evaluation/agents/trajectory.d.cts +61 -0
  550. package/dist/evaluation/agents/trajectory.d.cts.map +1 -0
  551. package/dist/evaluation/agents/trajectory.d.ts +48 -42
  552. package/dist/evaluation/agents/trajectory.d.ts.map +1 -0
  553. package/dist/evaluation/agents/trajectory.js +121 -175
  554. package/dist/evaluation/agents/trajectory.js.map +1 -0
  555. package/dist/evaluation/base.cjs +159 -264
  556. package/dist/evaluation/base.cjs.map +1 -0
  557. package/dist/evaluation/base.d.cts +240 -0
  558. package/dist/evaluation/base.d.cts.map +1 -0
  559. package/dist/evaluation/base.d.ts +170 -163
  560. package/dist/evaluation/base.d.ts.map +1 -0
  561. package/dist/evaluation/base.js +156 -255
  562. package/dist/evaluation/base.js.map +1 -0
  563. package/dist/evaluation/comparison/index.cjs +1 -17
  564. package/dist/evaluation/comparison/index.js +1 -1
  565. package/dist/evaluation/comparison/pairwise.cjs +172 -238
  566. package/dist/evaluation/comparison/pairwise.cjs.map +1 -0
  567. package/dist/evaluation/comparison/pairwise.d.cts +56 -0
  568. package/dist/evaluation/comparison/pairwise.d.cts.map +1 -0
  569. package/dist/evaluation/comparison/pairwise.d.ts +39 -33
  570. package/dist/evaluation/comparison/pairwise.d.ts.map +1 -0
  571. package/dist/evaluation/comparison/pairwise.js +168 -231
  572. package/dist/evaluation/comparison/pairwise.js.map +1 -0
  573. package/dist/evaluation/comparison/prompt.cjs +26 -23
  574. package/dist/evaluation/comparison/prompt.cjs.map +1 -0
  575. package/dist/evaluation/comparison/prompt.js +23 -19
  576. package/dist/evaluation/comparison/prompt.js.map +1 -0
  577. package/dist/evaluation/criteria/criteria.cjs +159 -254
  578. package/dist/evaluation/criteria/criteria.cjs.map +1 -0
  579. package/dist/evaluation/criteria/criteria.d.cts +85 -0
  580. package/dist/evaluation/criteria/criteria.d.cts.map +1 -0
  581. package/dist/evaluation/criteria/criteria.d.ts +69 -57
  582. package/dist/evaluation/criteria/criteria.d.ts.map +1 -0
  583. package/dist/evaluation/criteria/criteria.js +155 -247
  584. package/dist/evaluation/criteria/criteria.js.map +1 -0
  585. package/dist/evaluation/criteria/index.cjs +1 -17
  586. package/dist/evaluation/criteria/index.js +1 -1
  587. package/dist/evaluation/criteria/prompt.cjs +24 -10
  588. package/dist/evaluation/criteria/prompt.cjs.map +1 -0
  589. package/dist/evaluation/criteria/prompt.js +21 -6
  590. package/dist/evaluation/criteria/prompt.js.map +1 -0
  591. package/dist/evaluation/embedding_distance/base.cjs +101 -156
  592. package/dist/evaluation/embedding_distance/base.cjs.map +1 -0
  593. package/dist/evaluation/embedding_distance/base.d.cts +82 -0
  594. package/dist/evaluation/embedding_distance/base.d.cts.map +1 -0
  595. package/dist/evaluation/embedding_distance/base.d.ts +46 -41
  596. package/dist/evaluation/embedding_distance/base.d.ts.map +1 -0
  597. package/dist/evaluation/embedding_distance/base.js +97 -149
  598. package/dist/evaluation/embedding_distance/base.js.map +1 -0
  599. package/dist/evaluation/embedding_distance/index.cjs +1 -17
  600. package/dist/evaluation/embedding_distance/index.js +1 -1
  601. package/dist/evaluation/index.cjs +54 -23
  602. package/dist/evaluation/index.cjs.map +1 -0
  603. package/dist/evaluation/index.d.cts +8 -0
  604. package/dist/evaluation/index.d.ts +8 -7
  605. package/dist/evaluation/index.js +35 -7
  606. package/dist/evaluation/index.js.map +1 -0
  607. package/dist/evaluation/loader.cjs +59 -56
  608. package/dist/evaluation/loader.cjs.map +1 -0
  609. package/dist/evaluation/loader.d.cts +32 -0
  610. package/dist/evaluation/loader.d.cts.map +1 -0
  611. package/dist/evaluation/loader.d.ts +22 -17
  612. package/dist/evaluation/loader.d.ts.map +1 -0
  613. package/dist/evaluation/loader.js +58 -53
  614. package/dist/evaluation/loader.js.map +1 -0
  615. package/dist/evaluation/qa/eval_chain.cjs +39 -36
  616. package/dist/evaluation/qa/eval_chain.cjs.map +1 -0
  617. package/dist/evaluation/qa/eval_chain.d.cts +22 -0
  618. package/dist/evaluation/qa/eval_chain.d.cts.map +1 -0
  619. package/dist/evaluation/qa/eval_chain.d.ts +18 -13
  620. package/dist/evaluation/qa/eval_chain.d.ts.map +1 -0
  621. package/dist/evaluation/qa/eval_chain.js +39 -32
  622. package/dist/evaluation/qa/eval_chain.js.map +1 -0
  623. package/dist/evaluation/qa/index.cjs +1 -5
  624. package/dist/evaluation/qa/index.js +1 -1
  625. package/dist/evaluation/qa/prompt.cjs +15 -22
  626. package/dist/evaluation/qa/prompt.cjs.map +1 -0
  627. package/dist/evaluation/qa/prompt.js +13 -18
  628. package/dist/evaluation/qa/prompt.js.map +1 -0
  629. package/dist/evaluation/types.d.cts +40 -0
  630. package/dist/evaluation/types.d.cts.map +1 -0
  631. package/dist/evaluation/types.d.ts +38 -33
  632. package/dist/evaluation/types.d.ts.map +1 -0
  633. package/dist/hub/base.cjs +100 -150
  634. package/dist/hub/base.cjs.map +1 -0
  635. package/dist/hub/base.d.cts +29 -0
  636. package/dist/hub/base.d.cts.map +1 -0
  637. package/dist/hub/base.d.ts +20 -22
  638. package/dist/hub/base.d.ts.map +1 -0
  639. package/dist/hub/base.js +98 -146
  640. package/dist/hub/base.js.map +1 -0
  641. package/dist/hub/index.cjs +46 -50
  642. package/dist/hub/index.cjs.map +1 -0
  643. package/dist/hub/index.d.cts +32 -0
  644. package/dist/hub/index.d.cts.map +1 -0
  645. package/dist/hub/index.d.ts +14 -8
  646. package/dist/hub/index.d.ts.map +1 -0
  647. package/dist/hub/index.js +45 -46
  648. package/dist/hub/index.js.map +1 -0
  649. package/dist/hub/node.cjs +32 -86
  650. package/dist/hub/node.cjs.map +1 -0
  651. package/dist/hub/node.d.cts +23 -0
  652. package/dist/hub/node.d.cts.map +1 -0
  653. package/dist/hub/node.d.ts +11 -6
  654. package/dist/hub/node.d.ts.map +1 -0
  655. package/dist/hub/node.js +31 -50
  656. package/dist/hub/node.js.map +1 -0
  657. package/dist/index.cjs +118 -2
  658. package/dist/index.cjs.map +1 -0
  659. package/dist/index.d.cts +12 -0
  660. package/dist/index.d.ts +12 -0
  661. package/dist/index.js +36 -2
  662. package/dist/index.js.map +1 -0
  663. package/dist/langchain-core/dist/load/map_keys.d.cts +10 -0
  664. package/dist/langchain-core/dist/load/map_keys.d.cts.map +1 -0
  665. package/dist/langchain-core/dist/load/serializable.d.cts +82 -0
  666. package/dist/langchain-core/dist/load/serializable.d.cts.map +1 -0
  667. package/dist/langchain-core/dist/messages/base.d.cts +134 -0
  668. package/dist/langchain-core/dist/messages/base.d.cts.map +1 -0
  669. package/dist/langchain-core/dist/messages/content/base.d.cts +22 -0
  670. package/dist/langchain-core/dist/messages/content/base.d.cts.map +1 -0
  671. package/dist/langchain-core/dist/messages/content/data.d.cts +96 -0
  672. package/dist/langchain-core/dist/messages/content/data.d.cts.map +1 -0
  673. package/dist/langchain-core/dist/messages/content/index.d.cts +102 -0
  674. package/dist/langchain-core/dist/messages/content/index.d.cts.map +1 -0
  675. package/dist/langchain-core/dist/messages/content/multimodal.d.cts +110 -0
  676. package/dist/langchain-core/dist/messages/content/multimodal.d.cts.map +1 -0
  677. package/dist/langchain-core/dist/messages/content/tools.d.cts +153 -0
  678. package/dist/langchain-core/dist/messages/content/tools.d.cts.map +1 -0
  679. package/dist/langchain-core/dist/prompt_values.d.cts +13 -0
  680. package/dist/langchain-core/dist/prompt_values.d.cts.map +1 -0
  681. package/dist/langchain-core/dist/utils/types/index.d.cts +8 -0
  682. package/dist/langchain-core/dist/utils/types/index.d.cts.map +1 -0
  683. package/dist/libs/langchain-core/dist/load/map_keys.d.ts +10 -0
  684. package/dist/libs/langchain-core/dist/load/map_keys.d.ts.map +1 -0
  685. package/dist/libs/langchain-core/dist/load/serializable.d.ts +82 -0
  686. package/dist/libs/langchain-core/dist/load/serializable.d.ts.map +1 -0
  687. package/dist/libs/langchain-core/dist/messages/base.d.ts +134 -0
  688. package/dist/libs/langchain-core/dist/messages/base.d.ts.map +1 -0
  689. package/dist/libs/langchain-core/dist/messages/content/base.d.ts +22 -0
  690. package/dist/libs/langchain-core/dist/messages/content/base.d.ts.map +1 -0
  691. package/dist/libs/langchain-core/dist/messages/content/data.d.ts +96 -0
  692. package/dist/libs/langchain-core/dist/messages/content/data.d.ts.map +1 -0
  693. package/dist/libs/langchain-core/dist/messages/content/index.d.ts +102 -0
  694. package/dist/libs/langchain-core/dist/messages/content/index.d.ts.map +1 -0
  695. package/dist/libs/langchain-core/dist/messages/content/multimodal.d.ts +110 -0
  696. package/dist/libs/langchain-core/dist/messages/content/multimodal.d.ts.map +1 -0
  697. package/dist/libs/langchain-core/dist/messages/content/tools.d.ts +153 -0
  698. package/dist/libs/langchain-core/dist/messages/content/tools.d.ts.map +1 -0
  699. package/dist/libs/langchain-core/dist/prompt_values.d.ts +13 -0
  700. package/dist/libs/langchain-core/dist/prompt_values.d.ts.map +1 -0
  701. package/dist/libs/langchain-core/dist/utils/types/index.d.ts +8 -0
  702. package/dist/libs/langchain-core/dist/utils/types/index.d.ts.map +1 -0
  703. package/dist/load/import_constants.cjs +31 -30
  704. package/dist/load/import_constants.cjs.map +1 -0
  705. package/dist/load/import_constants.js +30 -27
  706. package/dist/load/import_constants.js.map +1 -0
  707. package/dist/load/import_map.cjs +224 -211
  708. package/dist/load/import_map.cjs.map +1 -0
  709. package/dist/load/import_map.js +215 -170
  710. package/dist/load/import_map.js.map +1 -0
  711. package/dist/load/import_type.d.cts +6 -0
  712. package/dist/load/import_type.d.cts.map +1 -0
  713. package/dist/load/import_type.d.ts +6 -5
  714. package/dist/load/import_type.d.ts.map +1 -0
  715. package/dist/load/index.cjs +28 -60
  716. package/dist/load/index.cjs.map +1 -0
  717. package/dist/load/index.d.cts +23 -0
  718. package/dist/load/index.d.cts.map +1 -0
  719. package/dist/load/index.d.ts +13 -1
  720. package/dist/load/index.d.ts.map +1 -0
  721. package/dist/load/index.js +26 -23
  722. package/dist/load/index.js.map +1 -0
  723. package/dist/load/map_keys.d.cts +8 -0
  724. package/dist/load/map_keys.d.cts.map +1 -0
  725. package/dist/load/map_keys.d.ts +7 -2
  726. package/dist/load/map_keys.d.ts.map +1 -0
  727. package/dist/load/serializable.cjs +22 -17
  728. package/dist/load/serializable.cjs.map +1 -0
  729. package/dist/load/serializable.d.cts +10 -0
  730. package/dist/load/serializable.d.cts.map +1 -0
  731. package/dist/load/serializable.d.ts +9 -0
  732. package/dist/load/serializable.d.ts.map +1 -0
  733. package/dist/load/serializable.js +12 -1
  734. package/dist/load/serializable.js.map +1 -0
  735. package/dist/memory/buffer_memory.cjs +78 -94
  736. package/dist/memory/buffer_memory.cjs.map +1 -0
  737. package/dist/memory/buffer_memory.d.cts +67 -0
  738. package/dist/memory/buffer_memory.d.cts.map +1 -0
  739. package/dist/memory/buffer_memory.d.ts +25 -19
  740. package/dist/memory/buffer_memory.d.ts.map +1 -0
  741. package/dist/memory/buffer_memory.js +77 -90
  742. package/dist/memory/buffer_memory.js.map +1 -0
  743. package/dist/memory/buffer_token_memory.cjs +78 -105
  744. package/dist/memory/buffer_token_memory.cjs.map +1 -0
  745. package/dist/memory/buffer_token_memory.d.cts +67 -0
  746. package/dist/memory/buffer_token_memory.d.cts.map +1 -0
  747. package/dist/memory/buffer_token_memory.d.ts +41 -30
  748. package/dist/memory/buffer_token_memory.d.ts.map +1 -0
  749. package/dist/memory/buffer_token_memory.js +77 -101
  750. package/dist/memory/buffer_token_memory.js.map +1 -0
  751. package/dist/memory/buffer_window_memory.cjs +75 -96
  752. package/dist/memory/buffer_window_memory.cjs.map +1 -0
  753. package/dist/memory/buffer_window_memory.d.cts +64 -0
  754. package/dist/memory/buffer_window_memory.d.cts.map +1 -0
  755. package/dist/memory/buffer_window_memory.d.ts +29 -23
  756. package/dist/memory/buffer_window_memory.d.ts.map +1 -0
  757. package/dist/memory/buffer_window_memory.js +74 -92
  758. package/dist/memory/buffer_window_memory.js.map +1 -0
  759. package/dist/memory/chat_memory.cjs +51 -61
  760. package/dist/memory/chat_memory.cjs.map +1 -0
  761. package/dist/memory/chat_memory.d.cts +42 -0
  762. package/dist/memory/chat_memory.d.cts.map +1 -0
  763. package/dist/memory/chat_memory.d.ts +29 -23
  764. package/dist/memory/chat_memory.d.ts.map +1 -0
  765. package/dist/memory/chat_memory.js +46 -58
  766. package/dist/memory/chat_memory.js.map +1 -0
  767. package/dist/memory/combined_memory.cjs +86 -121
  768. package/dist/memory/combined_memory.cjs.map +1 -0
  769. package/dist/memory/combined_memory.d.cts +60 -0
  770. package/dist/memory/combined_memory.d.cts.map +1 -0
  771. package/dist/memory/combined_memory.d.ts +47 -41
  772. package/dist/memory/combined_memory.d.ts.map +1 -0
  773. package/dist/memory/combined_memory.js +86 -117
  774. package/dist/memory/combined_memory.js.map +1 -0
  775. package/dist/memory/entity_memory.cjs +142 -200
  776. package/dist/memory/entity_memory.cjs.map +1 -0
  777. package/dist/memory/entity_memory.d.cts +99 -0
  778. package/dist/memory/entity_memory.d.cts.map +1 -0
  779. package/dist/memory/entity_memory.d.ts +58 -47
  780. package/dist/memory/entity_memory.d.ts.map +1 -0
  781. package/dist/memory/entity_memory.js +140 -195
  782. package/dist/memory/entity_memory.js.map +1 -0
  783. package/dist/memory/index.cjs +85 -31
  784. package/dist/memory/index.cjs.map +1 -0
  785. package/dist/memory/index.d.cts +14 -0
  786. package/dist/memory/index.d.ts +14 -12
  787. package/dist/memory/index.js +39 -12
  788. package/dist/memory/index.js.map +1 -0
  789. package/dist/memory/prompt.cjs +35 -24
  790. package/dist/memory/prompt.cjs.map +1 -0
  791. package/dist/memory/prompt.d.cts +12 -0
  792. package/dist/memory/prompt.d.cts.map +1 -0
  793. package/dist/memory/prompt.d.ts +11 -22
  794. package/dist/memory/prompt.d.ts.map +1 -0
  795. package/dist/memory/prompt.js +30 -20
  796. package/dist/memory/prompt.js.map +1 -0
  797. package/dist/memory/stores/entity/base.cjs +11 -9
  798. package/dist/memory/stores/entity/base.cjs.map +1 -0
  799. package/dist/memory/stores/entity/base.d.cts +18 -0
  800. package/dist/memory/stores/entity/base.d.cts.map +1 -0
  801. package/dist/memory/stores/entity/base.d.ts +12 -6
  802. package/dist/memory/stores/entity/base.d.ts.map +1 -0
  803. package/dist/memory/stores/entity/base.js +10 -5
  804. package/dist/memory/stores/entity/base.js.map +1 -0
  805. package/dist/memory/stores/entity/in_memory.cjs +62 -65
  806. package/dist/memory/stores/entity/in_memory.cjs.map +1 -0
  807. package/dist/memory/stores/entity/in_memory.js +62 -61
  808. package/dist/memory/stores/entity/in_memory.js.map +1 -0
  809. package/dist/memory/summary.cjs +124 -151
  810. package/dist/memory/summary.cjs.map +1 -0
  811. package/dist/memory/summary.d.cts +101 -0
  812. package/dist/memory/summary.d.cts.map +1 -0
  813. package/dist/memory/summary.d.ts +53 -48
  814. package/dist/memory/summary.d.ts.map +1 -0
  815. package/dist/memory/summary.js +121 -145
  816. package/dist/memory/summary.js.map +1 -0
  817. package/dist/memory/summary_buffer.cjs +115 -137
  818. package/dist/memory/summary_buffer.cjs.map +1 -0
  819. package/dist/memory/summary_buffer.d.cts +90 -0
  820. package/dist/memory/summary_buffer.d.cts.map +1 -0
  821. package/dist/memory/summary_buffer.d.ts +44 -38
  822. package/dist/memory/summary_buffer.d.ts.map +1 -0
  823. package/dist/memory/summary_buffer.js +114 -133
  824. package/dist/memory/summary_buffer.js.map +1 -0
  825. package/dist/memory/vector_store.cjs +85 -116
  826. package/dist/memory/vector_store.cjs.map +1 -0
  827. package/dist/memory/vector_store.d.cts +81 -0
  828. package/dist/memory/vector_store.d.cts.map +1 -0
  829. package/dist/memory/vector_store.d.ts +41 -37
  830. package/dist/memory/vector_store.d.ts.map +1 -0
  831. package/dist/memory/vector_store.js +84 -112
  832. package/dist/memory/vector_store.js.map +1 -0
  833. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs +248 -0
  834. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.map +1 -0
  835. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js +244 -0
  836. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js.map +1 -0
  837. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.cjs +3040 -0
  838. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.cjs.map +1 -0
  839. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.js +3039 -0
  840. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.js.map +1 -0
  841. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.cjs +12 -0
  842. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.cjs.map +1 -0
  843. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.js +12 -0
  844. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.js.map +1 -0
  845. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.cjs +71 -0
  846. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.cjs.map +1 -0
  847. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.js +38 -0
  848. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.js.map +1 -0
  849. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.cjs +221 -0
  850. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.cjs.map +1 -0
  851. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.js +221 -0
  852. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.js.map +1 -0
  853. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.cjs +11 -0
  854. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.cjs.map +1 -0
  855. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.js +11 -0
  856. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.js.map +1 -0
  857. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.cjs +701 -0
  858. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.cjs.map +1 -0
  859. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.js +700 -0
  860. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.js.map +1 -0
  861. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.cjs +7 -0
  862. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.cjs.map +1 -0
  863. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.js +6 -0
  864. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.js.map +1 -0
  865. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.cjs +29 -0
  866. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.cjs.map +1 -0
  867. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.js +28 -0
  868. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.js.map +1 -0
  869. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.cjs +115 -0
  870. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.cjs.map +1 -0
  871. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.js +113 -0
  872. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.js.map +1 -0
  873. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.cjs +14 -0
  874. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.cjs.map +1 -0
  875. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.js +13 -0
  876. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.js.map +1 -0
  877. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.cjs +94 -0
  878. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.cjs.map +1 -0
  879. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.js +94 -0
  880. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.js.map +1 -0
  881. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.cjs +140 -0
  882. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.cjs.map +1 -0
  883. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.js +135 -0
  884. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.js.map +1 -0
  885. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.cjs +89 -0
  886. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.cjs.map +1 -0
  887. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.js +86 -0
  888. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.js.map +1 -0
  889. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs +140 -0
  890. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.map +1 -0
  891. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js +140 -0
  892. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js.map +1 -0
  893. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.cjs +18 -0
  894. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.cjs.map +1 -0
  895. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.js +16 -0
  896. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.js.map +1 -0
  897. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.cjs +10 -0
  898. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.cjs.map +1 -0
  899. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.js +10 -0
  900. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.js.map +1 -0
  901. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.cjs +30 -0
  902. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.cjs.map +1 -0
  903. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.js +30 -0
  904. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.js.map +1 -0
  905. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.cjs +13 -0
  906. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.cjs.map +1 -0
  907. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.js +12 -0
  908. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.js.map +1 -0
  909. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/index.cjs +6 -0
  910. package/dist/node_modules/.pnpm/langsmith@0.3.64_@opentelemetry_api@1.9.0_openai@5.11.0_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/index.js +6 -0
  911. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs +27 -0
  912. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs.map +1 -0
  913. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js +23 -0
  914. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js.map +1 -0
  915. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs +267 -0
  916. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.map +1 -0
  917. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js +263 -0
  918. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js.map +1 -0
  919. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs +32 -0
  920. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs.map +1 -0
  921. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js +28 -0
  922. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js.map +1 -0
  923. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs +49 -0
  924. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs.map +1 -0
  925. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js +45 -0
  926. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js.map +1 -0
  927. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs +52 -0
  928. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.map +1 -0
  929. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js +48 -0
  930. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js.map +1 -0
  931. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs +90 -0
  932. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs.map +1 -0
  933. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js +86 -0
  934. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js.map +1 -0
  935. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs +294 -0
  936. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs.map +1 -0
  937. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js +290 -0
  938. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js.map +1 -0
  939. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs +191 -0
  940. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs.map +1 -0
  941. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js +187 -0
  942. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js.map +1 -0
  943. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs +24 -0
  944. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs.map +1 -0
  945. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js +20 -0
  946. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js.map +1 -0
  947. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs +51 -0
  948. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs.map +1 -0
  949. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js +47 -0
  950. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js.map +1 -0
  951. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs +48 -0
  952. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs.map +1 -0
  953. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js +44 -0
  954. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js.map +1 -0
  955. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs +25 -0
  956. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs.map +1 -0
  957. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js +21 -0
  958. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js.map +1 -0
  959. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs +21 -0
  960. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs.map +1 -0
  961. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js +17 -0
  962. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js.map +1 -0
  963. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs +21 -0
  964. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs.map +1 -0
  965. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js +17 -0
  966. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js.map +1 -0
  967. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs +43 -0
  968. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs.map +1 -0
  969. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js +39 -0
  970. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js.map +1 -0
  971. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs +21 -0
  972. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs.map +1 -0
  973. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js +17 -0
  974. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js.map +1 -0
  975. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs +21 -0
  976. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs.map +1 -0
  977. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js +17 -0
  978. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js.map +1 -0
  979. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs +21 -0
  980. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs.map +1 -0
  981. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js +17 -0
  982. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js.map +1 -0
  983. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs +32 -0
  984. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs.map +1 -0
  985. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js +28 -0
  986. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js.map +1 -0
  987. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs +21 -0
  988. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs.map +1 -0
  989. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js +17 -0
  990. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js.map +1 -0
  991. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs +21 -0
  992. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs.map +1 -0
  993. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js +17 -0
  994. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js.map +1 -0
  995. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs +21 -0
  996. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs.map +1 -0
  997. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js +17 -0
  998. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js.map +1 -0
  999. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs +21 -0
  1000. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs.map +1 -0
  1001. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js +17 -0
  1002. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js.map +1 -0
  1003. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs +21 -0
  1004. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs.map +1 -0
  1005. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js +17 -0
  1006. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js.map +1 -0
  1007. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs +29 -0
  1008. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs.map +1 -0
  1009. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js +25 -0
  1010. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js.map +1 -0
  1011. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs +21 -0
  1012. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs.map +1 -0
  1013. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js +17 -0
  1014. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js.map +1 -0
  1015. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs +24 -0
  1016. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs.map +1 -0
  1017. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js +20 -0
  1018. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js.map +1 -0
  1019. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs +21 -0
  1020. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs.map +1 -0
  1021. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js +17 -0
  1022. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js.map +1 -0
  1023. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs +21 -0
  1024. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs.map +1 -0
  1025. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js +17 -0
  1026. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js.map +1 -0
  1027. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs +28 -0
  1028. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs.map +1 -0
  1029. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js +24 -0
  1030. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js.map +1 -0
  1031. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs +21 -0
  1032. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs.map +1 -0
  1033. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js +17 -0
  1034. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js.map +1 -0
  1035. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs +24 -0
  1036. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs.map +1 -0
  1037. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js +20 -0
  1038. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js.map +1 -0
  1039. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs +146 -0
  1040. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs.map +1 -0
  1041. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js +142 -0
  1042. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js.map +1 -0
  1043. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs +41 -0
  1044. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs.map +1 -0
  1045. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js +37 -0
  1046. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js.map +1 -0
  1047. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs +19 -0
  1048. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs.map +1 -0
  1049. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js +15 -0
  1050. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js.map +1 -0
  1051. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs +32 -0
  1052. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs.map +1 -0
  1053. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js +28 -0
  1054. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js.map +1 -0
  1055. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs +47 -0
  1056. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs.map +1 -0
  1057. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js +43 -0
  1058. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js.map +1 -0
  1059. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs +25 -0
  1060. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs.map +1 -0
  1061. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js +21 -0
  1062. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js.map +1 -0
  1063. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs +94 -0
  1064. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs.map +1 -0
  1065. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js +90 -0
  1066. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js.map +1 -0
  1067. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs +21 -0
  1068. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs.map +1 -0
  1069. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js +17 -0
  1070. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js.map +1 -0
  1071. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs +25 -0
  1072. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs.map +1 -0
  1073. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js +21 -0
  1074. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js.map +1 -0
  1075. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs +21 -0
  1076. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs.map +1 -0
  1077. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js +17 -0
  1078. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js.map +1 -0
  1079. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs +41 -0
  1080. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs.map +1 -0
  1081. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js +37 -0
  1082. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js.map +1 -0
  1083. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs +41 -0
  1084. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs.map +1 -0
  1085. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js +37 -0
  1086. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js.map +1 -0
  1087. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs +55 -0
  1088. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs.map +1 -0
  1089. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js +51 -0
  1090. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js.map +1 -0
  1091. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs +74 -0
  1092. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs.map +1 -0
  1093. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js +70 -0
  1094. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js.map +1 -0
  1095. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs +48 -0
  1096. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs.map +1 -0
  1097. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js +44 -0
  1098. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js.map +1 -0
  1099. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs +112 -0
  1100. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs.map +1 -0
  1101. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js +108 -0
  1102. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js.map +1 -0
  1103. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs +21 -0
  1104. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs.map +1 -0
  1105. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js +17 -0
  1106. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js.map +1 -0
  1107. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs +27 -0
  1108. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs.map +1 -0
  1109. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js +23 -0
  1110. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js.map +1 -0
  1111. package/dist/output_parsers/combining.cjs +59 -90
  1112. package/dist/output_parsers/combining.cjs.map +1 -0
  1113. package/dist/output_parsers/combining.d.cts +46 -0
  1114. package/dist/output_parsers/combining.d.cts.map +1 -0
  1115. package/dist/output_parsers/combining.d.ts +33 -26
  1116. package/dist/output_parsers/combining.d.ts.map +1 -0
  1117. package/dist/output_parsers/combining.js +58 -86
  1118. package/dist/output_parsers/combining.js.map +1 -0
  1119. package/dist/output_parsers/datetime.cjs +44 -61
  1120. package/dist/output_parsers/datetime.cjs.map +1 -0
  1121. package/dist/output_parsers/datetime.d.cts +33 -0
  1122. package/dist/output_parsers/datetime.d.cts.map +1 -0
  1123. package/dist/output_parsers/datetime.d.ts +27 -21
  1124. package/dist/output_parsers/datetime.d.ts.map +1 -0
  1125. package/dist/output_parsers/datetime.js +44 -58
  1126. package/dist/output_parsers/datetime.js.map +1 -0
  1127. package/dist/output_parsers/expression.cjs +84 -102
  1128. package/dist/output_parsers/expression.cjs.map +1 -0
  1129. package/dist/output_parsers/expression.d.cts +53 -0
  1130. package/dist/output_parsers/expression.d.cts.map +1 -0
  1131. package/dist/output_parsers/expression.d.ts +34 -28
  1132. package/dist/output_parsers/expression.d.ts.map +1 -0
  1133. package/dist/output_parsers/expression.js +77 -83
  1134. package/dist/output_parsers/expression.js.map +1 -0
  1135. package/dist/output_parsers/expression_type_handlers/array_literal_expression_handler.cjs +36 -42
  1136. package/dist/output_parsers/expression_type_handlers/array_literal_expression_handler.cjs.map +1 -0
  1137. package/dist/output_parsers/expression_type_handlers/array_literal_expression_handler.js +37 -39
  1138. package/dist/output_parsers/expression_type_handlers/array_literal_expression_handler.js.map +1 -0
  1139. package/dist/output_parsers/expression_type_handlers/base.cjs +127 -163
  1140. package/dist/output_parsers/expression_type_handlers/base.cjs.map +1 -0
  1141. package/dist/output_parsers/expression_type_handlers/base.d.cts +108 -0
  1142. package/dist/output_parsers/expression_type_handlers/base.d.cts.map +1 -0
  1143. package/dist/output_parsers/expression_type_handlers/base.d.ts +97 -89
  1144. package/dist/output_parsers/expression_type_handlers/base.d.ts.map +1 -0
  1145. package/dist/output_parsers/expression_type_handlers/base.js +126 -125
  1146. package/dist/output_parsers/expression_type_handlers/base.js.map +1 -0
  1147. package/dist/output_parsers/expression_type_handlers/boolean_literal_handler.cjs +36 -40
  1148. package/dist/output_parsers/expression_type_handlers/boolean_literal_handler.cjs.map +1 -0
  1149. package/dist/output_parsers/expression_type_handlers/boolean_literal_handler.js +37 -37
  1150. package/dist/output_parsers/expression_type_handlers/boolean_literal_handler.js.map +1 -0
  1151. package/dist/output_parsers/expression_type_handlers/call_expression_handler.cjs +62 -72
  1152. package/dist/output_parsers/expression_type_handlers/call_expression_handler.cjs.map +1 -0
  1153. package/dist/output_parsers/expression_type_handlers/call_expression_handler.js +63 -69
  1154. package/dist/output_parsers/expression_type_handlers/call_expression_handler.js.map +1 -0
  1155. package/dist/output_parsers/expression_type_handlers/factory.cjs +64 -72
  1156. package/dist/output_parsers/expression_type_handlers/factory.cjs.map +1 -0
  1157. package/dist/output_parsers/expression_type_handlers/factory.d.cts +35 -0
  1158. package/dist/output_parsers/expression_type_handlers/factory.d.cts.map +1 -0
  1159. package/dist/output_parsers/expression_type_handlers/factory.d.ts +26 -19
  1160. package/dist/output_parsers/expression_type_handlers/factory.d.ts.map +1 -0
  1161. package/dist/output_parsers/expression_type_handlers/factory.js +56 -60
  1162. package/dist/output_parsers/expression_type_handlers/factory.js.map +1 -0
  1163. package/dist/output_parsers/expression_type_handlers/grammar/parser_grammar.cjs +18 -15
  1164. package/dist/output_parsers/expression_type_handlers/grammar/parser_grammar.cjs.map +1 -0
  1165. package/dist/output_parsers/expression_type_handlers/grammar/parser_grammar.js +17 -12
  1166. package/dist/output_parsers/expression_type_handlers/grammar/parser_grammar.js.map +1 -0
  1167. package/dist/output_parsers/expression_type_handlers/identifier_handler.cjs +38 -39
  1168. package/dist/output_parsers/expression_type_handlers/identifier_handler.cjs.map +1 -0
  1169. package/dist/output_parsers/expression_type_handlers/identifier_handler.js +39 -36
  1170. package/dist/output_parsers/expression_type_handlers/identifier_handler.js.map +1 -0
  1171. package/dist/output_parsers/expression_type_handlers/member_expression_handler.cjs +46 -60
  1172. package/dist/output_parsers/expression_type_handlers/member_expression_handler.cjs.map +1 -0
  1173. package/dist/output_parsers/expression_type_handlers/member_expression_handler.js +47 -57
  1174. package/dist/output_parsers/expression_type_handlers/member_expression_handler.js.map +1 -0
  1175. package/dist/output_parsers/expression_type_handlers/numeric_literal_handler.cjs +34 -38
  1176. package/dist/output_parsers/expression_type_handlers/numeric_literal_handler.cjs.map +1 -0
  1177. package/dist/output_parsers/expression_type_handlers/numeric_literal_handler.js +35 -35
  1178. package/dist/output_parsers/expression_type_handlers/numeric_literal_handler.js.map +1 -0
  1179. package/dist/output_parsers/expression_type_handlers/object_literal_expression_handler.cjs +38 -43
  1180. package/dist/output_parsers/expression_type_handlers/object_literal_expression_handler.cjs.map +1 -0
  1181. package/dist/output_parsers/expression_type_handlers/object_literal_expression_handler.js +38 -39
  1182. package/dist/output_parsers/expression_type_handlers/object_literal_expression_handler.js.map +1 -0
  1183. package/dist/output_parsers/expression_type_handlers/property_assignment_handler.cjs +43 -51
  1184. package/dist/output_parsers/expression_type_handlers/property_assignment_handler.cjs.map +1 -0
  1185. package/dist/output_parsers/expression_type_handlers/property_assignment_handler.js +44 -48
  1186. package/dist/output_parsers/expression_type_handlers/property_assignment_handler.js.map +1 -0
  1187. package/dist/output_parsers/expression_type_handlers/string_literal_handler.cjs +35 -36
  1188. package/dist/output_parsers/expression_type_handlers/string_literal_handler.cjs.map +1 -0
  1189. package/dist/output_parsers/expression_type_handlers/string_literal_handler.js +36 -33
  1190. package/dist/output_parsers/expression_type_handlers/string_literal_handler.js.map +1 -0
  1191. package/dist/output_parsers/expression_type_handlers/types.d.cts +95 -0
  1192. package/dist/output_parsers/expression_type_handlers/types.d.cts.map +1 -0
  1193. package/dist/output_parsers/expression_type_handlers/types.d.ts +36 -32
  1194. package/dist/output_parsers/expression_type_handlers/types.d.ts.map +1 -0
  1195. package/dist/output_parsers/fix.cjs +88 -100
  1196. package/dist/output_parsers/fix.cjs.map +1 -0
  1197. package/dist/output_parsers/fix.d.cts +60 -0
  1198. package/dist/output_parsers/fix.d.cts.map +1 -0
  1199. package/dist/output_parsers/fix.d.ts +49 -42
  1200. package/dist/output_parsers/fix.d.ts.map +1 -0
  1201. package/dist/output_parsers/fix.js +86 -95
  1202. package/dist/output_parsers/fix.js.map +1 -0
  1203. package/dist/output_parsers/http_response.cjs +51 -80
  1204. package/dist/output_parsers/http_response.cjs.map +1 -0
  1205. package/dist/output_parsers/http_response.d.cts +33 -0
  1206. package/dist/output_parsers/http_response.d.cts.map +1 -0
  1207. package/dist/output_parsers/http_response.d.ts +26 -21
  1208. package/dist/output_parsers/http_response.d.ts.map +1 -0
  1209. package/dist/output_parsers/http_response.js +51 -77
  1210. package/dist/output_parsers/http_response.js.map +1 -0
  1211. package/dist/output_parsers/index.cjs +74 -31
  1212. package/dist/output_parsers/index.cjs.map +1 -0
  1213. package/dist/output_parsers/index.d.cts +11 -0
  1214. package/dist/output_parsers/index.d.ts +11 -11
  1215. package/dist/output_parsers/index.js +37 -11
  1216. package/dist/output_parsers/index.js.map +1 -0
  1217. package/dist/output_parsers/noop.cjs +41 -47
  1218. package/dist/output_parsers/noop.cjs.map +1 -0
  1219. package/dist/output_parsers/noop.js +40 -43
  1220. package/dist/output_parsers/noop.js.map +1 -0
  1221. package/dist/output_parsers/openai_functions.cjs +141 -206
  1222. package/dist/output_parsers/openai_functions.cjs.map +1 -0
  1223. package/dist/output_parsers/openai_functions.d.cts +85 -0
  1224. package/dist/output_parsers/openai_functions.d.cts.map +1 -0
  1225. package/dist/output_parsers/openai_functions.d.ts +64 -58
  1226. package/dist/output_parsers/openai_functions.d.ts.map +1 -0
  1227. package/dist/output_parsers/openai_functions.js +139 -201
  1228. package/dist/output_parsers/openai_functions.js.map +1 -0
  1229. package/dist/output_parsers/openai_tools.cjs +86 -140
  1230. package/dist/output_parsers/openai_tools.cjs.map +1 -0
  1231. package/dist/output_parsers/openai_tools.d.cts +69 -0
  1232. package/dist/output_parsers/openai_tools.d.cts.map +1 -0
  1233. package/dist/output_parsers/openai_tools.d.ts +51 -42
  1234. package/dist/output_parsers/openai_tools.d.ts.map +1 -0
  1235. package/dist/output_parsers/openai_tools.js +84 -135
  1236. package/dist/output_parsers/openai_tools.js.map +1 -0
  1237. package/dist/output_parsers/prompts.cjs +10 -7
  1238. package/dist/output_parsers/prompts.cjs.map +1 -0
  1239. package/dist/output_parsers/prompts.js +8 -3
  1240. package/dist/output_parsers/prompts.js.map +1 -0
  1241. package/dist/output_parsers/regex.cjs +72 -106
  1242. package/dist/output_parsers/regex.cjs.map +1 -0
  1243. package/dist/output_parsers/regex.d.cts +49 -0
  1244. package/dist/output_parsers/regex.d.cts.map +1 -0
  1245. package/dist/output_parsers/regex.d.ts +38 -33
  1246. package/dist/output_parsers/regex.d.ts.map +1 -0
  1247. package/dist/output_parsers/regex.js +72 -103
  1248. package/dist/output_parsers/regex.js.map +1 -0
  1249. package/dist/output_parsers/router.cjs +38 -45
  1250. package/dist/output_parsers/router.cjs.map +1 -0
  1251. package/dist/output_parsers/router.d.cts +36 -0
  1252. package/dist/output_parsers/router.d.cts.map +1 -0
  1253. package/dist/output_parsers/router.d.ts +23 -17
  1254. package/dist/output_parsers/router.d.ts.map +1 -0
  1255. package/dist/output_parsers/router.js +37 -41
  1256. package/dist/output_parsers/router.js.map +1 -0
  1257. package/dist/output_parsers/structured.cjs +148 -180
  1258. package/dist/output_parsers/structured.cjs.map +1 -0
  1259. package/dist/output_parsers/structured.d.cts +97 -0
  1260. package/dist/output_parsers/structured.d.cts.map +1 -0
  1261. package/dist/output_parsers/structured.d.ts +82 -74
  1262. package/dist/output_parsers/structured.d.ts.map +1 -0
  1263. package/dist/output_parsers/structured.js +144 -173
  1264. package/dist/output_parsers/structured.js.map +1 -0
  1265. package/dist/retrievers/contextual_compression.cjs +51 -51
  1266. package/dist/retrievers/contextual_compression.cjs.map +1 -0
  1267. package/dist/retrievers/contextual_compression.d.cts +42 -0
  1268. package/dist/retrievers/contextual_compression.d.cts.map +1 -0
  1269. package/dist/retrievers/contextual_compression.d.ts +19 -13
  1270. package/dist/retrievers/contextual_compression.d.ts.map +1 -0
  1271. package/dist/retrievers/contextual_compression.js +46 -48
  1272. package/dist/retrievers/contextual_compression.js.map +1 -0
  1273. package/dist/retrievers/document_compressors/chain_extract.cjs +97 -104
  1274. package/dist/retrievers/document_compressors/chain_extract.cjs.map +1 -0
  1275. package/dist/retrievers/document_compressors/chain_extract.d.cts +47 -0
  1276. package/dist/retrievers/document_compressors/chain_extract.d.cts.map +1 -0
  1277. package/dist/retrievers/document_compressors/chain_extract.d.ts +35 -26
  1278. package/dist/retrievers/document_compressors/chain_extract.d.ts.map +1 -0
  1279. package/dist/retrievers/document_compressors/chain_extract.js +89 -98
  1280. package/dist/retrievers/document_compressors/chain_extract.js.map +1 -0
  1281. package/dist/retrievers/document_compressors/chain_extract_prompt.cjs +5 -3
  1282. package/dist/retrievers/document_compressors/chain_extract_prompt.cjs.map +1 -0
  1283. package/dist/retrievers/document_compressors/chain_extract_prompt.js +6 -1
  1284. package/dist/retrievers/document_compressors/chain_extract_prompt.js.map +1 -0
  1285. package/dist/retrievers/document_compressors/embeddings_filter.cjs +72 -89
  1286. package/dist/retrievers/document_compressors/embeddings_filter.cjs.map +1 -0
  1287. package/dist/retrievers/document_compressors/embeddings_filter.d.cts +58 -0
  1288. package/dist/retrievers/document_compressors/embeddings_filter.d.cts.map +1 -0
  1289. package/dist/retrievers/document_compressors/embeddings_filter.d.ts +35 -29
  1290. package/dist/retrievers/document_compressors/embeddings_filter.d.ts.map +1 -0
  1291. package/dist/retrievers/document_compressors/embeddings_filter.js +66 -85
  1292. package/dist/retrievers/document_compressors/embeddings_filter.js.map +1 -0
  1293. package/dist/retrievers/document_compressors/index.cjs +66 -64
  1294. package/dist/retrievers/document_compressors/index.cjs.map +1 -0
  1295. package/dist/retrievers/document_compressors/index.d.cts +61 -0
  1296. package/dist/retrievers/document_compressors/index.d.cts.map +1 -0
  1297. package/dist/retrievers/document_compressors/index.d.ts +25 -19
  1298. package/dist/retrievers/document_compressors/index.d.ts.map +1 -0
  1299. package/dist/retrievers/document_compressors/index.js +60 -60
  1300. package/dist/retrievers/document_compressors/index.js.map +1 -0
  1301. package/dist/retrievers/ensemble.cjs +74 -89
  1302. package/dist/retrievers/ensemble.cjs.map +1 -0
  1303. package/dist/retrievers/ensemble.d.cts +39 -0
  1304. package/dist/retrievers/ensemble.d.cts.map +1 -0
  1305. package/dist/retrievers/ensemble.d.ts +31 -26
  1306. package/dist/retrievers/ensemble.d.ts.map +1 -0
  1307. package/dist/retrievers/ensemble.js +68 -85
  1308. package/dist/retrievers/ensemble.js.map +1 -0
  1309. package/dist/retrievers/hyde.cjs +108 -111
  1310. package/dist/retrievers/hyde.cjs.map +1 -0
  1311. package/dist/retrievers/hyde.d.cts +61 -0
  1312. package/dist/retrievers/hyde.d.cts.map +1 -0
  1313. package/dist/retrievers/hyde.d.ts +20 -14
  1314. package/dist/retrievers/hyde.d.ts.map +1 -0
  1315. package/dist/retrievers/hyde.js +101 -106
  1316. package/dist/retrievers/hyde.js.map +1 -0
  1317. package/dist/retrievers/matryoshka_retriever.cjs +114 -146
  1318. package/dist/retrievers/matryoshka_retriever.cjs.map +1 -0
  1319. package/dist/retrievers/matryoshka_retriever.d.cts +99 -0
  1320. package/dist/retrievers/matryoshka_retriever.d.cts.map +1 -0
  1321. package/dist/retrievers/matryoshka_retriever.d.ts +70 -64
  1322. package/dist/retrievers/matryoshka_retriever.d.ts.map +1 -0
  1323. package/dist/retrievers/matryoshka_retriever.js +109 -143
  1324. package/dist/retrievers/matryoshka_retriever.js.map +1 -0
  1325. package/dist/retrievers/multi_query.cjs +133 -156
  1326. package/dist/retrievers/multi_query.cjs.map +1 -0
  1327. package/dist/retrievers/multi_query.d.cts +59 -0
  1328. package/dist/retrievers/multi_query.d.cts.map +1 -0
  1329. package/dist/retrievers/multi_query.d.ts +39 -33
  1330. package/dist/retrievers/multi_query.d.ts.map +1 -0
  1331. package/dist/retrievers/multi_query.js +127 -152
  1332. package/dist/retrievers/multi_query.js.map +1 -0
  1333. package/dist/retrievers/multi_vector.cjs +65 -92
  1334. package/dist/retrievers/multi_vector.cjs.map +1 -0
  1335. package/dist/retrievers/multi_vector.d.cts +51 -0
  1336. package/dist/retrievers/multi_vector.d.cts.map +1 -0
  1337. package/dist/retrievers/multi_vector.d.ts +27 -21
  1338. package/dist/retrievers/multi_vector.d.ts.map +1 -0
  1339. package/dist/retrievers/multi_vector.js +59 -88
  1340. package/dist/retrievers/multi_vector.js.map +1 -0
  1341. package/dist/retrievers/parent_document.cjs +135 -226
  1342. package/dist/retrievers/parent_document.cjs.map +1 -0
  1343. package/dist/retrievers/parent_document.d.cts +92 -0
  1344. package/dist/retrievers/parent_document.d.cts.map +1 -0
  1345. package/dist/retrievers/parent_document.d.ts +55 -49
  1346. package/dist/retrievers/parent_document.d.ts.map +1 -0
  1347. package/dist/retrievers/parent_document.js +129 -189
  1348. package/dist/retrievers/parent_document.js.map +1 -0
  1349. package/dist/retrievers/score_threshold.cjs +42 -44
  1350. package/dist/retrievers/score_threshold.cjs.map +1 -0
  1351. package/dist/retrievers/score_threshold.d.cts +20 -0
  1352. package/dist/retrievers/score_threshold.d.cts.map +1 -0
  1353. package/dist/retrievers/score_threshold.d.ts +16 -11
  1354. package/dist/retrievers/score_threshold.d.ts.map +1 -0
  1355. package/dist/retrievers/score_threshold.js +37 -41
  1356. package/dist/retrievers/score_threshold.js.map +1 -0
  1357. package/dist/retrievers/self_query/functional.cjs +21 -5
  1358. package/dist/retrievers/self_query/functional.cjs.map +1 -0
  1359. package/dist/retrievers/self_query/functional.d.cts +2 -0
  1360. package/dist/retrievers/self_query/functional.d.ts +2 -1
  1361. package/dist/retrievers/self_query/functional.js +10 -1
  1362. package/dist/retrievers/self_query/functional.js.map +1 -0
  1363. package/dist/retrievers/self_query/index.cjs +128 -124
  1364. package/dist/retrievers/self_query/index.cjs.map +1 -0
  1365. package/dist/retrievers/self_query/index.d.cts +79 -0
  1366. package/dist/retrievers/self_query/index.d.cts.map +1 -0
  1367. package/dist/retrievers/self_query/index.d.ts +53 -48
  1368. package/dist/retrievers/self_query/index.d.ts.map +1 -0
  1369. package/dist/retrievers/self_query/index.js +105 -119
  1370. package/dist/retrievers/self_query/index.js.map +1 -0
  1371. package/dist/retrievers/time_weighted.cjs +234 -254
  1372. package/dist/retrievers/time_weighted.cjs.map +1 -0
  1373. package/dist/retrievers/time_weighted.d.cts +142 -0
  1374. package/dist/retrievers/time_weighted.d.cts.map +1 -0
  1375. package/dist/retrievers/time_weighted.d.ts +115 -114
  1376. package/dist/retrievers/time_weighted.d.ts.map +1 -0
  1377. package/dist/retrievers/time_weighted.js +226 -250
  1378. package/dist/retrievers/time_weighted.js.map +1 -0
  1379. package/dist/sql_db.cjs +117 -196
  1380. package/dist/sql_db.cjs.map +1 -0
  1381. package/dist/sql_db.d.cts +60 -0
  1382. package/dist/sql_db.d.cts.map +1 -0
  1383. package/dist/sql_db.d.ts +44 -38
  1384. package/dist/sql_db.d.ts.map +1 -0
  1385. package/dist/sql_db.js +111 -159
  1386. package/dist/sql_db.js.map +1 -0
  1387. package/dist/storage/encoder_backed.cjs +91 -102
  1388. package/dist/storage/encoder_backed.cjs.map +1 -0
  1389. package/dist/storage/encoder_backed.d.cts +54 -0
  1390. package/dist/storage/encoder_backed.d.cts.map +1 -0
  1391. package/dist/storage/encoder_backed.d.ts +42 -35
  1392. package/dist/storage/encoder_backed.d.ts.map +1 -0
  1393. package/dist/storage/encoder_backed.js +83 -96
  1394. package/dist/storage/encoder_backed.js.map +1 -0
  1395. package/dist/storage/file_system.cjs +155 -214
  1396. package/dist/storage/file_system.cjs.map +1 -0
  1397. package/dist/storage/file_system.d.cts +83 -0
  1398. package/dist/storage/file_system.d.cts.map +1 -0
  1399. package/dist/storage/file_system.d.ts +50 -53
  1400. package/dist/storage/file_system.d.ts.map +1 -0
  1401. package/dist/storage/file_system.js +149 -177
  1402. package/dist/storage/file_system.js.map +1 -0
  1403. package/dist/storage/in_memory.cjs +21 -5
  1404. package/dist/storage/in_memory.cjs.map +1 -0
  1405. package/dist/storage/in_memory.d.cts +2 -0
  1406. package/dist/storage/in_memory.d.ts +2 -1
  1407. package/dist/storage/in_memory.js +10 -1
  1408. package/dist/storage/in_memory.js.map +1 -0
  1409. package/dist/stores/doc/base.cjs +18 -8
  1410. package/dist/stores/doc/base.cjs.map +1 -0
  1411. package/dist/stores/doc/base.d.cts +15 -0
  1412. package/dist/stores/doc/base.d.cts.map +1 -0
  1413. package/dist/stores/doc/base.d.ts +9 -3
  1414. package/dist/stores/doc/base.d.ts.map +1 -0
  1415. package/dist/stores/doc/base.js +13 -5
  1416. package/dist/stores/doc/base.js.map +1 -0
  1417. package/dist/stores/doc/in_memory.cjs +91 -104
  1418. package/dist/stores/doc/in_memory.cjs.map +1 -0
  1419. package/dist/stores/doc/in_memory.d.cts +53 -0
  1420. package/dist/stores/doc/in_memory.d.cts.map +1 -0
  1421. package/dist/stores/doc/in_memory.d.ts +42 -35
  1422. package/dist/stores/doc/in_memory.d.ts.map +1 -0
  1423. package/dist/stores/doc/in_memory.js +84 -99
  1424. package/dist/stores/doc/in_memory.js.map +1 -0
  1425. package/dist/stores/file/base.cjs +11 -9
  1426. package/dist/stores/file/base.cjs.map +1 -0
  1427. package/dist/stores/file/base.d.cts +15 -0
  1428. package/dist/stores/file/base.d.cts.map +1 -0
  1429. package/dist/stores/file/base.d.ts +9 -3
  1430. package/dist/stores/file/base.d.ts.map +1 -0
  1431. package/dist/stores/file/base.js +10 -5
  1432. package/dist/stores/file/base.js.map +1 -0
  1433. package/dist/stores/file/in_memory.cjs +51 -50
  1434. package/dist/stores/file/in_memory.cjs.map +1 -0
  1435. package/dist/stores/file/in_memory.d.cts +33 -0
  1436. package/dist/stores/file/in_memory.d.cts.map +1 -0
  1437. package/dist/stores/file/in_memory.d.ts +24 -18
  1438. package/dist/stores/file/in_memory.d.ts.map +1 -0
  1439. package/dist/stores/file/in_memory.js +45 -46
  1440. package/dist/stores/file/in_memory.js.map +1 -0
  1441. package/dist/stores/file/node.cjs +50 -77
  1442. package/dist/stores/file/node.cjs.map +1 -0
  1443. package/dist/stores/file/node.d.cts +29 -0
  1444. package/dist/stores/file/node.d.cts.map +1 -0
  1445. package/dist/stores/file/node.d.ts +23 -17
  1446. package/dist/stores/file/node.d.ts.map +1 -0
  1447. package/dist/stores/file/node.js +43 -39
  1448. package/dist/stores/file/node.js.map +1 -0
  1449. package/dist/stores/message/in_memory.cjs +21 -5
  1450. package/dist/stores/message/in_memory.cjs.map +1 -0
  1451. package/dist/stores/message/in_memory.d.cts +2 -0
  1452. package/dist/stores/message/in_memory.d.ts +2 -1
  1453. package/dist/stores/message/in_memory.js +10 -1
  1454. package/dist/stores/message/in_memory.js.map +1 -0
  1455. package/dist/text_splitter.cjs +22 -17
  1456. package/dist/text_splitter.cjs.map +1 -0
  1457. package/dist/text_splitter.d.cts +1 -0
  1458. package/dist/text_splitter.d.ts +1 -1
  1459. package/dist/text_splitter.js +12 -1
  1460. package/dist/text_splitter.js.map +1 -0
  1461. package/dist/tools/chain.cjs +34 -28
  1462. package/dist/tools/chain.cjs.map +1 -0
  1463. package/dist/tools/chain.d.cts +32 -0
  1464. package/dist/tools/chain.d.cts.map +1 -0
  1465. package/dist/tools/chain.d.ts +16 -7
  1466. package/dist/tools/chain.d.ts.map +1 -0
  1467. package/dist/tools/chain.js +28 -24
  1468. package/dist/tools/chain.js.map +1 -0
  1469. package/dist/tools/fs.cjs +53 -90
  1470. package/dist/tools/fs.cjs.map +1 -0
  1471. package/dist/tools/fs.d.cts +92 -0
  1472. package/dist/tools/fs.d.cts.map +1 -0
  1473. package/dist/tools/fs.d.ts +70 -36
  1474. package/dist/tools/fs.d.ts.map +1 -0
  1475. package/dist/tools/fs.js +51 -85
  1476. package/dist/tools/fs.js.map +1 -0
  1477. package/dist/tools/index.cjs +68 -26
  1478. package/dist/tools/index.cjs.map +1 -0
  1479. package/dist/tools/index.d.cts +8 -0
  1480. package/dist/tools/index.d.ts +8 -8
  1481. package/dist/tools/index.js +30 -8
  1482. package/dist/tools/index.js.map +1 -0
  1483. package/dist/tools/json.cjs +101 -159
  1484. package/dist/tools/json.cjs.map +1 -0
  1485. package/dist/tools/json.d.cts +65 -0
  1486. package/dist/tools/json.d.cts.map +1 -0
  1487. package/dist/tools/json.d.ts +46 -41
  1488. package/dist/tools/json.d.ts.map +1 -0
  1489. package/dist/tools/json.js +98 -150
  1490. package/dist/tools/json.js.map +1 -0
  1491. package/dist/tools/render.cjs +49 -48
  1492. package/dist/tools/render.cjs.map +1 -0
  1493. package/dist/tools/render.d.cts +32 -0
  1494. package/dist/tools/render.d.cts.map +1 -0
  1495. package/dist/tools/render.d.ts +8 -2
  1496. package/dist/tools/render.d.ts.map +1 -0
  1497. package/dist/tools/render.js +43 -45
  1498. package/dist/tools/render.js.map +1 -0
  1499. package/dist/tools/requests.cjs +66 -106
  1500. package/dist/tools/requests.cjs.map +1 -0
  1501. package/dist/tools/requests.d.cts +56 -0
  1502. package/dist/tools/requests.d.cts.map +1 -0
  1503. package/dist/tools/requests.d.ts +36 -27
  1504. package/dist/tools/requests.d.ts.map +1 -0
  1505. package/dist/tools/requests.js +64 -101
  1506. package/dist/tools/requests.js.map +1 -0
  1507. package/dist/tools/retriever.cjs +28 -14
  1508. package/dist/tools/retriever.cjs.map +1 -0
  1509. package/dist/tools/retriever.d.cts +19 -0
  1510. package/dist/tools/retriever.d.cts.map +1 -0
  1511. package/dist/tools/retriever.d.ts +13 -8
  1512. package/dist/tools/retriever.d.ts.map +1 -0
  1513. package/dist/tools/retriever.js +22 -11
  1514. package/dist/tools/retriever.js.map +1 -0
  1515. package/dist/tools/sql.cjs +147 -204
  1516. package/dist/tools/sql.cjs.map +1 -0
  1517. package/dist/tools/sql.d.cts +86 -0
  1518. package/dist/tools/sql.d.cts.map +1 -0
  1519. package/dist/tools/sql.d.ts +45 -40
  1520. package/dist/tools/sql.d.ts.map +1 -0
  1521. package/dist/tools/sql.js +137 -196
  1522. package/dist/tools/sql.js.map +1 -0
  1523. package/dist/tools/vectorstore.cjs +43 -65
  1524. package/dist/tools/vectorstore.cjs.map +1 -0
  1525. package/dist/tools/vectorstore.d.cts +40 -0
  1526. package/dist/tools/vectorstore.d.cts.map +1 -0
  1527. package/dist/tools/vectorstore.d.ts +28 -23
  1528. package/dist/tools/vectorstore.d.ts.map +1 -0
  1529. package/dist/tools/vectorstore.js +42 -61
  1530. package/dist/tools/vectorstore.js.map +1 -0
  1531. package/dist/tools/webbrowser.cjs +165 -254
  1532. package/dist/tools/webbrowser.cjs.map +1 -0
  1533. package/dist/tools/webbrowser.d.cts +69 -0
  1534. package/dist/tools/webbrowser.d.cts.map +1 -0
  1535. package/dist/tools/webbrowser.d.ts +47 -31
  1536. package/dist/tools/webbrowser.d.ts.map +1 -0
  1537. package/dist/tools/webbrowser.js +158 -213
  1538. package/dist/tools/webbrowser.js.map +1 -0
  1539. package/dist/types/expression-parser.d.cts +89 -0
  1540. package/dist/types/expression-parser.d.cts.map +1 -0
  1541. package/dist/types/expression-parser.d.ts +89 -0
  1542. package/dist/types/expression-parser.d.ts.map +1 -0
  1543. package/dist/types/type-utils.d.cts +7 -0
  1544. package/dist/types/type-utils.d.cts.map +1 -0
  1545. package/dist/types/type-utils.d.ts +7 -1
  1546. package/dist/types/type-utils.d.ts.map +1 -0
  1547. package/dist/util/document.cjs +20 -9
  1548. package/dist/util/document.cjs.map +1 -0
  1549. package/dist/util/document.d.cts +15 -0
  1550. package/dist/util/document.d.cts.map +1 -0
  1551. package/dist/util/document.d.ts +7 -1
  1552. package/dist/util/document.d.ts.map +1 -0
  1553. package/dist/util/document.js +16 -7
  1554. package/dist/util/document.js.map +1 -0
  1555. package/dist/util/entrypoint_deprecation.cjs +1 -69
  1556. package/dist/util/entrypoint_deprecation.js +1 -65
  1557. package/dist/util/env.cjs +2 -12
  1558. package/dist/util/env.js +1 -1
  1559. package/dist/util/extname.cjs +5 -3
  1560. package/dist/util/extname.cjs.map +1 -0
  1561. package/dist/util/extname.js +6 -1
  1562. package/dist/util/extname.js.map +1 -0
  1563. package/dist/util/hub.cjs +32 -39
  1564. package/dist/util/hub.cjs.map +1 -0
  1565. package/dist/util/hub.js +32 -33
  1566. package/dist/util/hub.js.map +1 -0
  1567. package/dist/util/load.cjs +12 -44
  1568. package/dist/util/load.cjs.map +1 -0
  1569. package/dist/util/load.d.cts +6 -0
  1570. package/dist/util/load.d.cts.map +1 -0
  1571. package/dist/util/load.d.ts +6 -3
  1572. package/dist/util/load.d.ts.map +1 -0
  1573. package/dist/util/load.js +13 -9
  1574. package/dist/util/load.js.map +1 -0
  1575. package/dist/util/math.cjs +22 -17
  1576. package/dist/util/math.cjs.map +1 -0
  1577. package/dist/util/math.d.cts +1 -0
  1578. package/dist/util/math.d.ts +1 -1
  1579. package/dist/util/math.js +12 -1
  1580. package/dist/util/math.js.map +1 -0
  1581. package/dist/util/ml-distance/distances.cjs +29 -45
  1582. package/dist/util/ml-distance/distances.cjs.map +1 -0
  1583. package/dist/util/ml-distance/distances.js +29 -42
  1584. package/dist/util/ml-distance/distances.js.map +1 -0
  1585. package/dist/util/ml-distance/similarities.cjs +20 -17
  1586. package/dist/util/ml-distance/similarities.cjs.map +1 -0
  1587. package/dist/util/ml-distance/similarities.d.cts +11 -0
  1588. package/dist/util/ml-distance/similarities.d.cts.map +1 -0
  1589. package/dist/util/ml-distance/similarities.d.ts +5 -1
  1590. package/dist/util/ml-distance/similarities.d.ts.map +1 -0
  1591. package/dist/util/ml-distance/similarities.js +20 -15
  1592. package/dist/util/ml-distance/similarities.js.map +1 -0
  1593. package/dist/util/ml-distance-euclidean/euclidean.cjs +10 -10
  1594. package/dist/util/ml-distance-euclidean/euclidean.cjs.map +1 -0
  1595. package/dist/util/ml-distance-euclidean/euclidean.js +11 -8
  1596. package/dist/util/ml-distance-euclidean/euclidean.js.map +1 -0
  1597. package/dist/util/openapi.cjs +148 -233
  1598. package/dist/util/openapi.cjs.map +1 -0
  1599. package/dist/util/openapi.d.cts +83 -0
  1600. package/dist/util/openapi.d.cts.map +1 -0
  1601. package/dist/util/openapi.d.ts +81 -74
  1602. package/dist/util/openapi.d.ts.map +1 -0
  1603. package/dist/util/openapi.js +147 -196
  1604. package/dist/util/openapi.js.map +1 -0
  1605. package/dist/util/parse.cjs +17 -54
  1606. package/dist/util/parse.cjs.map +1 -0
  1607. package/dist/util/parse.js +18 -18
  1608. package/dist/util/parse.js.map +1 -0
  1609. package/dist/util/set.cjs +25 -30
  1610. package/dist/util/set.cjs.map +1 -0
  1611. package/dist/util/set.js +25 -28
  1612. package/dist/util/set.js.map +1 -0
  1613. package/dist/util/sql_utils.cjs +128 -217
  1614. package/dist/util/sql_utils.cjs.map +1 -0
  1615. package/dist/util/sql_utils.d.cts +31 -0
  1616. package/dist/util/sql_utils.d.cts.map +1 -0
  1617. package/dist/util/sql_utils.d.ts +24 -25
  1618. package/dist/util/sql_utils.d.ts.map +1 -0
  1619. package/dist/util/sql_utils.js +130 -215
  1620. package/dist/util/sql_utils.js.map +1 -0
  1621. package/dist/util/time.cjs +23 -11
  1622. package/dist/util/time.cjs.map +1 -0
  1623. package/dist/util/time.d.cts +10 -0
  1624. package/dist/util/time.d.cts.map +1 -0
  1625. package/dist/util/time.d.ts +5 -1
  1626. package/dist/util/time.d.ts.map +1 -0
  1627. package/dist/util/time.js +17 -8
  1628. package/dist/util/time.js.map +1 -0
  1629. package/dist/vectorstores/memory.cjs +263 -270
  1630. package/dist/vectorstores/memory.cjs.map +1 -0
  1631. package/dist/vectorstores/memory.d.cts +216 -0
  1632. package/dist/vectorstores/memory.d.cts.map +1 -0
  1633. package/dist/vectorstores/memory.d.ts +91 -82
  1634. package/dist/vectorstores/memory.d.ts.map +1 -0
  1635. package/dist/vectorstores/memory.js +257 -266
  1636. package/dist/vectorstores/memory.js.map +1 -0
  1637. package/package.json +563 -1146
  1638. package/agents/format_scratchpad/log.cjs +0 -1
  1639. package/agents/format_scratchpad/log.d.cts +0 -1
  1640. package/agents/format_scratchpad/log.d.ts +0 -1
  1641. package/agents/format_scratchpad/log.js +0 -1
  1642. package/agents/format_scratchpad/log_to_message.cjs +0 -1
  1643. package/agents/format_scratchpad/log_to_message.d.cts +0 -1
  1644. package/agents/format_scratchpad/log_to_message.d.ts +0 -1
  1645. package/agents/format_scratchpad/log_to_message.js +0 -1
  1646. package/agents/format_scratchpad/openai_tools.cjs +0 -1
  1647. package/agents/format_scratchpad/openai_tools.d.cts +0 -1
  1648. package/agents/format_scratchpad/openai_tools.d.ts +0 -1
  1649. package/agents/format_scratchpad/openai_tools.js +0 -1
  1650. package/agents/format_scratchpad/xml.cjs +0 -1
  1651. package/agents/format_scratchpad/xml.d.cts +0 -1
  1652. package/agents/format_scratchpad/xml.d.ts +0 -1
  1653. package/agents/format_scratchpad/xml.js +0 -1
  1654. package/agents/format_scratchpad.cjs +0 -1
  1655. package/agents/format_scratchpad.d.cts +0 -1
  1656. package/agents/format_scratchpad.d.ts +0 -1
  1657. package/agents/format_scratchpad.js +0 -1
  1658. package/agents/load.cjs +0 -1
  1659. package/agents/load.d.cts +0 -1
  1660. package/agents/load.d.ts +0 -1
  1661. package/agents/load.js +0 -1
  1662. package/agents/openai/output_parser.cjs +0 -1
  1663. package/agents/openai/output_parser.d.cts +0 -1
  1664. package/agents/openai/output_parser.d.ts +0 -1
  1665. package/agents/openai/output_parser.js +0 -1
  1666. package/agents/react/output_parser.cjs +0 -1
  1667. package/agents/react/output_parser.d.cts +0 -1
  1668. package/agents/react/output_parser.d.ts +0 -1
  1669. package/agents/react/output_parser.js +0 -1
  1670. package/agents/toolkits/sql.cjs +0 -1
  1671. package/agents/toolkits/sql.d.cts +0 -1
  1672. package/agents/toolkits/sql.d.ts +0 -1
  1673. package/agents/toolkits/sql.js +0 -1
  1674. package/agents/toolkits.cjs +0 -1
  1675. package/agents/toolkits.d.cts +0 -1
  1676. package/agents/toolkits.d.ts +0 -1
  1677. package/agents/toolkits.js +0 -1
  1678. package/agents/xml/output_parser.cjs +0 -1
  1679. package/agents/xml/output_parser.d.cts +0 -1
  1680. package/agents/xml/output_parser.d.ts +0 -1
  1681. package/agents/xml/output_parser.js +0 -1
  1682. package/agents.cjs +0 -1
  1683. package/agents.d.cts +0 -1
  1684. package/agents.d.ts +0 -1
  1685. package/agents.js +0 -1
  1686. package/cache/file_system.cjs +0 -1
  1687. package/cache/file_system.d.cts +0 -1
  1688. package/cache/file_system.d.ts +0 -1
  1689. package/cache/file_system.js +0 -1
  1690. package/callbacks.cjs +0 -1
  1691. package/callbacks.d.cts +0 -1
  1692. package/callbacks.d.ts +0 -1
  1693. package/callbacks.js +0 -1
  1694. package/chains/combine_documents/reduce.cjs +0 -1
  1695. package/chains/combine_documents/reduce.d.cts +0 -1
  1696. package/chains/combine_documents/reduce.d.ts +0 -1
  1697. package/chains/combine_documents/reduce.js +0 -1
  1698. package/chains/combine_documents.cjs +0 -1
  1699. package/chains/combine_documents.d.cts +0 -1
  1700. package/chains/combine_documents.d.ts +0 -1
  1701. package/chains/combine_documents.js +0 -1
  1702. package/chains/graph_qa/cypher.cjs +0 -1
  1703. package/chains/graph_qa/cypher.d.cts +0 -1
  1704. package/chains/graph_qa/cypher.d.ts +0 -1
  1705. package/chains/graph_qa/cypher.js +0 -1
  1706. package/chains/history_aware_retriever.cjs +0 -1
  1707. package/chains/history_aware_retriever.d.cts +0 -1
  1708. package/chains/history_aware_retriever.d.ts +0 -1
  1709. package/chains/history_aware_retriever.js +0 -1
  1710. package/chains/load.cjs +0 -1
  1711. package/chains/load.d.cts +0 -1
  1712. package/chains/load.d.ts +0 -1
  1713. package/chains/load.js +0 -1
  1714. package/chains/openai_functions.cjs +0 -1
  1715. package/chains/openai_functions.d.cts +0 -1
  1716. package/chains/openai_functions.d.ts +0 -1
  1717. package/chains/openai_functions.js +0 -1
  1718. package/chains/query_constructor/ir.cjs +0 -1
  1719. package/chains/query_constructor/ir.d.cts +0 -1
  1720. package/chains/query_constructor/ir.d.ts +0 -1
  1721. package/chains/query_constructor/ir.js +0 -1
  1722. package/chains/query_constructor.cjs +0 -1
  1723. package/chains/query_constructor.d.cts +0 -1
  1724. package/chains/query_constructor.d.ts +0 -1
  1725. package/chains/query_constructor.js +0 -1
  1726. package/chains/retrieval.cjs +0 -1
  1727. package/chains/retrieval.d.cts +0 -1
  1728. package/chains/retrieval.d.ts +0 -1
  1729. package/chains/retrieval.js +0 -1
  1730. package/chains/sql_db.cjs +0 -1
  1731. package/chains/sql_db.d.cts +0 -1
  1732. package/chains/sql_db.d.ts +0 -1
  1733. package/chains/sql_db.js +0 -1
  1734. package/chains.cjs +0 -1
  1735. package/chains.d.cts +0 -1
  1736. package/chains.d.ts +0 -1
  1737. package/chains.js +0 -1
  1738. package/chat_models/universal.cjs +0 -1
  1739. package/chat_models/universal.d.cts +0 -1
  1740. package/chat_models/universal.d.ts +0 -1
  1741. package/chat_models/universal.js +0 -1
  1742. package/dist/agents/agent.cjs +0 -570
  1743. package/dist/agents/agent.d.ts +0 -284
  1744. package/dist/agents/agent.js +0 -524
  1745. package/dist/agents/chat/index.cjs +0 -123
  1746. package/dist/agents/chat/index.d.ts +0 -87
  1747. package/dist/agents/chat/index.js +0 -119
  1748. package/dist/agents/chat/outputParser.cjs +0 -94
  1749. package/dist/agents/chat/outputParser.d.ts +0 -70
  1750. package/dist/agents/chat/outputParser.js +0 -90
  1751. package/dist/agents/chat/prompt.cjs +0 -28
  1752. package/dist/agents/chat/prompt.d.ts +0 -3
  1753. package/dist/agents/chat/prompt.js +0 -25
  1754. package/dist/agents/chat_convo/index.cjs +0 -148
  1755. package/dist/agents/chat_convo/index.d.ts +0 -82
  1756. package/dist/agents/chat_convo/index.js +0 -144
  1757. package/dist/agents/chat_convo/outputParser.cjs +0 -163
  1758. package/dist/agents/chat_convo/outputParser.d.ts +0 -75
  1759. package/dist/agents/chat_convo/outputParser.js +0 -158
  1760. package/dist/agents/chat_convo/prompt.cjs +0 -60
  1761. package/dist/agents/chat_convo/prompt.d.ts +0 -5
  1762. package/dist/agents/chat_convo/prompt.js +0 -57
  1763. package/dist/agents/executor.cjs +0 -687
  1764. package/dist/agents/executor.d.ts +0 -163
  1765. package/dist/agents/executor.js +0 -681
  1766. package/dist/agents/format_scratchpad/log.cjs +0 -15
  1767. package/dist/agents/format_scratchpad/log.d.ts +0 -9
  1768. package/dist/agents/format_scratchpad/log.js +0 -12
  1769. package/dist/agents/format_scratchpad/log_to_message.cjs +0 -21
  1770. package/dist/agents/format_scratchpad/log_to_message.d.ts +0 -3
  1771. package/dist/agents/format_scratchpad/log_to_message.js +0 -18
  1772. package/dist/agents/format_scratchpad/openai_functions.cjs +0 -45
  1773. package/dist/agents/format_scratchpad/openai_functions.d.ts +0 -21
  1774. package/dist/agents/format_scratchpad/openai_functions.js +0 -41
  1775. package/dist/agents/format_scratchpad/openai_tools.cjs +0 -5
  1776. package/dist/agents/format_scratchpad/openai_tools.d.ts +0 -2
  1777. package/dist/agents/format_scratchpad/openai_tools.js +0 -2
  1778. package/dist/agents/format_scratchpad/tool_calling.cjs +0 -29
  1779. package/dist/agents/format_scratchpad/tool_calling.d.ts +0 -10
  1780. package/dist/agents/format_scratchpad/tool_calling.js +0 -25
  1781. package/dist/agents/format_scratchpad/xml.cjs +0 -11
  1782. package/dist/agents/format_scratchpad/xml.d.ts +0 -2
  1783. package/dist/agents/format_scratchpad/xml.js +0 -8
  1784. package/dist/agents/helpers.cjs +0 -21
  1785. package/dist/agents/helpers.d.ts +0 -4
  1786. package/dist/agents/helpers.js +0 -17
  1787. package/dist/agents/initialize.cjs +0 -136
  1788. package/dist/agents/initialize.d.ts +0 -60
  1789. package/dist/agents/initialize.js +0 -131
  1790. package/dist/agents/load.cjs +0 -21
  1791. package/dist/agents/load.d.ts +0 -8
  1792. package/dist/agents/load.js +0 -17
  1793. package/dist/agents/mrkl/index.cjs +0 -136
  1794. package/dist/agents/mrkl/index.d.ts +0 -93
  1795. package/dist/agents/mrkl/index.js +0 -132
  1796. package/dist/agents/mrkl/outputParser.cjs +0 -65
  1797. package/dist/agents/mrkl/outputParser.d.ts +0 -37
  1798. package/dist/agents/mrkl/outputParser.js +0 -61
  1799. package/dist/agents/mrkl/prompt.cjs +0 -18
  1800. package/dist/agents/mrkl/prompt.d.ts +0 -3
  1801. package/dist/agents/mrkl/prompt.js +0 -15
  1802. package/dist/agents/openai/output_parser.cjs +0 -22
  1803. package/dist/agents/openai/output_parser.d.ts +0 -2
  1804. package/dist/agents/openai/output_parser.js +0 -6
  1805. package/dist/agents/openai_functions/index.cjs +0 -249
  1806. package/dist/agents/openai_functions/index.d.ts +0 -154
  1807. package/dist/agents/openai_functions/index.js +0 -243
  1808. package/dist/agents/openai_functions/output_parser.cjs +0 -100
  1809. package/dist/agents/openai_functions/output_parser.d.ts +0 -56
  1810. package/dist/agents/openai_functions/output_parser.js +0 -96
  1811. package/dist/agents/openai_functions/prompt.cjs +0 -5
  1812. package/dist/agents/openai_functions/prompt.d.ts +0 -2
  1813. package/dist/agents/openai_functions/prompt.js +0 -2
  1814. package/dist/agents/openai_tools/index.cjs +0 -92
  1815. package/dist/agents/openai_tools/index.d.ts +0 -89
  1816. package/dist/agents/openai_tools/index.js +0 -88
  1817. package/dist/agents/openai_tools/output_parser.cjs +0 -105
  1818. package/dist/agents/openai_tools/output_parser.d.ts +0 -49
  1819. package/dist/agents/openai_tools/output_parser.js +0 -101
  1820. package/dist/agents/react/index.cjs +0 -80
  1821. package/dist/agents/react/index.d.ts +0 -70
  1822. package/dist/agents/react/index.js +0 -77
  1823. package/dist/agents/react/output_parser.cjs +0 -112
  1824. package/dist/agents/react/output_parser.d.ts +0 -62
  1825. package/dist/agents/react/output_parser.js +0 -108
  1826. package/dist/agents/react/prompt.cjs +0 -13
  1827. package/dist/agents/react/prompt.d.ts +0 -1
  1828. package/dist/agents/react/prompt.js +0 -10
  1829. package/dist/agents/structured_chat/index.cjs +0 -260
  1830. package/dist/agents/structured_chat/index.d.ts +0 -172
  1831. package/dist/agents/structured_chat/index.js +0 -255
  1832. package/dist/agents/structured_chat/outputParser.cjs +0 -162
  1833. package/dist/agents/structured_chat/outputParser.d.ts +0 -89
  1834. package/dist/agents/structured_chat/outputParser.js +0 -157
  1835. package/dist/agents/structured_chat/prompt.cjs +0 -62
  1836. package/dist/agents/structured_chat/prompt.d.ts +0 -4
  1837. package/dist/agents/structured_chat/prompt.js +0 -59
  1838. package/dist/agents/tool_calling/index.cjs +0 -93
  1839. package/dist/agents/tool_calling/index.d.ts +0 -78
  1840. package/dist/agents/tool_calling/index.js +0 -90
  1841. package/dist/agents/tool_calling/output_parser.cjs +0 -75
  1842. package/dist/agents/tool_calling/output_parser.d.ts +0 -22
  1843. package/dist/agents/tool_calling/output_parser.js +0 -70
  1844. package/dist/agents/toolkits/base.cjs +0 -5
  1845. package/dist/agents/toolkits/base.d.ts +0 -1
  1846. package/dist/agents/toolkits/base.js +0 -1
  1847. package/dist/agents/toolkits/conversational_retrieval/openai_functions.cjs +0 -49
  1848. package/dist/agents/toolkits/conversational_retrieval/openai_functions.d.ts +0 -21
  1849. package/dist/agents/toolkits/conversational_retrieval/openai_functions.js +0 -46
  1850. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.cjs +0 -134
  1851. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.ts +0 -52
  1852. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.js +0 -130
  1853. package/dist/agents/toolkits/conversational_retrieval/tool.cjs +0 -19
  1854. package/dist/agents/toolkits/conversational_retrieval/tool.d.ts +0 -15
  1855. package/dist/agents/toolkits/conversational_retrieval/tool.js +0 -16
  1856. package/dist/agents/toolkits/index.cjs +0 -21
  1857. package/dist/agents/toolkits/index.d.ts +0 -6
  1858. package/dist/agents/toolkits/index.js +0 -6
  1859. package/dist/agents/toolkits/json/json.cjs +0 -76
  1860. package/dist/agents/toolkits/json/json.d.ts +0 -36
  1861. package/dist/agents/toolkits/json/json.js +0 -71
  1862. package/dist/agents/toolkits/json/prompt.cjs +0 -27
  1863. package/dist/agents/toolkits/json/prompt.d.ts +0 -2
  1864. package/dist/agents/toolkits/json/prompt.js +0 -24
  1865. package/dist/agents/toolkits/openapi/openapi.cjs +0 -111
  1866. package/dist/agents/toolkits/openapi/openapi.d.ts +0 -64
  1867. package/dist/agents/toolkits/openapi/openapi.js +0 -105
  1868. package/dist/agents/toolkits/openapi/prompt.cjs +0 -32
  1869. package/dist/agents/toolkits/openapi/prompt.d.ts +0 -3
  1870. package/dist/agents/toolkits/openapi/prompt.js +0 -29
  1871. package/dist/agents/toolkits/sql/index.cjs +0 -9
  1872. package/dist/agents/toolkits/sql/index.d.ts +0 -2
  1873. package/dist/agents/toolkits/sql/index.js +0 -2
  1874. package/dist/agents/toolkits/sql/prompt.cjs +0 -20
  1875. package/dist/agents/toolkits/sql/prompt.d.ts +0 -2
  1876. package/dist/agents/toolkits/sql/prompt.js +0 -17
  1877. package/dist/agents/toolkits/sql/sql.cjs +0 -77
  1878. package/dist/agents/toolkits/sql/sql.d.ts +0 -32
  1879. package/dist/agents/toolkits/sql/sql.js +0 -72
  1880. package/dist/agents/toolkits/vectorstore/prompt.cjs +0 -11
  1881. package/dist/agents/toolkits/vectorstore/prompt.d.ts +0 -2
  1882. package/dist/agents/toolkits/vectorstore/prompt.js +0 -8
  1883. package/dist/agents/toolkits/vectorstore/vectorstore.cjs +0 -137
  1884. package/dist/agents/toolkits/vectorstore/vectorstore.d.ts +0 -55
  1885. package/dist/agents/toolkits/vectorstore/vectorstore.js +0 -130
  1886. package/dist/agents/types.cjs +0 -19
  1887. package/dist/agents/types.js +0 -14
  1888. package/dist/agents/xml/index.cjs +0 -185
  1889. package/dist/agents/xml/index.d.ts +0 -122
  1890. package/dist/agents/xml/index.js +0 -180
  1891. package/dist/agents/xml/output_parser.cjs +0 -67
  1892. package/dist/agents/xml/output_parser.d.ts +0 -35
  1893. package/dist/agents/xml/output_parser.js +0 -63
  1894. package/dist/agents/xml/prompt.cjs +0 -23
  1895. package/dist/agents/xml/prompt.d.ts +0 -1
  1896. package/dist/agents/xml/prompt.js +0 -20
  1897. package/dist/cache/base.cjs +0 -17
  1898. package/dist/cache/base.d.ts +0 -1
  1899. package/dist/cache/base.js +0 -1
  1900. package/dist/cache/file_system.cjs +0 -72
  1901. package/dist/cache/file_system.d.ts +0 -34
  1902. package/dist/cache/file_system.js +0 -65
  1903. package/dist/callbacks/handlers/console.cjs +0 -17
  1904. package/dist/callbacks/handlers/console.d.ts +0 -1
  1905. package/dist/callbacks/handlers/console.js +0 -1
  1906. package/dist/callbacks/handlers/run_collector.cjs +0 -17
  1907. package/dist/callbacks/handlers/run_collector.d.ts +0 -1
  1908. package/dist/callbacks/handlers/run_collector.js +0 -1
  1909. package/dist/callbacks/handlers/tracer.cjs +0 -17
  1910. package/dist/callbacks/handlers/tracer.d.ts +0 -1
  1911. package/dist/callbacks/handlers/tracer.js +0 -1
  1912. package/dist/callbacks/handlers/tracer_langchain.cjs +0 -17
  1913. package/dist/callbacks/handlers/tracer_langchain.d.ts +0 -1
  1914. package/dist/callbacks/handlers/tracer_langchain.js +0 -1
  1915. package/dist/callbacks/index.cjs +0 -14
  1916. package/dist/callbacks/index.d.ts +0 -5
  1917. package/dist/callbacks/index.js +0 -5
  1918. package/dist/callbacks/promises.cjs +0 -17
  1919. package/dist/callbacks/promises.d.ts +0 -1
  1920. package/dist/callbacks/promises.js +0 -1
  1921. package/dist/chains/api/prompts.d.ts +0 -13
  1922. package/dist/chains/combine_documents/base.d.ts +0 -13
  1923. package/dist/chains/constitutional_ai/constitutional_prompts.d.ts +0 -19
  1924. package/dist/chains/graph_qa/prompts.d.ts +0 -9
  1925. package/dist/chains/question_answering/map_reduce_prompts.d.ts +0 -6
  1926. package/dist/chains/question_answering/refine_prompts.d.ts +0 -17
  1927. package/dist/chains/question_answering/stuff_prompts.d.ts +0 -7
  1928. package/dist/chains/router/multi_prompt_prompt.d.ts +0 -2
  1929. package/dist/chains/router/multi_retrieval_prompt.d.ts +0 -2
  1930. package/dist/chains/router/utils.d.ts +0 -3
  1931. package/dist/chains/serde.cjs +0 -2
  1932. package/dist/chains/serde.js +0 -1
  1933. package/dist/chains/summarization/refine_prompts.d.ts +0 -5
  1934. package/dist/chains/summarization/stuff_prompts.d.ts +0 -4
  1935. package/dist/document_transformers/openai_functions.cjs +0 -52
  1936. package/dist/document_transformers/openai_functions.d.ts +0 -23
  1937. package/dist/document_transformers/openai_functions.js +0 -46
  1938. package/dist/evaluation/agents/index.d.ts +0 -1
  1939. package/dist/evaluation/agents/prompt.d.ts +0 -6
  1940. package/dist/evaluation/comparison/index.d.ts +0 -1
  1941. package/dist/evaluation/comparison/prompt.d.ts +0 -21
  1942. package/dist/evaluation/criteria/index.d.ts +0 -1
  1943. package/dist/evaluation/criteria/prompt.d.ts +0 -12
  1944. package/dist/evaluation/embedding_distance/index.d.ts +0 -1
  1945. package/dist/evaluation/qa/index.d.ts +0 -1
  1946. package/dist/evaluation/qa/prompt.d.ts +0 -11
  1947. package/dist/evaluation/types.cjs +0 -2
  1948. package/dist/evaluation/types.js +0 -1
  1949. package/dist/experimental/autogpt/agent.cjs +0 -210
  1950. package/dist/experimental/autogpt/agent.d.ts +0 -80
  1951. package/dist/experimental/autogpt/agent.js +0 -206
  1952. package/dist/experimental/autogpt/index.cjs +0 -10
  1953. package/dist/experimental/autogpt/index.d.ts +0 -4
  1954. package/dist/experimental/autogpt/index.js +0 -3
  1955. package/dist/experimental/autogpt/output_parser.cjs +0 -85
  1956. package/dist/experimental/autogpt/output_parser.d.ts +0 -33
  1957. package/dist/experimental/autogpt/output_parser.js +0 -80
  1958. package/dist/experimental/autogpt/prompt.cjs +0 -137
  1959. package/dist/experimental/autogpt/prompt.d.ts +0 -58
  1960. package/dist/experimental/autogpt/prompt.js +0 -133
  1961. package/dist/experimental/autogpt/prompt_generator.cjs +0 -154
  1962. package/dist/experimental/autogpt/prompt_generator.d.ts +0 -49
  1963. package/dist/experimental/autogpt/prompt_generator.js +0 -149
  1964. package/dist/experimental/autogpt/schema.cjs +0 -4
  1965. package/dist/experimental/autogpt/schema.d.ts +0 -18
  1966. package/dist/experimental/autogpt/schema.js +0 -1
  1967. package/dist/experimental/babyagi/agent.cjs +0 -274
  1968. package/dist/experimental/babyagi/agent.d.ts +0 -135
  1969. package/dist/experimental/babyagi/agent.js +0 -270
  1970. package/dist/experimental/babyagi/index.cjs +0 -11
  1971. package/dist/experimental/babyagi/index.d.ts +0 -4
  1972. package/dist/experimental/babyagi/index.js +0 -4
  1973. package/dist/experimental/babyagi/task_creation.cjs +0 -42
  1974. package/dist/experimental/babyagi/task_creation.d.ts +0 -16
  1975. package/dist/experimental/babyagi/task_creation.js +0 -38
  1976. package/dist/experimental/babyagi/task_execution.cjs +0 -32
  1977. package/dist/experimental/babyagi/task_execution.d.ts +0 -15
  1978. package/dist/experimental/babyagi/task_execution.js +0 -28
  1979. package/dist/experimental/babyagi/task_prioritization.cjs +0 -34
  1980. package/dist/experimental/babyagi/task_prioritization.d.ts +0 -14
  1981. package/dist/experimental/babyagi/task_prioritization.js +0 -30
  1982. package/dist/experimental/chains/violation_of_expectations/index.cjs +0 -5
  1983. package/dist/experimental/chains/violation_of_expectations/index.d.ts +0 -1
  1984. package/dist/experimental/chains/violation_of_expectations/index.js +0 -1
  1985. package/dist/experimental/chains/violation_of_expectations/types.cjs +0 -49
  1986. package/dist/experimental/chains/violation_of_expectations/types.d.ts +0 -69
  1987. package/dist/experimental/chains/violation_of_expectations/types.js +0 -46
  1988. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_chain.cjs +0 -336
  1989. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_chain.d.ts +0 -149
  1990. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_chain.js +0 -332
  1991. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_prompt.cjs +0 -49
  1992. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_prompt.d.ts +0 -5
  1993. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_prompt.js +0 -46
  1994. package/dist/experimental/generative_agents/generative_agent.cjs +0 -397
  1995. package/dist/experimental/generative_agents/generative_agent.d.ts +0 -160
  1996. package/dist/experimental/generative_agents/generative_agent.js +0 -393
  1997. package/dist/experimental/generative_agents/generative_agent_memory.cjs +0 -518
  1998. package/dist/experimental/generative_agents/generative_agent_memory.d.ts +0 -200
  1999. package/dist/experimental/generative_agents/generative_agent_memory.js +0 -514
  2000. package/dist/experimental/generative_agents/index.cjs +0 -7
  2001. package/dist/experimental/generative_agents/index.d.ts +0 -2
  2002. package/dist/experimental/generative_agents/index.js +0 -2
  2003. package/dist/experimental/masking/index.cjs +0 -9
  2004. package/dist/experimental/masking/index.d.ts +0 -4
  2005. package/dist/experimental/masking/index.js +0 -3
  2006. package/dist/experimental/masking/parser.cjs +0 -134
  2007. package/dist/experimental/masking/parser.d.ts +0 -44
  2008. package/dist/experimental/masking/parser.js +0 -130
  2009. package/dist/experimental/masking/regex_masking_transformer.cjs +0 -145
  2010. package/dist/experimental/masking/regex_masking_transformer.d.ts +0 -48
  2011. package/dist/experimental/masking/regex_masking_transformer.js +0 -141
  2012. package/dist/experimental/masking/transformer.cjs +0 -9
  2013. package/dist/experimental/masking/transformer.d.ts +0 -7
  2014. package/dist/experimental/masking/transformer.js +0 -5
  2015. package/dist/experimental/masking/types.cjs +0 -2
  2016. package/dist/experimental/masking/types.d.ts +0 -25
  2017. package/dist/experimental/masking/types.js +0 -1
  2018. package/dist/experimental/openai_assistant/index.cjs +0 -268
  2019. package/dist/experimental/openai_assistant/index.d.ts +0 -68
  2020. package/dist/experimental/openai_assistant/index.js +0 -264
  2021. package/dist/experimental/openai_assistant/schema.cjs +0 -2
  2022. package/dist/experimental/openai_assistant/schema.d.ts +0 -11
  2023. package/dist/experimental/openai_assistant/schema.js +0 -1
  2024. package/dist/experimental/openai_files/index.cjs +0 -88
  2025. package/dist/experimental/openai_files/index.d.ts +0 -87
  2026. package/dist/experimental/openai_files/index.js +0 -84
  2027. package/dist/experimental/plan_and_execute/agent_executor.cjs +0 -172
  2028. package/dist/experimental/plan_and_execute/agent_executor.d.ts +0 -86
  2029. package/dist/experimental/plan_and_execute/agent_executor.js +0 -167
  2030. package/dist/experimental/plan_and_execute/base.cjs +0 -97
  2031. package/dist/experimental/plan_and_execute/base.d.ts +0 -84
  2032. package/dist/experimental/plan_and_execute/base.js +0 -88
  2033. package/dist/experimental/plan_and_execute/index.cjs +0 -14
  2034. package/dist/experimental/plan_and_execute/index.d.ts +0 -3
  2035. package/dist/experimental/plan_and_execute/index.js +0 -3
  2036. package/dist/experimental/plan_and_execute/outputParser.cjs +0 -46
  2037. package/dist/experimental/plan_and_execute/outputParser.d.ts +0 -25
  2038. package/dist/experimental/plan_and_execute/outputParser.js +0 -42
  2039. package/dist/experimental/plan_and_execute/prompt.cjs +0 -43
  2040. package/dist/experimental/plan_and_execute/prompt.d.ts +0 -12
  2041. package/dist/experimental/plan_and_execute/prompt.js +0 -39
  2042. package/dist/experimental/prompts/custom_format.cjs +0 -78
  2043. package/dist/experimental/prompts/custom_format.d.ts +0 -24
  2044. package/dist/experimental/prompts/custom_format.js +0 -74
  2045. package/dist/experimental/prompts/handlebars.cjs +0 -71
  2046. package/dist/experimental/prompts/handlebars.d.ts +0 -13
  2047. package/dist/experimental/prompts/handlebars.js +0 -62
  2048. package/dist/indexes/index.cjs +0 -10
  2049. package/dist/indexes/index.d.ts +0 -2
  2050. package/dist/indexes/index.js +0 -2
  2051. package/dist/load/import_constants.d.ts +0 -1
  2052. package/dist/load/import_map.d.ts +0 -181
  2053. package/dist/load/import_type.cjs +0 -3
  2054. package/dist/load/import_type.js +0 -2
  2055. package/dist/load/map_keys.cjs +0 -2
  2056. package/dist/load/map_keys.js +0 -1
  2057. package/dist/memory/base.cjs +0 -20
  2058. package/dist/memory/base.d.ts +0 -2
  2059. package/dist/memory/base.js +0 -2
  2060. package/dist/memory/stores/entity/in_memory.d.ts +0 -40
  2061. package/dist/output_parsers/expression_type_handlers/array_literal_expression_handler.d.ts +0 -24
  2062. package/dist/output_parsers/expression_type_handlers/boolean_literal_handler.d.ts +0 -24
  2063. package/dist/output_parsers/expression_type_handlers/call_expression_handler.d.ts +0 -28
  2064. package/dist/output_parsers/expression_type_handlers/grammar/parser_grammar.d.ts +0 -13
  2065. package/dist/output_parsers/expression_type_handlers/identifier_handler.d.ts +0 -25
  2066. package/dist/output_parsers/expression_type_handlers/member_expression_handler.d.ts +0 -23
  2067. package/dist/output_parsers/expression_type_handlers/numeric_literal_handler.d.ts +0 -22
  2068. package/dist/output_parsers/expression_type_handlers/object_literal_expression_handler.d.ts +0 -22
  2069. package/dist/output_parsers/expression_type_handlers/property_assignment_handler.d.ts +0 -23
  2070. package/dist/output_parsers/expression_type_handlers/string_literal_handler.d.ts +0 -22
  2071. package/dist/output_parsers/expression_type_handlers/types.cjs +0 -2
  2072. package/dist/output_parsers/expression_type_handlers/types.js +0 -1
  2073. package/dist/output_parsers/json.cjs +0 -5
  2074. package/dist/output_parsers/json.d.ts +0 -1
  2075. package/dist/output_parsers/json.js +0 -1
  2076. package/dist/output_parsers/list.cjs +0 -7
  2077. package/dist/output_parsers/list.d.ts +0 -1
  2078. package/dist/output_parsers/list.js +0 -1
  2079. package/dist/output_parsers/noop.d.ts +0 -26
  2080. package/dist/output_parsers/prompts.d.ts +0 -3
  2081. package/dist/prompts/base.cjs +0 -10
  2082. package/dist/prompts/base.d.ts +0 -3
  2083. package/dist/prompts/base.js +0 -3
  2084. package/dist/prompts/chat.cjs +0 -15
  2085. package/dist/prompts/chat.d.ts +0 -2
  2086. package/dist/prompts/chat.js +0 -2
  2087. package/dist/prompts/few_shot.cjs +0 -6
  2088. package/dist/prompts/few_shot.d.ts +0 -1
  2089. package/dist/prompts/few_shot.js +0 -1
  2090. package/dist/prompts/index.cjs +0 -6
  2091. package/dist/prompts/index.d.ts +0 -0
  2092. package/dist/prompts/index.js +0 -6
  2093. package/dist/prompts/pipeline.cjs +0 -5
  2094. package/dist/prompts/pipeline.d.ts +0 -1
  2095. package/dist/prompts/pipeline.js +0 -1
  2096. package/dist/prompts/prompt.cjs +0 -5
  2097. package/dist/prompts/prompt.d.ts +0 -1
  2098. package/dist/prompts/prompt.js +0 -1
  2099. package/dist/prompts/selectors/LengthBasedExampleSelector.cjs +0 -5
  2100. package/dist/prompts/selectors/LengthBasedExampleSelector.d.ts +0 -1
  2101. package/dist/prompts/selectors/LengthBasedExampleSelector.js +0 -1
  2102. package/dist/prompts/selectors/SemanticSimilarityExampleSelector.cjs +0 -17
  2103. package/dist/prompts/selectors/SemanticSimilarityExampleSelector.d.ts +0 -1
  2104. package/dist/prompts/selectors/SemanticSimilarityExampleSelector.js +0 -1
  2105. package/dist/prompts/selectors/conditional.cjs +0 -8
  2106. package/dist/prompts/selectors/conditional.d.ts +0 -1
  2107. package/dist/prompts/selectors/conditional.js +0 -1
  2108. package/dist/prompts/serde.cjs +0 -2
  2109. package/dist/prompts/serde.d.ts +0 -1
  2110. package/dist/prompts/serde.js +0 -1
  2111. package/dist/prompts/template.cjs +0 -11
  2112. package/dist/prompts/template.d.ts +0 -1
  2113. package/dist/prompts/template.js +0 -1
  2114. package/dist/retrievers/document_compressors/chain_extract_prompt.d.ts +0 -1
  2115. package/dist/retrievers/document_compressors/test/document_compressor.int.test.cjs +0 -28
  2116. package/dist/retrievers/document_compressors/test/document_compressor.int.test.d.ts +0 -1
  2117. package/dist/retrievers/document_compressors/test/document_compressor.int.test.js +0 -26
  2118. package/dist/retrievers/self_query/base.cjs +0 -6
  2119. package/dist/retrievers/self_query/base.d.ts +0 -1
  2120. package/dist/retrievers/self_query/base.js +0 -1
  2121. package/dist/runnables/remote.cjs +0 -17
  2122. package/dist/runnables/remote.d.ts +0 -1
  2123. package/dist/runnables/remote.js +0 -1
  2124. package/dist/schema/prompt_template.cjs +0 -34
  2125. package/dist/schema/prompt_template.d.ts +0 -13
  2126. package/dist/schema/prompt_template.js +0 -30
  2127. package/dist/schema/query_constructor.cjs +0 -32
  2128. package/dist/schema/query_constructor.d.ts +0 -12
  2129. package/dist/schema/query_constructor.js +0 -28
  2130. package/dist/smith/config.cjs +0 -81
  2131. package/dist/smith/config.d.ts +0 -245
  2132. package/dist/smith/config.js +0 -74
  2133. package/dist/smith/index.cjs +0 -20
  2134. package/dist/smith/index.d.ts +0 -3
  2135. package/dist/smith/index.js +0 -3
  2136. package/dist/smith/name_generation.cjs +0 -725
  2137. package/dist/smith/name_generation.d.ts +0 -1
  2138. package/dist/smith/name_generation.js +0 -722
  2139. package/dist/smith/progress.cjs +0 -69
  2140. package/dist/smith/progress.d.ts +0 -22
  2141. package/dist/smith/progress.js +0 -65
  2142. package/dist/smith/runner_utils.cjs +0 -575
  2143. package/dist/smith/runner_utils.d.ts +0 -90
  2144. package/dist/smith/runner_utils.js +0 -572
  2145. package/dist/stores/message/utils.cjs +0 -6
  2146. package/dist/stores/message/utils.d.ts +0 -1
  2147. package/dist/stores/message/utils.js +0 -1
  2148. package/dist/tools/base.cjs +0 -7
  2149. package/dist/tools/base.d.ts +0 -1
  2150. package/dist/tools/base.js +0 -1
  2151. package/dist/tools/convert_to_openai.cjs +0 -21
  2152. package/dist/tools/convert_to_openai.d.ts +0 -5
  2153. package/dist/tools/convert_to_openai.js +0 -16
  2154. package/dist/tools/dynamic.cjs +0 -6
  2155. package/dist/tools/dynamic.d.ts +0 -1
  2156. package/dist/tools/dynamic.js +0 -1
  2157. package/dist/types/type-utils.cjs +0 -2
  2158. package/dist/types/type-utils.js +0 -1
  2159. package/dist/util/async_caller.cjs +0 -17
  2160. package/dist/util/async_caller.d.ts +0 -1
  2161. package/dist/util/async_caller.js +0 -1
  2162. package/dist/util/axios-fetch-adapter.cjs +0 -404
  2163. package/dist/util/axios-fetch-adapter.d.ts +0 -6
  2164. package/dist/util/axios-fetch-adapter.js +0 -398
  2165. package/dist/util/axios-types.cjs +0 -2
  2166. package/dist/util/axios-types.d.ts +0 -12
  2167. package/dist/util/axios-types.js +0 -1
  2168. package/dist/util/azure.cjs +0 -43
  2169. package/dist/util/azure.d.ts +0 -30
  2170. package/dist/util/azure.js +0 -40
  2171. package/dist/util/entrypoint_deprecation.d.ts +0 -10
  2172. package/dist/util/env.d.ts +0 -1
  2173. package/dist/util/event-source-parse.cjs +0 -17
  2174. package/dist/util/event-source-parse.d.ts +0 -1
  2175. package/dist/util/event-source-parse.js +0 -1
  2176. package/dist/util/extname.d.ts +0 -1
  2177. package/dist/util/hub.d.ts +0 -2
  2178. package/dist/util/ml-distance/distances.d.ts +0 -24
  2179. package/dist/util/ml-distance-euclidean/euclidean.d.ts +0 -2
  2180. package/dist/util/parse.d.ts +0 -2
  2181. package/dist/util/prompt-layer.cjs +0 -27
  2182. package/dist/util/prompt-layer.d.ts +0 -3
  2183. package/dist/util/prompt-layer.js +0 -23
  2184. package/dist/util/set.d.ts +0 -15
  2185. package/dist/util/stream.cjs +0 -17
  2186. package/dist/util/stream.d.ts +0 -1
  2187. package/dist/util/stream.js +0 -1
  2188. package/dist/util/testing/llms/fake.cjs +0 -82
  2189. package/dist/util/testing/llms/fake.d.ts +0 -31
  2190. package/dist/util/testing/llms/fake.js +0 -78
  2191. package/dist/util/testing/tools/calculator.cjs +0 -47
  2192. package/dist/util/testing/tools/calculator.d.ts +0 -19
  2193. package/dist/util/testing/tools/calculator.js +0 -43
  2194. package/dist/util/testing/tools/serpapi.cjs +0 -201
  2195. package/dist/util/testing/tools/serpapi.d.ts +0 -302
  2196. package/dist/util/testing/tools/serpapi.js +0 -197
  2197. package/dist/util/testing/tools/tavily_search.cjs +0 -75
  2198. package/dist/util/testing/tools/tavily_search.d.ts +0 -23
  2199. package/dist/util/testing/tools/tavily_search.js +0 -71
  2200. package/dist/util/tiktoken.cjs +0 -17
  2201. package/dist/util/tiktoken.d.ts +0 -1
  2202. package/dist/util/tiktoken.js +0 -1
  2203. package/dist/util/types.cjs +0 -5
  2204. package/dist/util/types.d.ts +0 -4
  2205. package/dist/util/types.js +0 -4
  2206. package/document.cjs +0 -1
  2207. package/document.d.cts +0 -1
  2208. package/document.d.ts +0 -1
  2209. package/document.js +0 -1
  2210. package/document_loaders/base.cjs +0 -1
  2211. package/document_loaders/base.d.cts +0 -1
  2212. package/document_loaders/base.d.ts +0 -1
  2213. package/document_loaders/base.js +0 -1
  2214. package/document_loaders/fs/buffer.cjs +0 -1
  2215. package/document_loaders/fs/buffer.d.cts +0 -1
  2216. package/document_loaders/fs/buffer.d.ts +0 -1
  2217. package/document_loaders/fs/buffer.js +0 -1
  2218. package/document_loaders/fs/directory.cjs +0 -1
  2219. package/document_loaders/fs/directory.d.cts +0 -1
  2220. package/document_loaders/fs/directory.d.ts +0 -1
  2221. package/document_loaders/fs/directory.js +0 -1
  2222. package/document_loaders/fs/json.cjs +0 -1
  2223. package/document_loaders/fs/json.d.cts +0 -1
  2224. package/document_loaders/fs/json.d.ts +0 -1
  2225. package/document_loaders/fs/json.js +0 -1
  2226. package/document_loaders/fs/multi_file.cjs +0 -1
  2227. package/document_loaders/fs/multi_file.d.cts +0 -1
  2228. package/document_loaders/fs/multi_file.d.ts +0 -1
  2229. package/document_loaders/fs/multi_file.js +0 -1
  2230. package/document_loaders/fs/text.cjs +0 -1
  2231. package/document_loaders/fs/text.d.cts +0 -1
  2232. package/document_loaders/fs/text.d.ts +0 -1
  2233. package/document_loaders/fs/text.js +0 -1
  2234. package/document_transformers/openai_functions.cjs +0 -1
  2235. package/document_transformers/openai_functions.d.cts +0 -1
  2236. package/document_transformers/openai_functions.d.ts +0 -1
  2237. package/document_transformers/openai_functions.js +0 -1
  2238. package/embeddings/cache_backed.cjs +0 -1
  2239. package/embeddings/cache_backed.d.cts +0 -1
  2240. package/embeddings/cache_backed.d.ts +0 -1
  2241. package/embeddings/cache_backed.js +0 -1
  2242. package/embeddings/fake.cjs +0 -1
  2243. package/embeddings/fake.d.cts +0 -1
  2244. package/embeddings/fake.d.ts +0 -1
  2245. package/embeddings/fake.js +0 -1
  2246. package/evaluation.cjs +0 -1
  2247. package/evaluation.d.cts +0 -1
  2248. package/evaluation.d.ts +0 -1
  2249. package/evaluation.js +0 -1
  2250. package/experimental/autogpt.cjs +0 -1
  2251. package/experimental/autogpt.d.cts +0 -1
  2252. package/experimental/autogpt.d.ts +0 -1
  2253. package/experimental/autogpt.js +0 -1
  2254. package/experimental/babyagi.cjs +0 -1
  2255. package/experimental/babyagi.d.cts +0 -1
  2256. package/experimental/babyagi.d.ts +0 -1
  2257. package/experimental/babyagi.js +0 -1
  2258. package/experimental/chains/violation_of_expectations.cjs +0 -1
  2259. package/experimental/chains/violation_of_expectations.d.cts +0 -1
  2260. package/experimental/chains/violation_of_expectations.d.ts +0 -1
  2261. package/experimental/chains/violation_of_expectations.js +0 -1
  2262. package/experimental/generative_agents.cjs +0 -1
  2263. package/experimental/generative_agents.d.cts +0 -1
  2264. package/experimental/generative_agents.d.ts +0 -1
  2265. package/experimental/generative_agents.js +0 -1
  2266. package/experimental/masking.cjs +0 -1
  2267. package/experimental/masking.d.cts +0 -1
  2268. package/experimental/masking.d.ts +0 -1
  2269. package/experimental/masking.js +0 -1
  2270. package/experimental/openai_assistant.cjs +0 -1
  2271. package/experimental/openai_assistant.d.cts +0 -1
  2272. package/experimental/openai_assistant.d.ts +0 -1
  2273. package/experimental/openai_assistant.js +0 -1
  2274. package/experimental/openai_files.cjs +0 -1
  2275. package/experimental/openai_files.d.cts +0 -1
  2276. package/experimental/openai_files.d.ts +0 -1
  2277. package/experimental/openai_files.js +0 -1
  2278. package/experimental/plan_and_execute.cjs +0 -1
  2279. package/experimental/plan_and_execute.d.cts +0 -1
  2280. package/experimental/plan_and_execute.d.ts +0 -1
  2281. package/experimental/plan_and_execute.js +0 -1
  2282. package/experimental/prompts/custom_format.cjs +0 -1
  2283. package/experimental/prompts/custom_format.d.cts +0 -1
  2284. package/experimental/prompts/custom_format.d.ts +0 -1
  2285. package/experimental/prompts/custom_format.js +0 -1
  2286. package/experimental/prompts/handlebars.cjs +0 -1
  2287. package/experimental/prompts/handlebars.d.cts +0 -1
  2288. package/experimental/prompts/handlebars.d.ts +0 -1
  2289. package/experimental/prompts/handlebars.js +0 -1
  2290. package/hub/node.cjs +0 -1
  2291. package/hub/node.d.cts +0 -1
  2292. package/hub/node.d.ts +0 -1
  2293. package/hub/node.js +0 -1
  2294. package/hub.cjs +0 -1
  2295. package/hub.d.cts +0 -1
  2296. package/hub.d.ts +0 -1
  2297. package/hub.js +0 -1
  2298. package/indexes.cjs +0 -1
  2299. package/indexes.d.cts +0 -1
  2300. package/indexes.d.ts +0 -1
  2301. package/indexes.js +0 -1
  2302. package/load/serializable.cjs +0 -1
  2303. package/load/serializable.d.cts +0 -1
  2304. package/load/serializable.d.ts +0 -1
  2305. package/load/serializable.js +0 -1
  2306. package/load.cjs +0 -1
  2307. package/load.d.cts +0 -1
  2308. package/load.d.ts +0 -1
  2309. package/load.js +0 -1
  2310. package/memory/chat_memory.cjs +0 -1
  2311. package/memory/chat_memory.d.cts +0 -1
  2312. package/memory/chat_memory.d.ts +0 -1
  2313. package/memory/chat_memory.js +0 -1
  2314. package/memory.cjs +0 -1
  2315. package/memory.d.cts +0 -1
  2316. package/memory.d.ts +0 -1
  2317. package/memory.js +0 -1
  2318. package/output_parsers/expression.cjs +0 -1
  2319. package/output_parsers/expression.d.cts +0 -1
  2320. package/output_parsers/expression.d.ts +0 -1
  2321. package/output_parsers/expression.js +0 -1
  2322. package/output_parsers.cjs +0 -1
  2323. package/output_parsers.d.cts +0 -1
  2324. package/output_parsers.d.ts +0 -1
  2325. package/output_parsers.js +0 -1
  2326. package/retrievers/contextual_compression.cjs +0 -1
  2327. package/retrievers/contextual_compression.d.cts +0 -1
  2328. package/retrievers/contextual_compression.d.ts +0 -1
  2329. package/retrievers/contextual_compression.js +0 -1
  2330. package/retrievers/document_compressors/chain_extract.cjs +0 -1
  2331. package/retrievers/document_compressors/chain_extract.d.cts +0 -1
  2332. package/retrievers/document_compressors/chain_extract.d.ts +0 -1
  2333. package/retrievers/document_compressors/chain_extract.js +0 -1
  2334. package/retrievers/document_compressors/embeddings_filter.cjs +0 -1
  2335. package/retrievers/document_compressors/embeddings_filter.d.cts +0 -1
  2336. package/retrievers/document_compressors/embeddings_filter.d.ts +0 -1
  2337. package/retrievers/document_compressors/embeddings_filter.js +0 -1
  2338. package/retrievers/document_compressors.cjs +0 -1
  2339. package/retrievers/document_compressors.d.cts +0 -1
  2340. package/retrievers/document_compressors.d.ts +0 -1
  2341. package/retrievers/document_compressors.js +0 -1
  2342. package/retrievers/ensemble.cjs +0 -1
  2343. package/retrievers/ensemble.d.cts +0 -1
  2344. package/retrievers/ensemble.d.ts +0 -1
  2345. package/retrievers/ensemble.js +0 -1
  2346. package/retrievers/hyde.cjs +0 -1
  2347. package/retrievers/hyde.d.cts +0 -1
  2348. package/retrievers/hyde.d.ts +0 -1
  2349. package/retrievers/hyde.js +0 -1
  2350. package/retrievers/matryoshka_retriever.cjs +0 -1
  2351. package/retrievers/matryoshka_retriever.d.cts +0 -1
  2352. package/retrievers/matryoshka_retriever.d.ts +0 -1
  2353. package/retrievers/matryoshka_retriever.js +0 -1
  2354. package/retrievers/multi_query.cjs +0 -1
  2355. package/retrievers/multi_query.d.cts +0 -1
  2356. package/retrievers/multi_query.d.ts +0 -1
  2357. package/retrievers/multi_query.js +0 -1
  2358. package/retrievers/multi_vector.cjs +0 -1
  2359. package/retrievers/multi_vector.d.cts +0 -1
  2360. package/retrievers/multi_vector.d.ts +0 -1
  2361. package/retrievers/multi_vector.js +0 -1
  2362. package/retrievers/parent_document.cjs +0 -1
  2363. package/retrievers/parent_document.d.cts +0 -1
  2364. package/retrievers/parent_document.d.ts +0 -1
  2365. package/retrievers/parent_document.js +0 -1
  2366. package/retrievers/score_threshold.cjs +0 -1
  2367. package/retrievers/score_threshold.d.cts +0 -1
  2368. package/retrievers/score_threshold.d.ts +0 -1
  2369. package/retrievers/score_threshold.js +0 -1
  2370. package/retrievers/self_query/functional.cjs +0 -1
  2371. package/retrievers/self_query/functional.d.cts +0 -1
  2372. package/retrievers/self_query/functional.d.ts +0 -1
  2373. package/retrievers/self_query/functional.js +0 -1
  2374. package/retrievers/self_query.cjs +0 -1
  2375. package/retrievers/self_query.d.cts +0 -1
  2376. package/retrievers/self_query.d.ts +0 -1
  2377. package/retrievers/self_query.js +0 -1
  2378. package/retrievers/time_weighted.cjs +0 -1
  2379. package/retrievers/time_weighted.d.cts +0 -1
  2380. package/retrievers/time_weighted.d.ts +0 -1
  2381. package/retrievers/time_weighted.js +0 -1
  2382. package/runnables/remote.cjs +0 -1
  2383. package/runnables/remote.d.cts +0 -1
  2384. package/runnables/remote.d.ts +0 -1
  2385. package/runnables/remote.js +0 -1
  2386. package/schema/prompt_template.cjs +0 -1
  2387. package/schema/prompt_template.d.cts +0 -1
  2388. package/schema/prompt_template.d.ts +0 -1
  2389. package/schema/prompt_template.js +0 -1
  2390. package/schema/query_constructor.cjs +0 -1
  2391. package/schema/query_constructor.d.cts +0 -1
  2392. package/schema/query_constructor.d.ts +0 -1
  2393. package/schema/query_constructor.js +0 -1
  2394. package/smith.cjs +0 -1
  2395. package/smith.d.cts +0 -1
  2396. package/smith.d.ts +0 -1
  2397. package/smith.js +0 -1
  2398. package/sql_db.cjs +0 -1
  2399. package/sql_db.d.cts +0 -1
  2400. package/sql_db.d.ts +0 -1
  2401. package/sql_db.js +0 -1
  2402. package/storage/encoder_backed.cjs +0 -1
  2403. package/storage/encoder_backed.d.cts +0 -1
  2404. package/storage/encoder_backed.d.ts +0 -1
  2405. package/storage/encoder_backed.js +0 -1
  2406. package/storage/file_system.cjs +0 -1
  2407. package/storage/file_system.d.cts +0 -1
  2408. package/storage/file_system.d.ts +0 -1
  2409. package/storage/file_system.js +0 -1
  2410. package/storage/in_memory.cjs +0 -1
  2411. package/storage/in_memory.d.cts +0 -1
  2412. package/storage/in_memory.d.ts +0 -1
  2413. package/storage/in_memory.js +0 -1
  2414. package/stores/doc/base.cjs +0 -1
  2415. package/stores/doc/base.d.cts +0 -1
  2416. package/stores/doc/base.d.ts +0 -1
  2417. package/stores/doc/base.js +0 -1
  2418. package/stores/doc/in_memory.cjs +0 -1
  2419. package/stores/doc/in_memory.d.cts +0 -1
  2420. package/stores/doc/in_memory.d.ts +0 -1
  2421. package/stores/doc/in_memory.js +0 -1
  2422. package/stores/file/in_memory.cjs +0 -1
  2423. package/stores/file/in_memory.d.cts +0 -1
  2424. package/stores/file/in_memory.d.ts +0 -1
  2425. package/stores/file/in_memory.js +0 -1
  2426. package/stores/file/node.cjs +0 -1
  2427. package/stores/file/node.d.cts +0 -1
  2428. package/stores/file/node.d.ts +0 -1
  2429. package/stores/file/node.js +0 -1
  2430. package/stores/message/in_memory.cjs +0 -1
  2431. package/stores/message/in_memory.d.cts +0 -1
  2432. package/stores/message/in_memory.d.ts +0 -1
  2433. package/stores/message/in_memory.js +0 -1
  2434. package/text_splitter.cjs +0 -1
  2435. package/text_splitter.d.cts +0 -1
  2436. package/text_splitter.d.ts +0 -1
  2437. package/text_splitter.js +0 -1
  2438. package/tools/chain.cjs +0 -1
  2439. package/tools/chain.d.cts +0 -1
  2440. package/tools/chain.d.ts +0 -1
  2441. package/tools/chain.js +0 -1
  2442. package/tools/render.cjs +0 -1
  2443. package/tools/render.d.cts +0 -1
  2444. package/tools/render.d.ts +0 -1
  2445. package/tools/render.js +0 -1
  2446. package/tools/retriever.cjs +0 -1
  2447. package/tools/retriever.d.cts +0 -1
  2448. package/tools/retriever.d.ts +0 -1
  2449. package/tools/retriever.js +0 -1
  2450. package/tools/sql.cjs +0 -1
  2451. package/tools/sql.d.cts +0 -1
  2452. package/tools/sql.d.ts +0 -1
  2453. package/tools/sql.js +0 -1
  2454. package/tools/webbrowser.cjs +0 -1
  2455. package/tools/webbrowser.d.cts +0 -1
  2456. package/tools/webbrowser.d.ts +0 -1
  2457. package/tools/webbrowser.js +0 -1
  2458. package/tools.cjs +0 -1
  2459. package/tools.d.cts +0 -1
  2460. package/tools.d.ts +0 -1
  2461. package/tools.js +0 -1
  2462. package/util/document.cjs +0 -1
  2463. package/util/document.d.cts +0 -1
  2464. package/util/document.d.ts +0 -1
  2465. package/util/document.js +0 -1
  2466. package/util/math.cjs +0 -1
  2467. package/util/math.d.cts +0 -1
  2468. package/util/math.d.ts +0 -1
  2469. package/util/math.js +0 -1
  2470. package/util/time.cjs +0 -1
  2471. package/util/time.d.cts +0 -1
  2472. package/util/time.d.ts +0 -1
  2473. package/util/time.js +0 -1
  2474. package/vectorstores/memory.cjs +0 -1
  2475. package/vectorstores/memory.d.cts +0 -1
  2476. package/vectorstores/memory.d.ts +0 -1
  2477. package/vectorstores/memory.js +0 -1
@@ -0,0 +1,153 @@
1
+ import { BaseContentBlock } from "./base.cjs";
2
+
3
+ //#region ../langchain-core/dist/messages/content/tools.d.ts
4
+ //#region src/messages/content/tools.d.ts
5
+ type Tools = never;
6
+ // eslint-disable-next-line @typescript-eslint/no-namespace
7
+ declare namespace Tools {
8
+ /**
9
+ * Represents a request to call a tool.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const toolCall: ToolCall = {
14
+ * type: "tool_call",
15
+ * name: "foo",
16
+ * args: { a: 1 },
17
+ * callId: "123"
18
+ * };
19
+ * ```
20
+ * This represents a request to call the tool named "foo" with arguments {"a": 1}
21
+ * and an identifier of "123".
22
+ */
23
+ interface ToolCall<TName extends string = string, TArgs = unknown> extends BaseContentBlock {
24
+ /**
25
+ * Type of the content block
26
+ */
27
+ readonly type: "tool_call";
28
+ /**
29
+ * The name of the tool being called
30
+ */
31
+ name: TName;
32
+ /**
33
+ * The arguments to the tool call
34
+ */
35
+ args: TArgs;
36
+ }
37
+ /** Content block to represent partial data of a tool call */
38
+ interface ToolCallChunk<TName extends string = string> extends BaseContentBlock {
39
+ /**
40
+ * Type of the content block
41
+ */
42
+ readonly type: "tool_call_chunk";
43
+ /**
44
+ * The name of the tool being called
45
+ */
46
+ name?: TName;
47
+ /**
48
+ * The arguments to the tool call
49
+ */
50
+ args?: string;
51
+ /**
52
+ * The index of the tool call chunk
53
+ */
54
+ index?: number;
55
+ }
56
+ /** Content block to represent an invalid tool call */
57
+ interface InvalidToolCall<TName extends string = string> extends BaseContentBlock {
58
+ /**
59
+ * Type of the content block
60
+ */
61
+ readonly type: "invalid_tool_call";
62
+ /**
63
+ * The name of the tool being called
64
+ */
65
+ name?: TName;
66
+ /**
67
+ * The arguments to the tool call
68
+ */
69
+ args?: string;
70
+ /**
71
+ * An error message associated with the tool call
72
+ */
73
+ error?: string;
74
+ /**
75
+ * Index of block in aggregate response
76
+ */
77
+ index?: string | number;
78
+ }
79
+ /** Content block for a built-in web search tool call. */
80
+ interface WebSearchCall extends BaseContentBlock {
81
+ /**
82
+ * Type of the content block
83
+ */
84
+ readonly type: "web_search_call";
85
+ /**
86
+ * The search query used in the web search tool call
87
+ */
88
+ query?: string;
89
+ }
90
+ /** Content block for the result of a built-in search tool call */
91
+ interface WebSearchResult extends BaseContentBlock {
92
+ /**
93
+ * Type of the content block
94
+ */
95
+ readonly type: "web_search_result";
96
+ /**
97
+ * List of URLs returned by the web search tool call
98
+ */
99
+ urls?: string[];
100
+ }
101
+ /** Content block for a built-in code interpreter tool call. */
102
+ interface CodeInterpreterCall extends BaseContentBlock {
103
+ /**
104
+ * Type of the content block
105
+ */
106
+ readonly type: "code_interpreter_call";
107
+ /**
108
+ * The language of the code executed by the code interpreter tool call
109
+ */
110
+ language?: string;
111
+ /**
112
+ * The code to be executed by the code interpreter
113
+ */
114
+ code?: string;
115
+ }
116
+ /** Content block for the output of a singular code interpreter tool call */
117
+ interface CodeInterpreterOutput {
118
+ readonly type: "code_interpreter_output";
119
+ /**
120
+ * The return code of the code interpreter tool call
121
+ * Example: 0 for success, non-zero for failure
122
+ */
123
+ returnCode?: number;
124
+ /**
125
+ * Standard error output of the executed code
126
+ */
127
+ stderr?: string;
128
+ /**
129
+ * Standard output of the executed code
130
+ */
131
+ stdout?: string;
132
+ /**
133
+ * File IDs of the files created by the code interpreter tool call
134
+ */
135
+ fileIds?: string[];
136
+ }
137
+ /** Content block for the result of a code interpreter tool call */
138
+ interface CodeInterpreterResult extends BaseContentBlock {
139
+ /**
140
+ * Type of the content block
141
+ */
142
+ readonly type: "code_interpreter_result";
143
+ /**
144
+ * The result of the code interpreter tool call
145
+ */
146
+ output: CodeInterpreterOutput[];
147
+ }
148
+ type Standard = ToolCall | ToolCallChunk | InvalidToolCall | WebSearchCall | WebSearchResult | CodeInterpreterCall | CodeInterpreterResult;
149
+ }
150
+ //#endregion
151
+ //#endregion
152
+ export { Tools };
153
+ //# sourceMappingURL=tools.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tools.d.cts","names":["BaseContentBlock","Tools","TName","TArgs","CodeInterpreterOutput","ToolCall","ToolCallChunk","InvalidToolCall","WebSearchCall","WebSearchResult","CodeInterpreterCall","CodeInterpreterResult"],"sources":["../../../../../../langchain-core/dist/messages/content/tools.d.ts"],"sourcesContent":["import { BaseContentBlock } from \"./base.js\";\n\n//#region src/messages/content/tools.d.ts\ntype Tools = never;\n// eslint-disable-next-line @typescript-eslint/no-namespace\ndeclare namespace Tools {\n /**\n * Represents a request to call a tool.\n *\n * @example\n * ```ts\n * const toolCall: ToolCall = {\n * type: \"tool_call\",\n * name: \"foo\",\n * args: { a: 1 },\n * callId: \"123\"\n * };\n * ```\n * This represents a request to call the tool named \"foo\" with arguments {\"a\": 1}\n * and an identifier of \"123\".\n */\n interface ToolCall<TName extends string = string, TArgs = unknown> extends BaseContentBlock {\n /**\n * Type of the content block\n */\n readonly type: \"tool_call\";\n /**\n * The name of the tool being called\n */\n name: TName;\n /**\n * The arguments to the tool call\n */\n args: TArgs;\n }\n /** Content block to represent partial data of a tool call */\n interface ToolCallChunk<TName extends string = string> extends BaseContentBlock {\n /**\n * Type of the content block\n */\n readonly type: \"tool_call_chunk\";\n /**\n * The name of the tool being called\n */\n name?: TName;\n /**\n * The arguments to the tool call\n */\n args?: string;\n /**\n * The index of the tool call chunk\n */\n index?: number;\n }\n /** Content block to represent an invalid tool call */\n interface InvalidToolCall<TName extends string = string> extends BaseContentBlock {\n /**\n * Type of the content block\n */\n readonly type: \"invalid_tool_call\";\n /**\n * The name of the tool being called\n */\n name?: TName;\n /**\n * The arguments to the tool call\n */\n args?: string;\n /**\n * An error message associated with the tool call\n */\n error?: string;\n /**\n * Index of block in aggregate response\n */\n index?: string | number;\n }\n /** Content block for a built-in web search tool call. */\n interface WebSearchCall extends BaseContentBlock {\n /**\n * Type of the content block\n */\n readonly type: \"web_search_call\";\n /**\n * The search query used in the web search tool call\n */\n query?: string;\n }\n /** Content block for the result of a built-in search tool call */\n interface WebSearchResult extends BaseContentBlock {\n /**\n * Type of the content block\n */\n readonly type: \"web_search_result\";\n /**\n * List of URLs returned by the web search tool call\n */\n urls?: string[];\n }\n /** Content block for a built-in code interpreter tool call. */\n interface CodeInterpreterCall extends BaseContentBlock {\n /**\n * Type of the content block\n */\n readonly type: \"code_interpreter_call\";\n /**\n * The language of the code executed by the code interpreter tool call\n */\n language?: string;\n /**\n * The code to be executed by the code interpreter\n */\n code?: string;\n }\n /** Content block for the output of a singular code interpreter tool call */\n interface CodeInterpreterOutput {\n readonly type: \"code_interpreter_output\";\n /**\n * The return code of the code interpreter tool call\n * Example: 0 for success, non-zero for failure\n */\n returnCode?: number;\n /**\n * Standard error output of the executed code\n */\n stderr?: string;\n /**\n * Standard output of the executed code\n */\n stdout?: string;\n /**\n * File IDs of the files created by the code interpreter tool call\n */\n fileIds?: string[];\n }\n /** Content block for the result of a code interpreter tool call */\n interface CodeInterpreterResult extends BaseContentBlock {\n /**\n * Type of the content block\n */\n readonly type: \"code_interpreter_result\";\n /**\n * The result of the code interpreter tool call\n */\n output: CodeInterpreterOutput[];\n }\n type Standard = ToolCall | ToolCallChunk | InvalidToolCall | WebSearchCall | WebSearchResult | CodeInterpreterCall | CodeInterpreterResult;\n}\n//#endregion\nexport { Tools };\n//# sourceMappingURL=tools.d.ts.map"],"mappings":";;;;AAA6C,KAGxCC,KAAAA,GAAK,KAAA;AAAA;kBAEQA,KAAAA,CAAK;EAAA;;;;;;;;;;;;;;;EA6IqC,UAAGO,QAAAA,CAAAA,cAAAA,MAAAA,GAAAA,MAAAA,EAAAA,QAAAA,OAAAA,CAAAA,SA7HcR,gBA6HdQ,CAAAA;IAAa;;;IAAgE,SAAA,IAAA,EAAA,WAAA;;;;UArHlIN;;;;UAIAC;;;iEAGuDH;;;;;;;;WAQtDE;;;;;;;;;;;mEAWwDF;;;;;;;;WAQxDE;;;;;;;;;;;;;;;kCAeuBF;;;;;;;;;;;oCAWEA;;;;;;;;;;;wCAWIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAoCEA;;;;;;;;YAQ9BI;;kBAEMC,WAAWC,gBAAgBC,kBAAkBC,gBAAgBC,kBAAkBC,sBAAsBC"}
@@ -0,0 +1,13 @@
1
+ import { Serializable } from "./load/serializable.cjs";
2
+ import { BaseMessage } from "./messages/base.cjs";
3
+
4
+ //#region ../langchain-core/dist/prompt_values.d.ts
5
+
6
+ //#region src/prompt_values.d.ts
7
+ interface BasePromptValueInterface extends Serializable {
8
+ toString(): string;
9
+ toChatMessages(): BaseMessage[];
10
+ }
11
+ //#endregion
12
+ export { BasePromptValueInterface };
13
+ //# sourceMappingURL=prompt_values.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt_values.d.cts","names":["Serializable","BaseMessage","HumanMessage","BasePromptValueInterface","StringPromptValueInterface","ChatPromptValueInterface","BasePromptValue","StringPromptValue","ChatPromptValueFields","ChatPromptValue","ImageContent","ImagePromptValueFields","ImagePromptValue"],"sources":["../../../../langchain-core/dist/prompt_values.d.ts"],"sourcesContent":["import { Serializable } from \"./load/serializable.js\";\nimport { BaseMessage } from \"./messages/base.js\";\nimport { HumanMessage } from \"./messages/human.js\";\n\n//#region src/prompt_values.d.ts\ninterface BasePromptValueInterface extends Serializable {\n toString(): string;\n toChatMessages(): BaseMessage[];\n}\ninterface StringPromptValueInterface extends BasePromptValueInterface {\n value: string;\n}\ninterface ChatPromptValueInterface extends BasePromptValueInterface {\n messages: BaseMessage[];\n}\n/**\n * Base PromptValue class. All prompt values should extend this class.\n */\ndeclare abstract class BasePromptValue extends Serializable implements BasePromptValueInterface {\n abstract toString(): string;\n abstract toChatMessages(): BaseMessage[];\n}\n/**\n * Represents a prompt value as a string. It extends the BasePromptValue\n * class and overrides the toString and toChatMessages methods.\n */\ndeclare class StringPromptValue extends BasePromptValue implements StringPromptValueInterface {\n static lc_name(): string;\n lc_namespace: string[];\n lc_serializable: boolean;\n value: string;\n constructor(value: string);\n toString(): string;\n toChatMessages(): HumanMessage[];\n}\n/**\n * Interface for the fields of a ChatPromptValue.\n */\ninterface ChatPromptValueFields {\n messages: BaseMessage[];\n}\n/**\n * Class that represents a chat prompt value. It extends the\n * BasePromptValue and includes an array of BaseMessage instances.\n */\ndeclare class ChatPromptValue extends BasePromptValue implements ChatPromptValueInterface {\n lc_namespace: string[];\n lc_serializable: boolean;\n static lc_name(): string;\n messages: BaseMessage[];\n constructor(messages: BaseMessage[]);\n constructor(fields: ChatPromptValueFields);\n toString(): string;\n toChatMessages(): BaseMessage[];\n}\ntype ImageContent = {\n /** Specifies the detail level of the image. */\n detail?: \"auto\" | \"low\" | \"high\";\n /** Either a URL of the image or the base64 encoded image data. */\n url: string;\n};\ninterface ImagePromptValueFields {\n imageUrl: ImageContent;\n}\n/**\n * Class that represents an image prompt value. It extends the\n * BasePromptValue and includes an ImageURL instance.\n */\ndeclare class ImagePromptValue extends BasePromptValue {\n lc_namespace: string[];\n lc_serializable: boolean;\n static lc_name(): string;\n imageUrl: ImageContent;\n /** @ignore */\n value: string;\n constructor(fields: ImagePromptValueFields);\n constructor(fields: ImageContent);\n toString(): string;\n toChatMessages(): HumanMessage[];\n}\n//#endregion\nexport { BasePromptValue, BasePromptValueInterface, ChatPromptValue, ChatPromptValueFields, ChatPromptValueInterface, ImageContent, ImagePromptValue, ImagePromptValueFields, StringPromptValue, StringPromptValueInterface };\n//# sourceMappingURL=prompt_values.d.ts.map"],"mappings":";;;;;AAEmD;UAGzCG,wBAAAA,SAAiCH,YAAT,CAAA;EAAA,QAEdC,EAAAA,EAAAA,MAAAA;EAAW,cAFYD,EAAAA,EAEvBC,WAFuBD,EAAAA;AAAY"}
@@ -0,0 +1,8 @@
1
+ //#region ../langchain-core/dist/utils/types/index.d.ts
2
+
3
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
+ type ChainValues = Record<string, any>;
5
+ //#endregion
6
+ //#endregion
7
+ export { ChainValues };
8
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":["InferInteropZodInput","InferInteropZodOutput","InteropZodIssue","InteropZodObject","InteropZodObjectShape","InteropZodType","Mutable","ZodObjectV3","ZodObjectV4","ZodStringV3","ZodStringV4","extendInteropZodObject","getInteropZodDefaultGetter","getInteropZodObjectShape","getSchemaDescription","interopParse","interopParseAsync","interopSafeParse","interopSafeParseAsync","interopZodObjectPartial","interopZodObjectPassthrough","interopZodObjectStrict","interopZodTransformInputSchema","isInteropZodObject","isInteropZodSchema","isShapelessZodSchema","isSimpleStringZodSchema","isZodArrayV4","isZodObjectV3","isZodObjectV4","isZodSchema","isZodSchemaV3","isZodSchemaV4","StringWithAutocomplete","T","Record","InputValues","K","PartialValues","Promise","ChainValues"],"sources":["../../../../../../langchain-core/dist/utils/types/index.d.ts"],"sourcesContent":["import { InferInteropZodInput, InferInteropZodOutput, InteropZodIssue, InteropZodObject, InteropZodObjectShape, InteropZodType, Mutable, ZodObjectV3, ZodObjectV4, ZodStringV3, ZodStringV4, extendInteropZodObject, getInteropZodDefaultGetter, getInteropZodObjectShape, getSchemaDescription, interopParse, interopParseAsync, interopSafeParse, interopSafeParseAsync, interopZodObjectPartial, interopZodObjectPassthrough, interopZodObjectStrict, interopZodTransformInputSchema, isInteropZodObject, isInteropZodSchema, isShapelessZodSchema, isSimpleStringZodSchema, isZodArrayV4, isZodObjectV3, isZodObjectV4, isZodSchema, isZodSchemaV3, isZodSchemaV4 } from \"./zod.js\";\n\n//#region src/utils/types/index.d.ts\n\n/**\n * Represents a string value with autocompleted, but not required, suggestions.\n */\ntype StringWithAutocomplete<T> = T | (string & Record<never, never>);\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype InputValues<K extends string = string> = Record<K, any>;\ntype PartialValues<K extends string = string> = Record<K, string | (() => Promise<string>) | (() => string)>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype ChainValues = Record<string, any>;\n//#endregion\nexport { ChainValues, InferInteropZodInput, InferInteropZodOutput, InputValues, InteropZodIssue, InteropZodObject, InteropZodObjectShape, InteropZodType, Mutable, PartialValues, StringWithAutocomplete, ZodObjectV3, ZodObjectV4, ZodStringV3, ZodStringV4, extendInteropZodObject, getInteropZodDefaultGetter, getInteropZodObjectShape, getSchemaDescription, interopParse, interopParseAsync, interopSafeParse, interopSafeParseAsync, interopZodObjectPartial, interopZodObjectPassthrough, interopZodObjectStrict, interopZodTransformInputSchema, isInteropZodObject, isInteropZodSchema, isShapelessZodSchema, isSimpleStringZodSchema, isZodArrayV4, isZodObjectV3, isZodObjectV4, isZodSchema, isZodSchemaV3, isZodSchemaV4 };\n//# sourceMappingURL=index.d.ts.map"],"mappings":";;;KAYKwC,WAAAA,GAAcL"}
@@ -0,0 +1,10 @@
1
+ //#region ../langchain-core/dist/load/map_keys.d.ts
2
+ //#region src/load/map_keys.d.ts
3
+ interface SerializedFields {
4
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
5
+ [key: string]: any;
6
+ }
7
+ //#endregion
8
+ //#endregion
9
+ export { SerializedFields };
10
+ //# sourceMappingURL=map_keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map_keys.d.ts","names":["SerializedFields"],"sources":["../../../../../../langchain-core/dist/load/map_keys.d.ts"],"sourcesContent":["//#region src/load/map_keys.d.ts\ninterface SerializedFields {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n}\n//#endregion\nexport { SerializedFields };\n//# sourceMappingURL=map_keys.d.ts.map"],"mappings":";;UACUA,gBAAAA,CAAgB"}
@@ -0,0 +1,82 @@
1
+ import { SerializedFields } from "./map_keys.js";
2
+
3
+ //#region ../langchain-core/dist/load/serializable.d.ts
4
+ //#region src/load/serializable.d.ts
5
+ interface BaseSerialized<T extends string> {
6
+ lc: number;
7
+ type: T;
8
+ id: string[];
9
+ name?: string;
10
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
+ graph?: Record<string, any>;
12
+ }
13
+ interface SerializedConstructor extends BaseSerialized<"constructor"> {
14
+ kwargs: SerializedFields;
15
+ }
16
+ interface SerializedSecret extends BaseSerialized<"secret"> {}
17
+ interface SerializedNotImplemented extends BaseSerialized<"not_implemented"> {}
18
+ type Serialized = SerializedConstructor | SerializedSecret | SerializedNotImplemented;
19
+ /**
20
+ * Get a unique name for the module, rather than parent class implementations.
21
+ * Should not be subclassed, subclass lc_name above instead.
22
+ */
23
+
24
+ interface SerializableInterface {
25
+ get lc_id(): string[];
26
+ }
27
+ declare abstract class Serializable implements SerializableInterface {
28
+ lc_serializable: boolean;
29
+ lc_kwargs: SerializedFields;
30
+ /**
31
+ * A path to the module that contains the class, eg. ["langchain", "llms"]
32
+ * Usually should be the same as the entrypoint the class is exported from.
33
+ */
34
+ abstract lc_namespace: string[];
35
+ /**
36
+ * The name of the serializable. Override to provide an alias or
37
+ * to preserve the serialized module name in minified environments.
38
+ *
39
+ * Implemented as a static method to support loading logic.
40
+ */
41
+ static lc_name(): string;
42
+ /**
43
+ * The final serialized identifier for the module.
44
+ */
45
+ get lc_id(): string[];
46
+ /**
47
+ * A map of secrets, which will be omitted from serialization.
48
+ * Keys are paths to the secret in constructor args, e.g. "foo.bar.baz".
49
+ * Values are the secret ids, which will be used when deserializing.
50
+ */
51
+ get lc_secrets(): {
52
+ [key: string]: string;
53
+ } | undefined;
54
+ /**
55
+ * A map of additional attributes to merge with constructor args.
56
+ * Keys are the attribute names, e.g. "foo".
57
+ * Values are the attribute values, which will be serialized.
58
+ * These attributes need to be accepted by the constructor as arguments.
59
+ */
60
+ get lc_attributes(): SerializedFields | undefined;
61
+ /**
62
+ * A map of aliases for constructor args.
63
+ * Keys are the attribute names, e.g. "foo".
64
+ * Values are the alias that will replace the key in serialization.
65
+ * This is used to eg. make argument names match Python.
66
+ */
67
+ get lc_aliases(): {
68
+ [key: string]: string;
69
+ } | undefined;
70
+ /**
71
+ * A manual list of keys that should be serialized.
72
+ * If not overridden, all fields passed into the constructor will be serialized.
73
+ */
74
+ get lc_serializable_keys(): string[] | undefined;
75
+ constructor(kwargs?: SerializedFields, ..._args: never[]);
76
+ toJSON(): Serialized;
77
+ toJSONNotImplemented(): SerializedNotImplemented;
78
+ }
79
+ //#endregion
80
+ //#endregion
81
+ export { Serializable };
82
+ //# sourceMappingURL=serializable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serializable.d.ts","names":["SerializedFields","BaseSerialized","T","Record","SerializedConstructor","SerializedSecret","SerializedNotImplemented","Serialized","get_lc_unique_name","Serializable","SerializableInterface"],"sources":["../../../../../../langchain-core/dist/load/serializable.d.ts"],"sourcesContent":["import { SerializedFields } from \"./map_keys.js\";\n\n//#region src/load/serializable.d.ts\ninterface BaseSerialized<T extends string> {\n lc: number;\n type: T;\n id: string[];\n name?: string;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n graph?: Record<string, any>;\n}\ninterface SerializedConstructor extends BaseSerialized<\"constructor\"> {\n kwargs: SerializedFields;\n}\ninterface SerializedSecret extends BaseSerialized<\"secret\"> {}\ninterface SerializedNotImplemented extends BaseSerialized<\"not_implemented\"> {}\ntype Serialized = SerializedConstructor | SerializedSecret | SerializedNotImplemented;\n/**\n * Get a unique name for the module, rather than parent class implementations.\n * Should not be subclassed, subclass lc_name above instead.\n */\ndeclare function get_lc_unique_name(\n// eslint-disable-next-line @typescript-eslint/no-use-before-define\nserializableClass: typeof Serializable): string;\ninterface SerializableInterface {\n get lc_id(): string[];\n}\ndeclare abstract class Serializable implements SerializableInterface {\n lc_serializable: boolean;\n lc_kwargs: SerializedFields;\n /**\n * A path to the module that contains the class, eg. [\"langchain\", \"llms\"]\n * Usually should be the same as the entrypoint the class is exported from.\n */\n abstract lc_namespace: string[];\n /**\n * The name of the serializable. Override to provide an alias or\n * to preserve the serialized module name in minified environments.\n *\n * Implemented as a static method to support loading logic.\n */\n static lc_name(): string;\n /**\n * The final serialized identifier for the module.\n */\n get lc_id(): string[];\n /**\n * A map of secrets, which will be omitted from serialization.\n * Keys are paths to the secret in constructor args, e.g. \"foo.bar.baz\".\n * Values are the secret ids, which will be used when deserializing.\n */\n get lc_secrets(): {\n [key: string]: string;\n } | undefined;\n /**\n * A map of additional attributes to merge with constructor args.\n * Keys are the attribute names, e.g. \"foo\".\n * Values are the attribute values, which will be serialized.\n * These attributes need to be accepted by the constructor as arguments.\n */\n get lc_attributes(): SerializedFields | undefined;\n /**\n * A map of aliases for constructor args.\n * Keys are the attribute names, e.g. \"foo\".\n * Values are the alias that will replace the key in serialization.\n * This is used to eg. make argument names match Python.\n */\n get lc_aliases(): {\n [key: string]: string;\n } | undefined;\n /**\n * A manual list of keys that should be serialized.\n * If not overridden, all fields passed into the constructor will be serialized.\n */\n get lc_serializable_keys(): string[] | undefined;\n constructor(kwargs?: SerializedFields, ..._args: never[]);\n toJSON(): Serialized;\n toJSONNotImplemented(): SerializedNotImplemented;\n}\n//#endregion\nexport { BaseSerialized, Serializable, SerializableInterface, Serialized, SerializedConstructor, SerializedNotImplemented, SerializedSecret, get_lc_unique_name };\n//# sourceMappingURL=serializable.d.ts.map"],"mappings":";;;;AAAiD,UAGvCC,cAAc,CAAA,UAAA,MAAA,CAAA,CAAA;EAAA,EAAA,EAAA,MAAA;EAAA,IAAA,EAEhBC,CAAAA;EAAC,EAAA,EAAA,MAICC,EAAAA;EAAM,IAAA,CAAA,EAAA,MAAA;EAAA;EAEe,KAAA,CAAA,EAFrBA,MAEqB,CAAA,MAAA,EAAA,GAAA,CAAA;;UAArBC,qBAAAA,SAA8BH,cAAAA,CAAAA,aAAAA,CAAAA,CAAAA;EAAc,MAAA,EAC5CD,gBAD4C;AAAA;AAGL,UAAvCK,gBAAAA,SAAyBJ,cACQA,CAAAA,QAAc,CAAA,CAAA,CAAA;AAAA,UAA/CK,wBAAAA,SAAiCL,cAC5B,CAAA,iBAAA,CAAA,CAAA,CAAA;KAAVM,UAAAA,GAAaH,qBAAH,GAA2BC,gBAA3B,GAA8CC,wBAA9C;;;;AAAsE;;UAQ3EI,qBAAAA,CAKGV;EAAgB,IAAA,KA+BNA,EAAAA,EAAAA,MAAAA,EAAAA;;uBAjCAS,YAAAA,YAAwBC,qBAiDnCH,CAAAA;EAAU,eACID,EAAAA,OAAAA;EAAwB,SAlDHI,EAElCV,gBAFkCU;EAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAiC7CV;;;;;;;;;;;;;;;uBAeAA;YACXO;0BACcD"}
@@ -0,0 +1,134 @@
1
+ import { Serializable } from "../load/serializable.js";
2
+ import { ContentBlock } from "./content/index.js";
3
+
4
+ //#region ../langchain-core/dist/messages/base.d.ts
5
+
6
+ //#region src/messages/base.d.ts
7
+ interface StoredMessageData {
8
+ content: string;
9
+ role: string | undefined;
10
+ name: string | undefined;
11
+ tool_call_id: string | undefined;
12
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13
+ additional_kwargs?: Record<string, any>;
14
+ /** Response metadata. For example: response headers, logprobs, token counts, model name. */
15
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
16
+ response_metadata?: Record<string, any>;
17
+ id?: string;
18
+ }
19
+ interface StoredMessage {
20
+ type: string;
21
+ data: StoredMessageData;
22
+ }
23
+ type MessageType = "human" | "ai" | "generic" | "developer" | "system" | "function" | "tool" | "remove";
24
+ type MessageContent = string | Array<ContentBlock>;
25
+ interface FunctionCall {
26
+ /**
27
+ * The arguments to call the function with, as generated by the model in JSON
28
+ * format. Note that the model does not always generate valid JSON, and may
29
+ * hallucinate parameters not defined by your function schema. Validate the
30
+ * arguments in your code before calling your function.
31
+ */
32
+ arguments: string;
33
+ /**
34
+ * The name of the function to call.
35
+ */
36
+ name: string;
37
+ }
38
+ type BaseMessageFields = {
39
+ name?: string;
40
+ content?: MessageContent;
41
+ contentBlocks?: Array<ContentBlock.Standard>;
42
+ additional_kwargs?: {
43
+ /**
44
+ * @deprecated Use "tool_calls" field on AIMessages instead
45
+ */
46
+ function_call?: FunctionCall;
47
+ /**
48
+ * @deprecated Use "tool_calls" field on AIMessages instead
49
+ */
50
+ tool_calls?: OpenAIToolCall[];
51
+ [key: string]: unknown;
52
+ };
53
+ /** Response metadata. For example: response headers, logprobs, token counts, model name. */
54
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
55
+ response_metadata?: Record<string, any>;
56
+ /**
57
+ * An optional unique identifier for the message. This should ideally be
58
+ * provided by the provider/model which created the message.
59
+ */
60
+ id?: string;
61
+ };
62
+ /**
63
+ * Base class for all types of messages in a conversation. It includes
64
+ * properties like `content`, `name`, and `additional_kwargs`. It also
65
+ * includes methods like `toDict()` and `_getType()`.
66
+ */
67
+ declare abstract class BaseMessage extends Serializable {
68
+ lc_namespace: string[];
69
+ lc_serializable: boolean;
70
+ get lc_aliases(): Record<string, string>;
71
+ /**
72
+ * Get text content of the message.
73
+ */
74
+ get text(): string;
75
+ /** The content of the message. */
76
+ content: MessageContent;
77
+ /** The name of the message sender in a multi-user chat. */
78
+ name?: string;
79
+ /** Additional keyword arguments */
80
+ additional_kwargs: NonNullable<BaseMessageFields["additional_kwargs"]>;
81
+ /** Response metadata. For example: response headers, logprobs, token counts, model name. */
82
+ response_metadata: NonNullable<BaseMessageFields["response_metadata"]>;
83
+ /**
84
+ * An optional unique identifier for the message. This should ideally be
85
+ * provided by the provider/model which created the message.
86
+ */
87
+ id?: string;
88
+ /**
89
+ * @deprecated Use .getType() instead or import the proper typeguard.
90
+ * For example:
91
+ *
92
+ * ```ts
93
+ * import { isAIMessage } from "@langchain/core/messages";
94
+ *
95
+ * const message = new AIMessage("Hello!");
96
+ * isAIMessage(message); // true
97
+ * ```
98
+ */
99
+ abstract _getType(): MessageType;
100
+ /** The type of the message. */
101
+ getType(): MessageType;
102
+ constructor(fields: string | BaseMessageFields, /** @deprecated */
103
+ kwargs?: Record<string, unknown>);
104
+ get contentBlocks(): Array<ContentBlock.Standard>;
105
+ toDict(): StoredMessage;
106
+ static lc_name(): string;
107
+ // Can't be protected for silly reasons
108
+ get _printableFields(): Record<string, unknown>;
109
+ // this private method is used to update the ID for the runtime
110
+ // value as well as in lc_kwargs for serialisation
111
+ _updateId(value: string | undefined): void;
112
+ get [Symbol.toStringTag](): any;
113
+ }
114
+ /**
115
+ * @deprecated Use "tool_calls" field on AIMessages instead
116
+ */
117
+ type OpenAIToolCall = {
118
+ /**
119
+ * The ID of the tool call.
120
+ */
121
+ id: string;
122
+ /**
123
+ * The function that the model called.
124
+ */
125
+ function: FunctionCall;
126
+ /**
127
+ * The type of the tool. Currently, only `function` is supported.
128
+ */
129
+ type: "function";
130
+ index?: number;
131
+ };
132
+ //#endregion
133
+ export { BaseMessage };
134
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","names":["Serializable","SerializedConstructor","StringWithAutocomplete","ContentBlock","StoredMessageData","Record","StoredMessage","StoredGeneration","StoredMessageV1","MessageType","MessageContent","Array","FunctionCall","BaseMessageFields","Standard","OpenAIToolCall","mergeContent","_mergeStatus","BaseMessage","NonNullable","Symbol","toStringTag","isOpenAIToolCallArray","_mergeDicts","_mergeLists","_mergeObj","T","BaseMessageChunk","MessageFieldWithRole","_isMessageFieldWithRole","BaseMessageLike","isBaseMessage","isBaseMessageChunk"],"sources":["../../../../../../langchain-core/dist/messages/base.d.ts"],"sourcesContent":["import { Serializable, SerializedConstructor } from \"../load/serializable.js\";\nimport { StringWithAutocomplete } from \"../utils/types/index.js\";\nimport { ContentBlock } from \"./content/index.js\";\n\n//#region src/messages/base.d.ts\ninterface StoredMessageData {\n content: string;\n role: string | undefined;\n name: string | undefined;\n tool_call_id: string | undefined;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n additional_kwargs?: Record<string, any>;\n /** Response metadata. For example: response headers, logprobs, token counts, model name. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n response_metadata?: Record<string, any>;\n id?: string;\n}\ninterface StoredMessage {\n type: string;\n data: StoredMessageData;\n}\ninterface StoredGeneration {\n text: string;\n message?: StoredMessage;\n}\ninterface StoredMessageV1 {\n type: string;\n role: string | undefined;\n text: string;\n}\ntype MessageType = \"human\" | \"ai\" | \"generic\" | \"developer\" | \"system\" | \"function\" | \"tool\" | \"remove\";\ntype MessageContent = string | Array<ContentBlock>;\ninterface FunctionCall {\n /**\n * The arguments to call the function with, as generated by the model in JSON\n * format. Note that the model does not always generate valid JSON, and may\n * hallucinate parameters not defined by your function schema. Validate the\n * arguments in your code before calling your function.\n */\n arguments: string;\n /**\n * The name of the function to call.\n */\n name: string;\n}\ntype BaseMessageFields = {\n name?: string;\n content?: MessageContent;\n contentBlocks?: Array<ContentBlock.Standard>;\n additional_kwargs?: {\n /**\n * @deprecated Use \"tool_calls\" field on AIMessages instead\n */\n function_call?: FunctionCall;\n /**\n * @deprecated Use \"tool_calls\" field on AIMessages instead\n */\n tool_calls?: OpenAIToolCall[];\n [key: string]: unknown;\n };\n /** Response metadata. For example: response headers, logprobs, token counts, model name. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n response_metadata?: Record<string, any>;\n /**\n * An optional unique identifier for the message. This should ideally be\n * provided by the provider/model which created the message.\n */\n id?: string;\n};\ndeclare function mergeContent(firstContent: MessageContent, secondContent: MessageContent): MessageContent;\n/**\n * 'Merge' two statuses. If either value passed is 'error', it will return 'error'. Else\n * it will return 'success'.\n *\n * @param {\"success\" | \"error\" | undefined} left The existing value to 'merge' with the new value.\n * @param {\"success\" | \"error\" | undefined} right The new value to 'merge' with the existing value\n * @returns {\"success\" | \"error\"} The 'merged' value.\n */\ndeclare function _mergeStatus(left?: \"success\" | \"error\", right?: \"success\" | \"error\"): \"success\" | \"error\" | undefined;\n/**\n * Base class for all types of messages in a conversation. It includes\n * properties like `content`, `name`, and `additional_kwargs`. It also\n * includes methods like `toDict()` and `_getType()`.\n */\ndeclare abstract class BaseMessage extends Serializable {\n lc_namespace: string[];\n lc_serializable: boolean;\n get lc_aliases(): Record<string, string>;\n /**\n * Get text content of the message.\n */\n get text(): string;\n /** The content of the message. */\n content: MessageContent;\n /** The name of the message sender in a multi-user chat. */\n name?: string;\n /** Additional keyword arguments */\n additional_kwargs: NonNullable<BaseMessageFields[\"additional_kwargs\"]>;\n /** Response metadata. For example: response headers, logprobs, token counts, model name. */\n response_metadata: NonNullable<BaseMessageFields[\"response_metadata\"]>;\n /**\n * An optional unique identifier for the message. This should ideally be\n * provided by the provider/model which created the message.\n */\n id?: string;\n /**\n * @deprecated Use .getType() instead or import the proper typeguard.\n * For example:\n *\n * ```ts\n * import { isAIMessage } from \"@langchain/core/messages\";\n *\n * const message = new AIMessage(\"Hello!\");\n * isAIMessage(message); // true\n * ```\n */\n abstract _getType(): MessageType;\n /** The type of the message. */\n getType(): MessageType;\n constructor(fields: string | BaseMessageFields, /** @deprecated */\n kwargs?: Record<string, unknown>);\n get contentBlocks(): Array<ContentBlock.Standard>;\n toDict(): StoredMessage;\n static lc_name(): string;\n // Can't be protected for silly reasons\n get _printableFields(): Record<string, unknown>;\n // this private method is used to update the ID for the runtime\n // value as well as in lc_kwargs for serialisation\n _updateId(value: string | undefined): void;\n get [Symbol.toStringTag](): any;\n}\n/**\n * @deprecated Use \"tool_calls\" field on AIMessages instead\n */\ntype OpenAIToolCall = {\n /**\n * The ID of the tool call.\n */\n id: string;\n /**\n * The function that the model called.\n */\n function: FunctionCall;\n /**\n * The type of the tool. Currently, only `function` is supported.\n */\n type: \"function\";\n index?: number;\n};\ndeclare function isOpenAIToolCallArray(value?: unknown): value is OpenAIToolCall[];\ndeclare function _mergeDicts(\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nleft: Record<string, any>,\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nright: Record<string, any>\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n): Record<string, any>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ndeclare function _mergeLists(left?: any[], right?: any[]): any[] | undefined;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ndeclare function _mergeObj<T = any>(left: T | undefined, right: T | undefined): T;\n/**\n * Represents a chunk of a message, which can be concatenated with other\n * message chunks. It includes a method `_merge_kwargs_dict()` for merging\n * additional keyword arguments from another `BaseMessageChunk` into this\n * one. It also overrides the `__add__()` method to support concatenation\n * of `BaseMessageChunk` instances.\n */\ndeclare abstract class BaseMessageChunk extends BaseMessage {\n abstract concat(chunk: BaseMessageChunk): BaseMessageChunk;\n}\ntype MessageFieldWithRole = {\n role: StringWithAutocomplete<\"user\" | \"assistant\" | MessageType>;\n content: MessageContent;\n name?: string;\n} & Record<string, unknown>;\ndeclare function _isMessageFieldWithRole(x: BaseMessageLike): x is MessageFieldWithRole;\ntype BaseMessageLike = BaseMessage | MessageFieldWithRole | [StringWithAutocomplete<MessageType | \"user\" | \"assistant\" | \"placeholder\">, MessageContent] | string\n/**\n * @deprecated Specifying \"type\" is deprecated and will be removed in 0.4.0.\n */ | ({\n type: MessageType | \"user\" | \"assistant\" | \"placeholder\";\n} & BaseMessageFields & Record<string, unknown>) | SerializedConstructor;\ndeclare function isBaseMessage(messageLike?: unknown): messageLike is BaseMessage;\ndeclare function isBaseMessageChunk(messageLike?: unknown): messageLike is BaseMessageChunk;\n//#endregion\nexport { BaseMessage, BaseMessageChunk, BaseMessageFields, BaseMessageLike, FunctionCall, MessageContent, MessageFieldWithRole, MessageType, OpenAIToolCall, StoredGeneration, StoredMessage, StoredMessageData, StoredMessageV1, _isMessageFieldWithRole, _mergeDicts, _mergeLists, _mergeObj, _mergeStatus, isBaseMessage, isBaseMessageChunk, isOpenAIToolCallArray, mergeContent };\n//# sourceMappingURL=base.d.ts.map"],"mappings":";;;;;AAEkD;UAGxCI,iBAAAA,CAAiB;EAAA,OAMLC,EAAAA,MAAAA;EAAM,IAAA,EAGNA,MAAAA,GAAAA,SAAAA;EAAM,IAAA,EAAA,MAAA,GAAA,SAAA;EAAA,YAGlBC,EAAAA,MAAa,GAAA,SAEfF;EAMiB;EAKT,iBACXM,CAAAA,EApBiBL,MAoBH,CAAA,MAAA,EAAA,GAAA,CAAA;EAAA;EAAA;EAA8B,iBAAlBM,CAAAA,EAjBTN,MAiBSM,CAAAA,MAAAA,EAAAA,GAAAA,CAAAA;EAAK,EAAA,CAAA,EAAA,MAAA;AAAA;AACd,UAfZL,aAAAA,CA4BY;EAAA,IAAA,EAAA,MAAA;EAAA,IAAA,EA1BdF,iBA4BIM;;KAjBPD,WAAAA,GAmE4BI,OAAAA,GAAAA,IAAAA,GAAAA,SAAAA,GAAAA,WAAAA,GAAAA,QAAAA,GAAAA,UAAAA,GAAAA,MAAAA,GAAAA,QAAAA;KAlE5BH,cAAAA,GAkEgBS,MAAAA,GAlEUR,KAkEVQ,CAlEgBhB,YAkEhBgB,CAAAA;UAjEXP,YAAAA,CAmEuBC;EAAiB;;;;;;EAsBA,SAA3BF,EAAAA,MAAAA;EAAK;;;EAQH,IAAA,EA7CkBX,MAAAA;AAAY;AAAA,KAvClDa,iBAAAA,GAyFc;;YAvFPH;kBACMC,MAAMR,YAAAA,CAAaW;;;;;oBAKjBF;;;;iBAIHG;;;;;sBAKKV;;;;;;;;;;;;uBAsBCa,WAAAA,SAAoBlB,YAAAA;;;oBAGvBK;;;;;;WAMTK;;;;qBAIUS,YAAYN;;qBAEZM,YAAYN;;;;;;;;;;;;;;;;;uBAiBVJ;;aAEVA;+BACkBI;WACpBR;uBACYM,MAAMR,YAAAA,CAAaW;YAC9BR;;;0BAGcD;;;;OAInBe,MAAAA,CAAOC,WAAAA;;;;;KAKTN,cAAAA;;;;;;;;YAQOH"}
@@ -0,0 +1,22 @@
1
+ //#region ../langchain-core/dist/messages/content/base.d.ts
2
+ //#region src/messages/content/base.d.ts
3
+ interface BaseContentBlock {
4
+ /**
5
+ * Type of the content block
6
+ */
7
+ readonly type: string;
8
+ /**
9
+ * Content block identifier, which can be either
10
+ * - generated by the provider (e.g., a provider-specific ID)
11
+ * - generated by LangChain upon creation (a uuid prefixed with 'lc-')
12
+ */
13
+ id?: string;
14
+ /**
15
+ * Arbitrary properties
16
+ */
17
+ [key: string]: unknown;
18
+ }
19
+ //#endregion
20
+ //#endregion
21
+ export { BaseContentBlock };
22
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","names":["BaseContentBlock"],"sources":["../../../../../../../langchain-core/dist/messages/content/base.d.ts"],"sourcesContent":["//#region src/messages/content/base.d.ts\ninterface BaseContentBlock {\n /**\n * Type of the content block\n */\n readonly type: string;\n /**\n * Content block identifier, which can be either\n * - generated by the provider (e.g., a provider-specific ID)\n * - generated by LangChain upon creation (a uuid prefixed with 'lc-')\n */\n id?: string;\n /**\n * Arbitrary properties\n */\n [key: string]: unknown;\n}\n//#endregion\nexport { BaseContentBlock };\n//# sourceMappingURL=base.d.ts.map"],"mappings":";;UACUA,gBAAAA,CAAgB"}
@@ -0,0 +1,96 @@
1
+ import { BaseContentBlock } from "./base.js";
2
+
3
+ //#region ../langchain-core/dist/messages/content/data.d.ts
4
+
5
+ type Data = never;
6
+ // eslint-disable-next-line @typescript-eslint/no-namespace
7
+ declare namespace Data {
8
+ /**
9
+ * @deprecated
10
+ * Use {@link ContentBlock.Multimodal.Data} instead
11
+ */
12
+ interface BaseDataContentBlock extends BaseContentBlock {
13
+ mime_type?: string;
14
+ metadata?: Record<string, unknown>;
15
+ }
16
+ /**
17
+ * @deprecated
18
+ * Use {@link ContentBlock.Multimodal.Data} instead
19
+ */
20
+ interface URLContentBlock extends BaseDataContentBlock {
21
+ type: "image" | "audio" | "file";
22
+ source_type: "url";
23
+ url: string;
24
+ }
25
+ /**
26
+ * @deprecated
27
+ * Use {@link ContentBlock.Multimodal.Data} instead
28
+ */
29
+ interface Base64ContentBlock extends BaseDataContentBlock {
30
+ type: "image" | "audio" | "file";
31
+ source_type: "base64";
32
+ data: string;
33
+ }
34
+ /**
35
+ * @deprecated
36
+ * Use {@link ContentBlock.Multimodal.Data} instead
37
+ */
38
+ interface PlainTextContentBlock extends BaseDataContentBlock {
39
+ type: "file" | "text";
40
+ source_type: "text";
41
+ text: string;
42
+ }
43
+ /**
44
+ * @deprecated
45
+ * Use {@link ContentBlock.Multimodal.Data} instead
46
+ */
47
+ interface IDContentBlock extends BaseDataContentBlock {
48
+ type: "image" | "audio" | "file";
49
+ source_type: "id";
50
+ id: string;
51
+ }
52
+ /**
53
+ * @deprecated
54
+ * Use {@link ContentBlock.Multimodal.Standard} instead
55
+ */
56
+ type DataContentBlock = URLContentBlock | Base64ContentBlock | PlainTextContentBlock | IDContentBlock;
57
+ /**
58
+ * @deprecated
59
+ * Use {@link ContentBlock.Multimodal.Standard} instead
60
+ */
61
+ type StandardImageBlock = (URLContentBlock | Base64ContentBlock | IDContentBlock) & {
62
+ type: "image";
63
+ };
64
+ /**
65
+ * @deprecated
66
+ * Use {@link ContentBlock.Multimodal.Standard} instead
67
+ */
68
+ type StandardAudioBlock = (URLContentBlock | Base64ContentBlock | IDContentBlock) & {
69
+ type: "audio";
70
+ };
71
+ /**
72
+ * @deprecated
73
+ * Use {@link ContentBlock.Multimodal.Standard} instead
74
+ */
75
+ type StandardFileBlock = (URLContentBlock | Base64ContentBlock | IDContentBlock | PlainTextContentBlock) & {
76
+ type: "file";
77
+ };
78
+ /**
79
+ * @deprecated
80
+ * Use {@link ContentBlock.Multimodal.Standard} instead
81
+ */
82
+ type StandardTextBlock = PlainTextContentBlock & {
83
+ type: "text";
84
+ };
85
+ /**
86
+ * @deprecated
87
+ * Use {@link ContentBlock.Multimodal.Data} instead
88
+ */
89
+ type DataContentBlockType = DataContentBlock["type"];
90
+ }
91
+ /**
92
+ * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.
93
+ */
94
+ //#endregion
95
+ export { Data };
96
+ //# sourceMappingURL=data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.d.ts","names":["BaseContentBlock","ImageDetail","MessageContentText","MessageContentImageUrl","MessageContentComplex","Record","Data","BaseDataContentBlock","URLContentBlock","Base64ContentBlock","PlainTextContentBlock","IDContentBlock","DataContentBlock","isDataContentBlock","isURLContentBlock","isBase64ContentBlock","isPlainTextContentBlock","isIDContentBlock","convertToOpenAIImageBlock","parseMimeType","parseBase64DataUrl","dataUrl","asTypedArray","Uint8Array","ProviderFormatTypes","TextFormat","ImageFormat","AudioFormat","FileFormat","VideoFormat","StandardContentBlockConverter","Partial","StandardImageBlock","Formats","StandardAudioBlock","StandardFileBlock","StandardTextBlock","convertToProviderContentBlock"],"sources":["../../../../../../../langchain-core/dist/messages/content/data.d.ts"],"sourcesContent":["import { BaseContentBlock } from \"./base.js\";\n\n//#region src/messages/content/data.d.ts\n\n/**\n * @deprecated\n * Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ntype ImageDetail = \"auto\" | \"low\" | \"high\";\n/**\n * @deprecated\n * Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ntype MessageContentText = {\n type: \"text\";\n text: string;\n};\n/**\n * @deprecated\n * Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ntype MessageContentImageUrl = {\n type: \"image_url\";\n image_url: string | {\n url: string;\n detail?: ImageDetail;\n };\n};\n/**\n * @deprecated\n * Use {@link ContentBlock} instead.\n */\ntype MessageContentComplex = MessageContentText | MessageContentImageUrl\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n| (Record<string, any> & {\n type?: \"text\" | \"image_url\" | string;\n})\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n| (Record<string, any> & {\n type?: never;\n});\ntype Data = never;\n// eslint-disable-next-line @typescript-eslint/no-namespace\ndeclare namespace Data {\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Data} instead\n */\n interface BaseDataContentBlock extends BaseContentBlock {\n mime_type?: string;\n metadata?: Record<string, unknown>;\n }\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Data} instead\n */\n interface URLContentBlock extends BaseDataContentBlock {\n type: \"image\" | \"audio\" | \"file\";\n source_type: \"url\";\n url: string;\n }\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Data} instead\n */\n interface Base64ContentBlock extends BaseDataContentBlock {\n type: \"image\" | \"audio\" | \"file\";\n source_type: \"base64\";\n data: string;\n }\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Data} instead\n */\n interface PlainTextContentBlock extends BaseDataContentBlock {\n type: \"file\" | \"text\";\n source_type: \"text\";\n text: string;\n }\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Data} instead\n */\n interface IDContentBlock extends BaseDataContentBlock {\n type: \"image\" | \"audio\" | \"file\";\n source_type: \"id\";\n id: string;\n }\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Standard} instead\n */\n type DataContentBlock = URLContentBlock | Base64ContentBlock | PlainTextContentBlock | IDContentBlock;\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Standard} instead\n */\n type StandardImageBlock = (URLContentBlock | Base64ContentBlock | IDContentBlock) & {\n type: \"image\";\n };\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Standard} instead\n */\n type StandardAudioBlock = (URLContentBlock | Base64ContentBlock | IDContentBlock) & {\n type: \"audio\";\n };\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Standard} instead\n */\n type StandardFileBlock = (URLContentBlock | Base64ContentBlock | IDContentBlock | PlainTextContentBlock) & {\n type: \"file\";\n };\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Standard} instead\n */\n type StandardTextBlock = PlainTextContentBlock & {\n type: \"text\";\n };\n /**\n * @deprecated\n * Use {@link ContentBlock.Multimodal.Data} instead\n */\n type DataContentBlockType = DataContentBlock[\"type\"];\n}\n/**\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function isDataContentBlock(content_block: object): content_block is Data.DataContentBlock;\n/**\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function isURLContentBlock(content_block: object): content_block is Data.URLContentBlock;\n/**\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function isBase64ContentBlock(content_block: object): content_block is Data.Base64ContentBlock;\n/**\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function isPlainTextContentBlock(content_block: object): content_block is Data.PlainTextContentBlock;\n/**\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function isIDContentBlock(content_block: object): content_block is Data.IDContentBlock;\n/**\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function convertToOpenAIImageBlock(content_block: Data.URLContentBlock | Data.Base64ContentBlock): {\n type: string;\n image_url: {\n url: string;\n };\n};\n/**\n * Utility function for ChatModelProviders. Parses a mime type into a type, subtype, and parameters.\n *\n * @param mime_type - The mime type to parse.\n * @returns An object containing the type, subtype, and parameters.\n *\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function parseMimeType(mime_type: string): {\n type: string;\n subtype: string;\n parameters: Record<string, string>;\n};\n/**\n * Utility function for ChatModelProviders. Parses a base64 data URL into a typed array or string.\n *\n * @param dataUrl - The base64 data URL to parse.\n * @param asTypedArray - Whether to return the data as a typed array.\n * @returns An object containing the parsed data and mime type, or undefined if the data URL is invalid.\n *\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function parseBase64DataUrl({\n dataUrl,\n asTypedArray\n}: {\n dataUrl: string;\n asTypedArray: true;\n}): {\n data: Uint8Array;\n mime_type: string;\n} | undefined;\n/**\n * Utility function for ChatModelProviders. Parses a base64 data URL into a typed array or string.\n *\n * @param dataUrl - The base64 data URL to parse.\n * @param asTypedArray - Whether to return the data as a typed array.\n * @returns The parsed data and mime type, or undefined if the data URL is invalid.\n *\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function parseBase64DataUrl({\n dataUrl,\n asTypedArray\n}: {\n dataUrl: string;\n asTypedArray?: false;\n}): {\n data: string;\n mime_type: string;\n} | undefined;\n/**\n * A bag of provider-specific content block types.\n *\n * Allows implementations of {@link StandardContentBlockConverter} and related to be defined only in\n * terms of the types they support. Also allows for forward compatibility as the set of known\n * standard types grows, as the set of types can be extended without breaking existing\n * implementations of the aforementioned interfaces.\n *\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ntype ProviderFormatTypes<TextFormat = unknown, ImageFormat = unknown, AudioFormat = unknown, FileFormat = unknown, VideoFormat = unknown> = {\n text: TextFormat;\n image: ImageFormat;\n audio: AudioFormat;\n file: FileFormat;\n video: VideoFormat;\n};\n/**\n * Utility interface for converting between standard and provider-specific data content blocks, to be\n * used when implementing chat model providers.\n *\n * Meant to be used with {@link convertToProviderContentBlock} and\n * {@link convertToStandardContentBlock} rather than being consumed directly.\n *\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ninterface StandardContentBlockConverter<Formats extends Partial<ProviderFormatTypes>> {\n /**\n * The name of the provider type that corresponds to the provider-specific content block types\n * that this converter supports.\n */\n providerName: string;\n /**\n * Convert from a standard image block to a provider's proprietary image block format.\n * @param block - The standard image block to convert.\n * @returns The provider image block.\n */\n fromStandardImageBlock?(block: Data.StandardImageBlock): Formats[\"image\"];\n /**\n * Convert from a standard audio block to a provider's proprietary audio block format.\n * @param block - The standard audio block to convert.\n * @returns The provider audio block.\n */\n fromStandardAudioBlock?(block: Data.StandardAudioBlock): Formats[\"audio\"];\n /**\n * Convert from a standard file block to a provider's proprietary file block format.\n * @param block - The standard file block to convert.\n * @returns The provider file block.\n */\n fromStandardFileBlock?(block: Data.StandardFileBlock): Formats[\"file\"];\n /**\n * Convert from a standard text block to a provider's proprietary text block format.\n * @param block - The standard text block to convert.\n * @returns The provider text block.\n */\n fromStandardTextBlock?(block: Data.StandardTextBlock): Formats[\"text\"];\n}\n/**\n * Convert from a standard data content block to a provider's proprietary data content block format.\n *\n * Don't override this method. Instead, override the more specific conversion methods and use this\n * method unmodified.\n *\n * @param block - The standard data content block to convert.\n * @returns The provider data content block.\n * @throws An error if the standard data content block type is not supported.\n *\n * @deprecated Don't use data content blocks. Use {@link ContentBlock.Multimodal.Data} instead.\n */\ndeclare function convertToProviderContentBlock<Formats extends Partial<ProviderFormatTypes>>(block: Data.DataContentBlock, converter: StandardContentBlockConverter<Formats>): Formats[keyof Formats];\n//#endregion\nexport { Data, ImageDetail, MessageContentComplex, MessageContentImageUrl, MessageContentText, ProviderFormatTypes, StandardContentBlockConverter, convertToOpenAIImageBlock, convertToProviderContentBlock, isBase64ContentBlock, isDataContentBlock, isIDContentBlock, isPlainTextContentBlock, isURLContentBlock, parseBase64DataUrl, parseMimeType };\n//# sourceMappingURL=data.d.ts.map"],"mappings":";;;;KAyCKM,IAAAA;;kBAEaA,IAAAA;;;;;yCAKuBN;;eAE1BK;;;;;;oCAMqBE;;;;;;;;;uCASGA;;;;;;;;;0CASGA;;;;;;;;;mCASPA;;;;;;;;;0BASTC,kBAAkBC,qBAAqBC,wBAAwBC;;;;;6BAK5DH,kBAAkBC,qBAAqBE;;;;;;;6BAOvCH,kBAAkBC,qBAAqBE;;;;;;;4BAOxCH,kBAAkBC,qBAAqBE,iBAAiBD;;;;;;;2BAOzDA;;;;;;;8BAOGE"}