langchain 0.3.31 → 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +549 -1133
  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
@@ -1,40 +1,38 @@
1
- import { NodeHandler, ASTParser } from "./base.js";
1
+ import { ASTParser, NodeHandler } from "./base.js";
2
+
3
+ //#region src/output_parsers/expression_type_handlers/array_literal_expression_handler.ts
2
4
  /**
3
- * Handles array expressions in the LangChain Expression Language (LCEL).
4
- * It extends the NodeHandler base class, providing functionality to
5
- * accept and handle array expressions.
6
- */
7
- export class ArrayLiteralExpressionHandler extends NodeHandler {
8
- /**
9
- * Checks if the given node is an array expression. If it is, the method
10
- * returns the node; otherwise, it returns false.
11
- * @param node The ExpressionNode to check.
12
- * @returns A Promise that resolves to either the ArrayExpression node if the node is an array expression, or false otherwise.
13
- */
14
- async accepts(node) {
15
- if (ASTParser.isArrayExpression(node)) {
16
- return node;
17
- }
18
- else {
19
- return false;
20
- }
21
- }
22
- /**
23
- * Handles the given array expression node. If the handler doesn't have a
24
- * parent handler, it throws an error. Otherwise, it returns an object
25
- * representing the array literal.
26
- * @param node The ArrayExpression node to handle.
27
- * @returns A Promise that resolves to an object representing the array literal.
28
- */
29
- async handle(node) {
30
- if (!this.parentHandler) {
31
- throw new Error("ArrayLiteralExpressionHandler must have a parent handler");
32
- }
33
- return {
34
- type: "array_literal",
35
- values: await Promise.all(node.elements.map((innerNode) =>
36
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
37
- this.parentHandler.handle(innerNode))),
38
- };
39
- }
40
- }
5
+ * Handles array expressions in the LangChain Expression Language (LCEL).
6
+ * It extends the NodeHandler base class, providing functionality to
7
+ * accept and handle array expressions.
8
+ */
9
+ var ArrayLiteralExpressionHandler = class extends NodeHandler {
10
+ /**
11
+ * Checks if the given node is an array expression. If it is, the method
12
+ * returns the node; otherwise, it returns false.
13
+ * @param node The ExpressionNode to check.
14
+ * @returns A Promise that resolves to either the ArrayExpression node if the node is an array expression, or false otherwise.
15
+ */
16
+ async accepts(node) {
17
+ if (ASTParser.isArrayExpression(node)) return node;
18
+ else return false;
19
+ }
20
+ /**
21
+ * Handles the given array expression node. If the handler doesn't have a
22
+ * parent handler, it throws an error. Otherwise, it returns an object
23
+ * representing the array literal.
24
+ * @param node The ArrayExpression node to handle.
25
+ * @returns A Promise that resolves to an object representing the array literal.
26
+ */
27
+ async handle(node) {
28
+ if (!this.parentHandler) throw new Error("ArrayLiteralExpressionHandler must have a parent handler");
29
+ return {
30
+ type: "array_literal",
31
+ values: await Promise.all(node.elements.map((innerNode) => this.parentHandler.handle(innerNode)))
32
+ };
33
+ }
34
+ };
35
+
36
+ //#endregion
37
+ export { ArrayLiteralExpressionHandler };
38
+ //# sourceMappingURL=array_literal_expression_handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array_literal_expression_handler.js","names":["node: ExpressionNode","node: ArrayExpression"],"sources":["../../../src/output_parsers/expression_type_handlers/array_literal_expression_handler.ts"],"sourcesContent":["import { NodeHandler, ASTParser } from \"./base.js\";\nimport { ArrayLiteralType } from \"./types.js\";\nimport type {\n ExpressionNode,\n ArrayExpression,\n} from \"../../types/expression-parser.js\";\n\n/**\n * Handles array expressions in the LangChain Expression Language (LCEL).\n * It extends the NodeHandler base class, providing functionality to\n * accept and handle array expressions.\n */\nexport class ArrayLiteralExpressionHandler extends NodeHandler {\n /**\n * Checks if the given node is an array expression. If it is, the method\n * returns the node; otherwise, it returns false.\n * @param node The ExpressionNode to check.\n * @returns A Promise that resolves to either the ArrayExpression node if the node is an array expression, or false otherwise.\n */\n async accepts(node: ExpressionNode): Promise<ArrayExpression | boolean> {\n if (ASTParser.isArrayExpression(node)) {\n return node;\n } else {\n return false;\n }\n }\n\n /**\n * Handles the given array expression node. If the handler doesn't have a\n * parent handler, it throws an error. Otherwise, it returns an object\n * representing the array literal.\n * @param node The ArrayExpression node to handle.\n * @returns A Promise that resolves to an object representing the array literal.\n */\n async handle(node: ArrayExpression): Promise<ArrayLiteralType> {\n if (!this.parentHandler) {\n throw new Error(\n \"ArrayLiteralExpressionHandler must have a parent handler\"\n );\n }\n return {\n type: \"array_literal\",\n values: await Promise.all(\n node.elements.map((innerNode) =>\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n this.parentHandler!.handle(innerNode as ExpressionNode)\n )\n ),\n };\n }\n}\n"],"mappings":";;;;;;;;AAYA,IAAa,gCAAb,cAAmD,YAAY;;;;;;;CAO7D,MAAM,QAAQA,MAA0D;AACtE,MAAI,UAAU,kBAAkB,KAAK,CACnC,QAAO;MAEP,QAAO;CAEV;;;;;;;;CASD,MAAM,OAAOC,MAAkD;AAC7D,MAAI,CAAC,KAAK,cACR,OAAM,IAAI,MACR;AAGJ,SAAO;GACL,MAAM;GACN,QAAQ,MAAM,QAAQ,IACpB,KAAK,SAAS,IAAI,CAAC,cAEjB,KAAK,cAAe,OAAO,UAA4B,CACxD,CACF;EACF;CACF;AACF"}
@@ -1,166 +1,130 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.ASTParser = exports.NodeHandler = void 0;
37
- const parser_grammar_js_1 = require("./grammar/parser_grammar.cjs");
1
+ const require_parser_grammar = require('./grammar/parser_grammar.cjs');
2
+
3
+ //#region src/output_parsers/expression_type_handlers/base.ts
38
4
  /**
39
- * Abstract class for handling nodes in an expression language. Subclasses
40
- * must implement the `accepts` and `handle` methods.
41
- */
42
- class NodeHandler {
43
- constructor(parentHandler) {
44
- Object.defineProperty(this, "parentHandler", {
45
- enumerable: true,
46
- configurable: true,
47
- writable: true,
48
- value: parentHandler
49
- });
50
- }
51
- }
52
- exports.NodeHandler = NodeHandler;
5
+ * Abstract class for handling nodes in an expression language. Subclasses
6
+ * must implement the `accepts` and `handle` methods.
7
+ */
8
+ var NodeHandler = class {
9
+ constructor(parentHandler) {
10
+ this.parentHandler = parentHandler;
11
+ }
12
+ };
53
13
  /**
54
- * Utility class for parsing Abstract Syntax Trees (ASTs). Contains
55
- * methods for identifying the type of a given node and a method for
56
- * importing and generating a parser using the Peggy library.
57
- */
58
- class ASTParser {
59
- /**
60
- * Imports and generates a parser using the Peggy library.
61
- * @returns A Promise that resolves to the parser instance.
62
- */
63
- static async importASTParser() {
64
- try {
65
- if (!ASTParser.astParseInstance) {
66
- const { default: peggy } = await Promise.resolve().then(() => __importStar(require("peggy")));
67
- const parser = peggy.generate(parser_grammar_js_1.GRAMMAR);
68
- const { parse } = parser;
69
- ASTParser.astParseInstance = parse;
70
- }
71
- return ASTParser.astParseInstance;
72
- }
73
- catch (e) {
74
- throw new Error(`Failed to import peggy. Please install peggy (i.e. "npm install peggy" or "yarn add peggy").`);
75
- }
76
- }
77
- /**
78
- * Checks if the given node is a Program node.
79
- * @param node The node to be checked.
80
- * @returns A boolean indicating whether the node is a Program node.
81
- */
82
- static isProgram(node) {
83
- return node.type === "Program";
84
- }
85
- /**
86
- * Checks if the given node is an ExpressionStatement node.
87
- * @param node The node to be checked.
88
- * @returns A boolean indicating whether the node is an ExpressionStatement node.
89
- */
90
- static isExpressionStatement(node) {
91
- return node.type === "ExpressionStatement";
92
- }
93
- /**
94
- * Checks if the given node is a CallExpression node.
95
- * @param node The node to be checked.
96
- * @returns A boolean indicating whether the node is a CallExpression node.
97
- */
98
- static isCallExpression(node) {
99
- return node.type === "CallExpression";
100
- }
101
- /**
102
- * Checks if the given node is a StringLiteral node.
103
- * @param node The node to be checked.
104
- * @returns A boolean indicating whether the node is a StringLiteral node.
105
- */
106
- static isStringLiteral(node) {
107
- return node.type === "StringLiteral" && typeof node.value === "string";
108
- }
109
- /**
110
- * Checks if the given node is a NumericLiteral node.
111
- * @param node The node to be checked.
112
- * @returns A boolean indicating whether the node is a NumericLiteral node.
113
- */
114
- static isNumericLiteral(node) {
115
- return node.type === "NumericLiteral" && typeof node.value === "number";
116
- }
117
- /**
118
- * Checks if the given node is a BooleanLiteral node.
119
- * @param node The node to be checked.
120
- * @returns A boolean indicating whether the node is a BooleanLiteral node.
121
- */
122
- static isBooleanLiteral(node) {
123
- return node.type === "BooleanLiteral" && typeof node.value === "boolean";
124
- }
125
- /**
126
- * Checks if the given node is an Identifier node.
127
- * @param node The node to be checked.
128
- * @returns A boolean indicating whether the node is an Identifier node.
129
- */
130
- static isIdentifier(node) {
131
- return node.type === "Identifier";
132
- }
133
- /**
134
- * Checks if the given node is an ObjectExpression node.
135
- * @param node The node to be checked.
136
- * @returns A boolean indicating whether the node is an ObjectExpression node.
137
- */
138
- static isObjectExpression(node) {
139
- return node.type === "ObjectExpression";
140
- }
141
- /**
142
- * Checks if the given node is an ArrayExpression node.
143
- * @param node The node to be checked.
144
- * @returns A boolean indicating whether the node is an ArrayExpression node.
145
- */
146
- static isArrayExpression(node) {
147
- return node.type === "ArrayExpression";
148
- }
149
- /**
150
- * Checks if the given node is a PropertyAssignment node.
151
- * @param node The node to be checked.
152
- * @returns A boolean indicating whether the node is a PropertyAssignment node.
153
- */
154
- static isPropertyAssignment(node) {
155
- return node.type === "PropertyAssignment";
156
- }
157
- /**
158
- * Checks if the given node is a MemberExpression node.
159
- * @param node The node to be checked.
160
- * @returns A boolean indicating whether the node is a MemberExpression node.
161
- */
162
- static isMemberExpression(node) {
163
- return node.type === "MemberExpression";
164
- }
165
- }
14
+ * Utility class for parsing Abstract Syntax Trees (ASTs). Contains
15
+ * methods for identifying the type of a given node and a method for
16
+ * importing and generating a parser using the Peggy library.
17
+ */
18
+ var ASTParser = class ASTParser {
19
+ static astParseInstance;
20
+ /**
21
+ * Imports and generates a parser using the Peggy library.
22
+ * @returns A Promise that resolves to the parser instance.
23
+ */
24
+ static async importASTParser() {
25
+ try {
26
+ if (!ASTParser.astParseInstance) {
27
+ const { default: peggy } = await import("peggy");
28
+ const parser = peggy.generate(require_parser_grammar.GRAMMAR);
29
+ const { parse } = parser;
30
+ ASTParser.astParseInstance = parse;
31
+ }
32
+ return ASTParser.astParseInstance;
33
+ } catch (e) {
34
+ throw new Error(`Failed to import peggy. Please install peggy (i.e. "npm install peggy" or "pnpm install peggy").`);
35
+ }
36
+ }
37
+ /**
38
+ * Checks if the given node is a Program node.
39
+ * @param node The node to be checked.
40
+ * @returns A boolean indicating whether the node is a Program node.
41
+ */
42
+ static isProgram(node) {
43
+ return node.type === "Program";
44
+ }
45
+ /**
46
+ * Checks if the given node is an ExpressionStatement node.
47
+ * @param node The node to be checked.
48
+ * @returns A boolean indicating whether the node is an ExpressionStatement node.
49
+ */
50
+ static isExpressionStatement(node) {
51
+ return node.type === "ExpressionStatement";
52
+ }
53
+ /**
54
+ * Checks if the given node is a CallExpression node.
55
+ * @param node The node to be checked.
56
+ * @returns A boolean indicating whether the node is a CallExpression node.
57
+ */
58
+ static isCallExpression(node) {
59
+ return node.type === "CallExpression";
60
+ }
61
+ /**
62
+ * Checks if the given node is a StringLiteral node.
63
+ * @param node The node to be checked.
64
+ * @returns A boolean indicating whether the node is a StringLiteral node.
65
+ */
66
+ static isStringLiteral(node) {
67
+ return node.type === "StringLiteral" && typeof node.value === "string";
68
+ }
69
+ /**
70
+ * Checks if the given node is a NumericLiteral node.
71
+ * @param node The node to be checked.
72
+ * @returns A boolean indicating whether the node is a NumericLiteral node.
73
+ */
74
+ static isNumericLiteral(node) {
75
+ return node.type === "NumericLiteral" && typeof node.value === "number";
76
+ }
77
+ /**
78
+ * Checks if the given node is a BooleanLiteral node.
79
+ * @param node The node to be checked.
80
+ * @returns A boolean indicating whether the node is a BooleanLiteral node.
81
+ */
82
+ static isBooleanLiteral(node) {
83
+ return node.type === "BooleanLiteral" && typeof node.value === "boolean";
84
+ }
85
+ /**
86
+ * Checks if the given node is an Identifier node.
87
+ * @param node The node to be checked.
88
+ * @returns A boolean indicating whether the node is an Identifier node.
89
+ */
90
+ static isIdentifier(node) {
91
+ return node.type === "Identifier";
92
+ }
93
+ /**
94
+ * Checks if the given node is an ObjectExpression node.
95
+ * @param node The node to be checked.
96
+ * @returns A boolean indicating whether the node is an ObjectExpression node.
97
+ */
98
+ static isObjectExpression(node) {
99
+ return node.type === "ObjectExpression";
100
+ }
101
+ /**
102
+ * Checks if the given node is an ArrayExpression node.
103
+ * @param node The node to be checked.
104
+ * @returns A boolean indicating whether the node is an ArrayExpression node.
105
+ */
106
+ static isArrayExpression(node) {
107
+ return node.type === "ArrayExpression";
108
+ }
109
+ /**
110
+ * Checks if the given node is a PropertyAssignment node.
111
+ * @param node The node to be checked.
112
+ * @returns A boolean indicating whether the node is a PropertyAssignment node.
113
+ */
114
+ static isPropertyAssignment(node) {
115
+ return node.type === "PropertyAssignment";
116
+ }
117
+ /**
118
+ * Checks if the given node is a MemberExpression node.
119
+ * @param node The node to be checked.
120
+ * @returns A boolean indicating whether the node is a MemberExpression node.
121
+ */
122
+ static isMemberExpression(node) {
123
+ return node.type === "MemberExpression";
124
+ }
125
+ };
126
+
127
+ //#endregion
166
128
  exports.ASTParser = ASTParser;
129
+ exports.NodeHandler = NodeHandler;
130
+ //# sourceMappingURL=base.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.cjs","names":["parentHandler?: NodeHandler","GRAMMAR","node: ExpressionNode"],"sources":["../../../src/output_parsers/expression_type_handlers/base.ts"],"sourcesContent":["import { GRAMMAR } from \"./grammar/parser_grammar.js\";\nimport type {\n ExpressionNode,\n Program,\n ExpressionStatement,\n CallExpression,\n StringLiteral,\n NumericLiteral,\n BooleanLiteral,\n Identifier,\n ObjectExpression,\n ArrayExpression,\n PropertyAssignment,\n MemberExpression,\n ParseFunction,\n} from \"../../types/expression-parser.js\";\n\n/**\n * Abstract class for handling nodes in an expression language. Subclasses\n * must implement the `accepts` and `handle` methods.\n */\nexport abstract class NodeHandler {\n constructor(protected parentHandler?: NodeHandler) {}\n\n /**\n * Determines whether the given node is acceptable.\n * @param node The node to be checked.\n * @returns A Promise that resolves to either the node itself or a boolean indicating whether the node is acceptable.\n */\n abstract accepts(node: ExpressionNode): Promise<ExpressionNode | boolean>;\n\n /**\n * Handles the given node. The specifics of how the node is handled are\n * determined by the subclass implementation.\n * @param node The node to be handled.\n * @returns A Promise that resolves to the result of handling the node.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n abstract handle(node: ExpressionNode): Promise<any>;\n}\n\n/**\n * Utility class for parsing Abstract Syntax Trees (ASTs). Contains\n * methods for identifying the type of a given node and a method for\n * importing and generating a parser using the Peggy library.\n */\nexport class ASTParser {\n static astParseInstance: ParseFunction;\n\n /**\n * Imports and generates a parser using the Peggy library.\n * @returns A Promise that resolves to the parser instance.\n */\n static async importASTParser() {\n try {\n if (!ASTParser.astParseInstance) {\n const { default: peggy } = await import(\"peggy\");\n const parser = peggy.generate(GRAMMAR);\n const { parse } = parser;\n ASTParser.astParseInstance = parse as ParseFunction;\n }\n return ASTParser.astParseInstance;\n } catch (e) {\n throw new Error(\n `Failed to import peggy. Please install peggy (i.e. \"npm install peggy\" or \"pnpm install peggy\").`\n );\n }\n }\n\n /**\n * Checks if the given node is a Program node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a Program node.\n */\n static isProgram(node: ExpressionNode): node is Program {\n return node.type === \"Program\";\n }\n\n /**\n * Checks if the given node is an ExpressionStatement node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is an ExpressionStatement node.\n */\n static isExpressionStatement(\n node: ExpressionNode\n ): node is ExpressionStatement {\n return node.type === \"ExpressionStatement\";\n }\n\n /**\n * Checks if the given node is a CallExpression node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a CallExpression node.\n */\n static isCallExpression(node: ExpressionNode): node is CallExpression {\n return node.type === \"CallExpression\";\n }\n\n /**\n * Checks if the given node is a StringLiteral node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a StringLiteral node.\n */\n static isStringLiteral(node: ExpressionNode): node is StringLiteral {\n return node.type === \"StringLiteral\" && typeof node.value === \"string\";\n }\n\n /**\n * Checks if the given node is a NumericLiteral node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a NumericLiteral node.\n */\n static isNumericLiteral(node: ExpressionNode): node is NumericLiteral {\n return node.type === \"NumericLiteral\" && typeof node.value === \"number\";\n }\n\n /**\n * Checks if the given node is a BooleanLiteral node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a BooleanLiteral node.\n */\n static isBooleanLiteral(node: ExpressionNode): node is BooleanLiteral {\n return node.type === \"BooleanLiteral\" && typeof node.value === \"boolean\";\n }\n\n /**\n * Checks if the given node is an Identifier node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is an Identifier node.\n */\n static isIdentifier(node: ExpressionNode): node is Identifier {\n return node.type === \"Identifier\";\n }\n\n /**\n * Checks if the given node is an ObjectExpression node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is an ObjectExpression node.\n */\n static isObjectExpression(node: ExpressionNode): node is ObjectExpression {\n return node.type === \"ObjectExpression\";\n }\n\n /**\n * Checks if the given node is an ArrayExpression node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is an ArrayExpression node.\n */\n static isArrayExpression(node: ExpressionNode): node is ArrayExpression {\n return node.type === \"ArrayExpression\";\n }\n\n /**\n * Checks if the given node is a PropertyAssignment node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a PropertyAssignment node.\n */\n static isPropertyAssignment(\n node: ExpressionNode\n ): node is PropertyAssignment {\n return node.type === \"PropertyAssignment\";\n }\n\n /**\n * Checks if the given node is a MemberExpression node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a MemberExpression node.\n */\n static isMemberExpression(node: ExpressionNode): node is MemberExpression {\n return node.type === \"MemberExpression\";\n }\n}\n"],"mappings":";;;;;;;AAqBA,IAAsB,cAAtB,MAAkC;CAChC,YAAsBA,eAA6B;EAA7B;CAA+B;AAiBtD;;;;;;AAOD,IAAa,YAAb,MAAa,UAAU;CACrB,OAAO;;;;;CAMP,aAAa,kBAAkB;AAC7B,MAAI;AACF,OAAI,CAAC,UAAU,kBAAkB;IAC/B,MAAM,EAAE,SAAS,OAAO,GAAG,MAAM,OAAO;IACxC,MAAM,SAAS,MAAM,SAASC,+BAAQ;IACtC,MAAM,EAAE,OAAO,GAAG;IAClB,UAAU,mBAAmB;GAC9B;AACD,UAAO,UAAU;EAClB,SAAQ,GAAG;AACV,SAAM,IAAI,MACR,CAAC,gGAAgG,CAAC;EAErG;CACF;;;;;;CAOD,OAAO,UAAUC,MAAuC;AACtD,SAAO,KAAK,SAAS;CACtB;;;;;;CAOD,OAAO,sBACLA,MAC6B;AAC7B,SAAO,KAAK,SAAS;CACtB;;;;;;CAOD,OAAO,iBAAiBA,MAA8C;AACpE,SAAO,KAAK,SAAS;CACtB;;;;;;CAOD,OAAO,gBAAgBA,MAA6C;AAClE,SAAO,KAAK,SAAS,mBAAmB,OAAO,KAAK,UAAU;CAC/D;;;;;;CAOD,OAAO,iBAAiBA,MAA8C;AACpE,SAAO,KAAK,SAAS,oBAAoB,OAAO,KAAK,UAAU;CAChE;;;;;;CAOD,OAAO,iBAAiBA,MAA8C;AACpE,SAAO,KAAK,SAAS,oBAAoB,OAAO,KAAK,UAAU;CAChE;;;;;;CAOD,OAAO,aAAaA,MAA0C;AAC5D,SAAO,KAAK,SAAS;CACtB;;;;;;CAOD,OAAO,mBAAmBA,MAAgD;AACxE,SAAO,KAAK,SAAS;CACtB;;;;;;CAOD,OAAO,kBAAkBA,MAA+C;AACtE,SAAO,KAAK,SAAS;CACtB;;;;;;CAOD,OAAO,qBACLA,MAC4B;AAC5B,SAAO,KAAK,SAAS;CACtB;;;;;;CAOD,OAAO,mBAAmBA,MAAgD;AACxE,SAAO,KAAK,SAAS;CACtB;AACF"}
@@ -0,0 +1,108 @@
1
+ import { ArrayExpression, BooleanLiteral, CallExpression, ExpressionNode, ExpressionStatement, Identifier, MemberExpression, NumericLiteral, ObjectExpression, ParseFunction, Program, PropertyAssignment, StringLiteral } from "../../types/expression-parser.cjs";
2
+
3
+ //#region src/output_parsers/expression_type_handlers/base.d.ts
4
+
5
+ /**
6
+ * Abstract class for handling nodes in an expression language. Subclasses
7
+ * must implement the `accepts` and `handle` methods.
8
+ */
9
+ declare abstract class NodeHandler {
10
+ protected parentHandler?: NodeHandler | undefined;
11
+ constructor(parentHandler?: NodeHandler | undefined);
12
+ /**
13
+ * Determines whether the given node is acceptable.
14
+ * @param node The node to be checked.
15
+ * @returns A Promise that resolves to either the node itself or a boolean indicating whether the node is acceptable.
16
+ */
17
+ abstract accepts(node: ExpressionNode): Promise<ExpressionNode | boolean>;
18
+ /**
19
+ * Handles the given node. The specifics of how the node is handled are
20
+ * determined by the subclass implementation.
21
+ * @param node The node to be handled.
22
+ * @returns A Promise that resolves to the result of handling the node.
23
+ */
24
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
25
+ abstract handle(node: ExpressionNode): Promise<any>;
26
+ }
27
+ /**
28
+ * Utility class for parsing Abstract Syntax Trees (ASTs). Contains
29
+ * methods for identifying the type of a given node and a method for
30
+ * importing and generating a parser using the Peggy library.
31
+ */
32
+ declare class ASTParser {
33
+ static astParseInstance: ParseFunction;
34
+ /**
35
+ * Imports and generates a parser using the Peggy library.
36
+ * @returns A Promise that resolves to the parser instance.
37
+ */
38
+ static importASTParser(): Promise<ParseFunction>;
39
+ /**
40
+ * Checks if the given node is a Program node.
41
+ * @param node The node to be checked.
42
+ * @returns A boolean indicating whether the node is a Program node.
43
+ */
44
+ static isProgram(node: ExpressionNode): node is Program;
45
+ /**
46
+ * Checks if the given node is an ExpressionStatement node.
47
+ * @param node The node to be checked.
48
+ * @returns A boolean indicating whether the node is an ExpressionStatement node.
49
+ */
50
+ static isExpressionStatement(node: ExpressionNode): node is ExpressionStatement;
51
+ /**
52
+ * Checks if the given node is a CallExpression node.
53
+ * @param node The node to be checked.
54
+ * @returns A boolean indicating whether the node is a CallExpression node.
55
+ */
56
+ static isCallExpression(node: ExpressionNode): node is CallExpression;
57
+ /**
58
+ * Checks if the given node is a StringLiteral node.
59
+ * @param node The node to be checked.
60
+ * @returns A boolean indicating whether the node is a StringLiteral node.
61
+ */
62
+ static isStringLiteral(node: ExpressionNode): node is StringLiteral;
63
+ /**
64
+ * Checks if the given node is a NumericLiteral node.
65
+ * @param node The node to be checked.
66
+ * @returns A boolean indicating whether the node is a NumericLiteral node.
67
+ */
68
+ static isNumericLiteral(node: ExpressionNode): node is NumericLiteral;
69
+ /**
70
+ * Checks if the given node is a BooleanLiteral node.
71
+ * @param node The node to be checked.
72
+ * @returns A boolean indicating whether the node is a BooleanLiteral node.
73
+ */
74
+ static isBooleanLiteral(node: ExpressionNode): node is BooleanLiteral;
75
+ /**
76
+ * Checks if the given node is an Identifier node.
77
+ * @param node The node to be checked.
78
+ * @returns A boolean indicating whether the node is an Identifier node.
79
+ */
80
+ static isIdentifier(node: ExpressionNode): node is Identifier;
81
+ /**
82
+ * Checks if the given node is an ObjectExpression node.
83
+ * @param node The node to be checked.
84
+ * @returns A boolean indicating whether the node is an ObjectExpression node.
85
+ */
86
+ static isObjectExpression(node: ExpressionNode): node is ObjectExpression;
87
+ /**
88
+ * Checks if the given node is an ArrayExpression node.
89
+ * @param node The node to be checked.
90
+ * @returns A boolean indicating whether the node is an ArrayExpression node.
91
+ */
92
+ static isArrayExpression(node: ExpressionNode): node is ArrayExpression;
93
+ /**
94
+ * Checks if the given node is a PropertyAssignment node.
95
+ * @param node The node to be checked.
96
+ * @returns A boolean indicating whether the node is a PropertyAssignment node.
97
+ */
98
+ static isPropertyAssignment(node: ExpressionNode): node is PropertyAssignment;
99
+ /**
100
+ * Checks if the given node is a MemberExpression node.
101
+ * @param node The node to be checked.
102
+ * @returns A boolean indicating whether the node is a MemberExpression node.
103
+ */
104
+ static isMemberExpression(node: ExpressionNode): node is MemberExpression;
105
+ }
106
+ //#endregion
107
+ export { ASTParser, NodeHandler };
108
+ //# sourceMappingURL=base.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.cts","names":["ExpressionNode","Program","ExpressionStatement","CallExpression","StringLiteral","NumericLiteral","BooleanLiteral","Identifier","ObjectExpression","ArrayExpression","PropertyAssignment","MemberExpression","ParseFunction","NodeHandler","Promise","ASTParser"],"sources":["../../../src/output_parsers/expression_type_handlers/base.d.ts"],"sourcesContent":["import type { ExpressionNode, Program, ExpressionStatement, CallExpression, StringLiteral, NumericLiteral, BooleanLiteral, Identifier, ObjectExpression, ArrayExpression, PropertyAssignment, MemberExpression, ParseFunction } from \"../../types/expression-parser.js\";\n/**\n * Abstract class for handling nodes in an expression language. Subclasses\n * must implement the `accepts` and `handle` methods.\n */\nexport declare abstract class NodeHandler {\n protected parentHandler?: NodeHandler | undefined;\n constructor(parentHandler?: NodeHandler | undefined);\n /**\n * Determines whether the given node is acceptable.\n * @param node The node to be checked.\n * @returns A Promise that resolves to either the node itself or a boolean indicating whether the node is acceptable.\n */\n abstract accepts(node: ExpressionNode): Promise<ExpressionNode | boolean>;\n /**\n * Handles the given node. The specifics of how the node is handled are\n * determined by the subclass implementation.\n * @param node The node to be handled.\n * @returns A Promise that resolves to the result of handling the node.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n abstract handle(node: ExpressionNode): Promise<any>;\n}\n/**\n * Utility class for parsing Abstract Syntax Trees (ASTs). Contains\n * methods for identifying the type of a given node and a method for\n * importing and generating a parser using the Peggy library.\n */\nexport declare class ASTParser {\n static astParseInstance: ParseFunction;\n /**\n * Imports and generates a parser using the Peggy library.\n * @returns A Promise that resolves to the parser instance.\n */\n static importASTParser(): Promise<ParseFunction>;\n /**\n * Checks if the given node is a Program node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a Program node.\n */\n static isProgram(node: ExpressionNode): node is Program;\n /**\n * Checks if the given node is an ExpressionStatement node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is an ExpressionStatement node.\n */\n static isExpressionStatement(node: ExpressionNode): node is ExpressionStatement;\n /**\n * Checks if the given node is a CallExpression node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a CallExpression node.\n */\n static isCallExpression(node: ExpressionNode): node is CallExpression;\n /**\n * Checks if the given node is a StringLiteral node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a StringLiteral node.\n */\n static isStringLiteral(node: ExpressionNode): node is StringLiteral;\n /**\n * Checks if the given node is a NumericLiteral node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a NumericLiteral node.\n */\n static isNumericLiteral(node: ExpressionNode): node is NumericLiteral;\n /**\n * Checks if the given node is a BooleanLiteral node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a BooleanLiteral node.\n */\n static isBooleanLiteral(node: ExpressionNode): node is BooleanLiteral;\n /**\n * Checks if the given node is an Identifier node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is an Identifier node.\n */\n static isIdentifier(node: ExpressionNode): node is Identifier;\n /**\n * Checks if the given node is an ObjectExpression node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is an ObjectExpression node.\n */\n static isObjectExpression(node: ExpressionNode): node is ObjectExpression;\n /**\n * Checks if the given node is an ArrayExpression node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is an ArrayExpression node.\n */\n static isArrayExpression(node: ExpressionNode): node is ArrayExpression;\n /**\n * Checks if the given node is a PropertyAssignment node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a PropertyAssignment node.\n */\n static isPropertyAssignment(node: ExpressionNode): node is PropertyAssignment;\n /**\n * Checks if the given node is a MemberExpression node.\n * @param node The node to be checked.\n * @returns A boolean indicating whether the node is a MemberExpression node.\n */\n static isMemberExpression(node: ExpressionNode): node is MemberExpression;\n}\n"],"mappings":";;;;;;AAKA;;AAC8Ba,uBADAA,WAAAA,CACAA;EAAW,UACTA,aAAAA,CAAAA,EADFA,WACEA,GAAAA,SAAAA;EAAW,WAMhBb,CAAAA,aAAAA,CAAAA,EANKa,WAMLb,GAAAA,SAAAA;EAAc;;;;AAQS;EAO7Be,SAAAA,OAAS,CAAA,IAAA,EAfHf,cAeG,CAAA,EAfcc,OAed,CAfsBd,cAetB,GAAA,OAAA,CAAA;EAAA;;;;;;EAY6B;EAMN,SAAWE,MAAAA,CAAAA,IAAAA,EAzBtCF,cAyBsCE,CAAAA,EAzBrBY,OAyBqBZ,CAAAA,GAAAA,CAAAA;;;;;;;AAwB9BF,cA1Cbe,SAAAA,CA0Caf;EAAc,OAAWM,gBAAAA,EAzC9BM,aAyC8BN;EAAc;;;;EAYI,OAM1CN,eAAAA,CAAAA,CAAAA,EAtDLc,OAsDKd,CAtDGY,aAsDHZ,CAAAA;EAAc;;;;;EAY4B,OAAA,SAAA,CAAA,IAAA,EA5DlDA,cA4DkD,CAAA,EAAA,IAAA,IA5DzBC,OA4DyB;;;;;;qCAtDtCD,yBAAyBE;;;;;;gCAM9BF,yBAAyBG;;;;;;+BAM1BH,yBAAyBI;;;;;;gCAMxBJ,yBAAyBK;;;;;;gCAMzBL,yBAAyBM;;;;;;4BAM7BN,yBAAyBO;;;;;;kCAMnBP,yBAAyBQ;;;;;;iCAM1BR,yBAAyBS;;;;;;oCAMtBT,yBAAyBU;;;;;;kCAM3BV,yBAAyBW"}