@langchain/classic 1.0.27 → 1.0.28

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 (298) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/agents/agent.cjs.map +1 -1
  3. package/dist/agents/agent.js.map +1 -1
  4. package/dist/agents/executor.cjs.map +1 -1
  5. package/dist/agents/executor.js.map +1 -1
  6. package/dist/agents/openai_functions/index.cjs.map +1 -1
  7. package/dist/agents/openai_functions/index.d.cts.map +1 -1
  8. package/dist/agents/openai_functions/index.d.ts.map +1 -1
  9. package/dist/agents/openai_functions/index.js.map +1 -1
  10. package/dist/agents/openai_tools/index.cjs.map +1 -1
  11. package/dist/agents/openai_tools/index.d.cts +2 -2
  12. package/dist/agents/openai_tools/index.d.cts.map +1 -1
  13. package/dist/agents/openai_tools/index.d.ts +2 -2
  14. package/dist/agents/openai_tools/index.d.ts.map +1 -1
  15. package/dist/agents/openai_tools/index.js.map +1 -1
  16. package/dist/agents/react/index.d.cts +2 -2
  17. package/dist/agents/react/index.d.cts.map +1 -1
  18. package/dist/agents/react/index.d.ts +2 -2
  19. package/dist/agents/react/index.d.ts.map +1 -1
  20. package/dist/agents/structured_chat/index.d.cts +2 -2
  21. package/dist/agents/structured_chat/index.d.cts.map +1 -1
  22. package/dist/agents/structured_chat/index.d.ts +2 -2
  23. package/dist/agents/structured_chat/index.d.ts.map +1 -1
  24. package/dist/agents/tool_calling/index.d.cts +2 -2
  25. package/dist/agents/tool_calling/index.d.cts.map +1 -1
  26. package/dist/agents/tool_calling/index.d.ts +2 -2
  27. package/dist/agents/tool_calling/index.d.ts.map +1 -1
  28. package/dist/agents/tool_calling/output_parser.cjs.map +1 -1
  29. package/dist/agents/tool_calling/output_parser.d.cts.map +1 -1
  30. package/dist/agents/tool_calling/output_parser.js.map +1 -1
  31. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.cts +2 -2
  32. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.cts.map +1 -1
  33. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.ts +2 -2
  34. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.ts.map +1 -1
  35. package/dist/agents/xml/index.d.cts.map +1 -1
  36. package/dist/agents/xml/index.d.ts.map +1 -1
  37. package/dist/cache/file_system.cjs.map +1 -1
  38. package/dist/cache/file_system.js.map +1 -1
  39. package/dist/chains/analyze_documents_chain.cjs.map +1 -1
  40. package/dist/chains/analyze_documents_chain.js.map +1 -1
  41. package/dist/chains/base.cjs.map +1 -1
  42. package/dist/chains/base.d.cts +2 -2
  43. package/dist/chains/base.d.cts.map +1 -1
  44. package/dist/chains/base.d.ts +2 -2
  45. package/dist/chains/base.d.ts.map +1 -1
  46. package/dist/chains/base.js.map +1 -1
  47. package/dist/chains/chat_vector_db_chain.cjs.map +1 -1
  48. package/dist/chains/chat_vector_db_chain.js.map +1 -1
  49. package/dist/chains/combine_docs_chain.d.cts +2 -2
  50. package/dist/chains/combine_docs_chain.d.cts.map +1 -1
  51. package/dist/chains/combine_docs_chain.d.ts +2 -2
  52. package/dist/chains/combine_docs_chain.d.ts.map +1 -1
  53. package/dist/chains/combine_documents/reduce.cjs.map +1 -1
  54. package/dist/chains/combine_documents/reduce.js.map +1 -1
  55. package/dist/chains/conversational_retrieval_chain.cjs.map +1 -1
  56. package/dist/chains/conversational_retrieval_chain.js.map +1 -1
  57. package/dist/chains/graph_qa/cypher.cjs.map +1 -1
  58. package/dist/chains/graph_qa/cypher.js.map +1 -1
  59. package/dist/chains/llm_chain.cjs.map +1 -1
  60. package/dist/chains/llm_chain.js.map +1 -1
  61. package/dist/chains/load.d.cts +1 -2
  62. package/dist/chains/load.d.cts.map +1 -1
  63. package/dist/chains/load.d.ts +1 -2
  64. package/dist/chains/load.d.ts.map +1 -1
  65. package/dist/chains/openai_functions/base.cjs.map +1 -1
  66. package/dist/chains/openai_functions/base.js.map +1 -1
  67. package/dist/chains/openai_functions/openapi.cjs.map +1 -1
  68. package/dist/chains/openai_functions/openapi.js.map +1 -1
  69. package/dist/chains/openai_moderation.cjs.map +1 -1
  70. package/dist/chains/openai_moderation.js.map +1 -1
  71. package/dist/chains/query_constructor/index.cjs.map +1 -1
  72. package/dist/chains/query_constructor/index.js.map +1 -1
  73. package/dist/chains/question_answering/load.d.cts +1 -2
  74. package/dist/chains/question_answering/load.d.cts.map +1 -1
  75. package/dist/chains/question_answering/load.d.ts +1 -2
  76. package/dist/chains/question_answering/load.d.ts.map +1 -1
  77. package/dist/chains/retrieval.cjs.map +1 -1
  78. package/dist/chains/retrieval.js.map +1 -1
  79. package/dist/chains/retrieval_qa.cjs.map +1 -1
  80. package/dist/chains/retrieval_qa.js.map +1 -1
  81. package/dist/chains/router/utils.cjs.map +1 -1
  82. package/dist/chains/router/utils.js.map +1 -1
  83. package/dist/chains/summarization/load.d.cts +1 -2
  84. package/dist/chains/summarization/load.d.cts.map +1 -1
  85. package/dist/chains/summarization/load.d.ts +1 -2
  86. package/dist/chains/summarization/load.d.ts.map +1 -1
  87. package/dist/chains/vector_db_qa.cjs.map +1 -1
  88. package/dist/chains/vector_db_qa.js.map +1 -1
  89. package/dist/chat_models/universal.cjs +8 -10
  90. package/dist/chat_models/universal.cjs.map +1 -1
  91. package/dist/chat_models/universal.d.cts +3 -5
  92. package/dist/chat_models/universal.d.cts.map +1 -1
  93. package/dist/chat_models/universal.d.ts +3 -5
  94. package/dist/chat_models/universal.d.ts.map +1 -1
  95. package/dist/chat_models/universal.js +8 -10
  96. package/dist/chat_models/universal.js.map +1 -1
  97. package/dist/document_loaders/fs/directory.d.cts.map +1 -1
  98. package/dist/document_loaders/fs/directory.d.ts.map +1 -1
  99. package/dist/document_loaders/fs/json.cjs.map +1 -1
  100. package/dist/document_loaders/fs/json.js.map +1 -1
  101. package/dist/document_transformers/openai_functions.d.cts.map +1 -1
  102. package/dist/evaluation/agents/index.d.cts +1 -0
  103. package/dist/evaluation/agents/trajectory.d.cts +2 -2
  104. package/dist/evaluation/agents/trajectory.d.cts.map +1 -1
  105. package/dist/evaluation/agents/trajectory.d.ts +2 -2
  106. package/dist/evaluation/agents/trajectory.d.ts.map +1 -1
  107. package/dist/evaluation/base.cjs.map +1 -1
  108. package/dist/evaluation/base.d.cts.map +1 -1
  109. package/dist/evaluation/base.js.map +1 -1
  110. package/dist/evaluation/comparison/index.d.cts +1 -0
  111. package/dist/evaluation/comparison/pairwise.cjs.map +1 -1
  112. package/dist/evaluation/comparison/pairwise.d.cts +3 -3
  113. package/dist/evaluation/comparison/pairwise.d.cts.map +1 -1
  114. package/dist/evaluation/comparison/pairwise.d.ts +3 -3
  115. package/dist/evaluation/comparison/pairwise.d.ts.map +1 -1
  116. package/dist/evaluation/comparison/pairwise.js.map +1 -1
  117. package/dist/evaluation/criteria/criteria.cjs.map +1 -1
  118. package/dist/evaluation/criteria/criteria.d.cts +3 -3
  119. package/dist/evaluation/criteria/criteria.d.cts.map +1 -1
  120. package/dist/evaluation/criteria/criteria.d.ts +3 -3
  121. package/dist/evaluation/criteria/criteria.d.ts.map +1 -1
  122. package/dist/evaluation/criteria/criteria.js.map +1 -1
  123. package/dist/evaluation/criteria/index.d.cts +1 -0
  124. package/dist/evaluation/embedding_distance/index.d.cts +1 -0
  125. package/dist/evaluation/loader.cjs.map +1 -1
  126. package/dist/evaluation/loader.d.cts.map +1 -1
  127. package/dist/evaluation/loader.js.map +1 -1
  128. package/dist/evaluation/qa/index.d.cts +1 -0
  129. package/dist/experimental/autogpt/prompt.d.cts +2 -2
  130. package/dist/experimental/autogpt/prompt.d.cts.map +1 -1
  131. package/dist/experimental/autogpt/prompt.d.ts +2 -2
  132. package/dist/experimental/autogpt/prompt.d.ts.map +1 -1
  133. package/dist/experimental/autogpt/prompt_generator.cjs.map +1 -1
  134. package/dist/experimental/autogpt/prompt_generator.js.map +1 -1
  135. package/dist/experimental/autogpt/schema.cjs.map +1 -1
  136. package/dist/experimental/autogpt/schema.js.map +1 -1
  137. package/dist/experimental/generative_agents/generative_agent_memory.cjs.map +1 -1
  138. package/dist/experimental/generative_agents/generative_agent_memory.js.map +1 -1
  139. package/dist/experimental/masking/parser.cjs.map +1 -1
  140. package/dist/experimental/masking/parser.js.map +1 -1
  141. package/dist/experimental/masking/regex_masking_transformer.cjs.map +1 -1
  142. package/dist/experimental/masking/regex_masking_transformer.js.map +1 -1
  143. package/dist/experimental/openai_assistant/index.cjs.map +1 -1
  144. package/dist/experimental/openai_assistant/index.d.cts +3 -3
  145. package/dist/experimental/openai_assistant/index.d.ts +3 -3
  146. package/dist/experimental/openai_assistant/index.js.map +1 -1
  147. package/dist/experimental/openai_files/index.d.cts +4 -4
  148. package/dist/experimental/openai_files/index.d.ts +4 -4
  149. package/dist/experimental/plan_and_execute/agent_executor.cjs.map +1 -1
  150. package/dist/experimental/plan_and_execute/agent_executor.js.map +1 -1
  151. package/dist/experimental/prompts/custom_format.cjs.map +1 -1
  152. package/dist/experimental/prompts/custom_format.js.map +1 -1
  153. package/dist/experimental/prompts/handlebars.cjs.map +1 -1
  154. package/dist/experimental/prompts/handlebars.d.cts +2 -2
  155. package/dist/experimental/prompts/handlebars.d.cts.map +1 -1
  156. package/dist/experimental/prompts/handlebars.d.ts +2 -2
  157. package/dist/experimental/prompts/handlebars.d.ts.map +1 -1
  158. package/dist/experimental/prompts/handlebars.js.map +1 -1
  159. package/dist/hub/base.cjs.map +1 -1
  160. package/dist/hub/base.d.cts +0 -1
  161. package/dist/hub/base.d.cts.map +1 -1
  162. package/dist/hub/base.d.ts +0 -1
  163. package/dist/hub/base.d.ts.map +1 -1
  164. package/dist/hub/base.js.map +1 -1
  165. package/dist/hub/index.cjs.map +1 -1
  166. package/dist/hub/index.js.map +1 -1
  167. package/dist/load/index.cjs.map +1 -1
  168. package/dist/load/index.js.map +1 -1
  169. package/dist/output_parsers/combining.cjs.map +1 -1
  170. package/dist/output_parsers/combining.js.map +1 -1
  171. package/dist/output_parsers/expression_type_handlers/base.cjs.map +1 -1
  172. package/dist/output_parsers/expression_type_handlers/base.d.cts.map +1 -1
  173. package/dist/output_parsers/expression_type_handlers/base.d.ts.map +1 -1
  174. package/dist/output_parsers/expression_type_handlers/base.js.map +1 -1
  175. package/dist/output_parsers/fix.cjs.map +1 -1
  176. package/dist/output_parsers/fix.js.map +1 -1
  177. package/dist/output_parsers/openai_functions.d.cts.map +1 -1
  178. package/dist/output_parsers/openai_functions.d.ts.map +1 -1
  179. package/dist/output_parsers/openai_tools.cjs.map +1 -1
  180. package/dist/output_parsers/openai_tools.js.map +1 -1
  181. package/dist/output_parsers/regex.cjs.map +1 -1
  182. package/dist/output_parsers/regex.js.map +1 -1
  183. package/dist/output_parsers/structured.d.cts +2 -2
  184. package/dist/output_parsers/structured.d.cts.map +1 -1
  185. package/dist/output_parsers/structured.d.ts +2 -2
  186. package/dist/output_parsers/structured.d.ts.map +1 -1
  187. package/dist/retrievers/document_compressors/index.cjs.map +1 -1
  188. package/dist/retrievers/document_compressors/index.js.map +1 -1
  189. package/dist/retrievers/matryoshka_retriever.cjs.map +1 -1
  190. package/dist/retrievers/matryoshka_retriever.d.cts +1 -1
  191. package/dist/retrievers/matryoshka_retriever.d.cts.map +1 -1
  192. package/dist/retrievers/matryoshka_retriever.d.ts +1 -1
  193. package/dist/retrievers/matryoshka_retriever.d.ts.map +1 -1
  194. package/dist/retrievers/matryoshka_retriever.js.map +1 -1
  195. package/dist/retrievers/multi_query.cjs.map +1 -1
  196. package/dist/retrievers/multi_query.js.map +1 -1
  197. package/dist/retrievers/parent_document.cjs.map +1 -1
  198. package/dist/retrievers/parent_document.js.map +1 -1
  199. package/dist/schema/prompt_template.d.cts +1 -2
  200. package/dist/schema/prompt_template.d.cts.map +1 -1
  201. package/dist/schema/prompt_template.d.ts +1 -2
  202. package/dist/schema/prompt_template.d.ts.map +1 -1
  203. package/dist/smith/config.cjs.map +1 -1
  204. package/dist/smith/config.d.cts +1 -1
  205. package/dist/smith/config.d.ts +1 -1
  206. package/dist/smith/config.d.ts.map +1 -1
  207. package/dist/smith/config.js.map +1 -1
  208. package/dist/smith/runner_utils.cjs.map +1 -1
  209. package/dist/smith/runner_utils.d.cts +1 -1
  210. package/dist/smith/runner_utils.d.cts.map +1 -1
  211. package/dist/smith/runner_utils.d.ts +1 -1
  212. package/dist/smith/runner_utils.d.ts.map +1 -1
  213. package/dist/smith/runner_utils.js.map +1 -1
  214. package/dist/sql_db.d.cts +2 -2
  215. package/dist/sql_db.d.cts.map +1 -1
  216. package/dist/sql_db.d.ts +2 -2
  217. package/dist/sql_db.d.ts.map +1 -1
  218. package/dist/storage/encoder_backed.cjs.map +1 -1
  219. package/dist/storage/encoder_backed.js.map +1 -1
  220. package/dist/storage/file_system.cjs.map +1 -1
  221. package/dist/storage/file_system.js.map +1 -1
  222. package/dist/stores/doc/in_memory.cjs.map +1 -1
  223. package/dist/stores/doc/in_memory.js.map +1 -1
  224. package/dist/tools/json.cjs.map +1 -1
  225. package/dist/tools/json.js.map +1 -1
  226. package/dist/tools/webbrowser.cjs.map +1 -1
  227. package/dist/tools/webbrowser.d.cts.map +1 -1
  228. package/dist/tools/webbrowser.d.ts.map +1 -1
  229. package/dist/tools/webbrowser.js.map +1 -1
  230. package/dist/util/document.d.cts +1 -1
  231. package/dist/util/document.d.cts.map +1 -1
  232. package/dist/util/document.d.ts +1 -1
  233. package/dist/util/document.d.ts.map +1 -1
  234. package/dist/util/is-network-error/index.cjs.map +1 -1
  235. package/dist/util/is-network-error/index.js.map +1 -1
  236. package/dist/util/load.cjs.map +1 -1
  237. package/dist/util/load.js.map +1 -1
  238. package/dist/util/openapi.cjs.map +1 -1
  239. package/dist/util/openapi.d.cts +32 -32
  240. package/dist/util/openapi.d.cts.map +1 -1
  241. package/dist/util/openapi.d.ts +32 -32
  242. package/dist/util/openapi.d.ts.map +1 -1
  243. package/dist/util/openapi.js.map +1 -1
  244. package/dist/util/p-retry/index.cjs.map +1 -1
  245. package/dist/util/p-retry/index.js.map +1 -1
  246. package/dist/vectorstores/memory.cjs.map +1 -1
  247. package/dist/vectorstores/memory.js.map +1 -1
  248. package/package.json +25 -48
  249. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/client.d.cts +0 -1494
  250. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/client.d.cts.map +0 -1
  251. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/client.d.ts +0 -1494
  252. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/client.d.ts.map +0 -1
  253. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/_runner.d.cts +0 -1
  254. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/_runner.d.ts +0 -1
  255. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/evaluate_comparative.d.cts +0 -1
  256. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/evaluate_comparative.d.ts +0 -1
  257. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/evaluator.d.cts +0 -66
  258. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/evaluator.d.cts.map +0 -1
  259. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/evaluator.d.ts +0 -66
  260. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/evaluator.d.ts.map +0 -1
  261. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/index.d.cts +0 -1
  262. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/index.d.ts +0 -1
  263. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/string_evaluator.d.cts +0 -1
  264. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/evaluation/string_evaluator.d.ts +0 -1
  265. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/index.d.cts +0 -4
  266. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/index.d.ts +0 -4
  267. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/run_trees.d.cts +0 -145
  268. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/run_trees.d.cts.map +0 -1
  269. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/run_trees.d.ts +0 -145
  270. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/run_trees.d.ts.map +0 -1
  271. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/schemas.d.cts +0 -437
  272. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/schemas.d.cts.map +0 -1
  273. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/schemas.d.ts +0 -437
  274. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/schemas.d.ts.map +0 -1
  275. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/singletons/traceable.d.cts +0 -7
  276. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/singletons/traceable.d.cts.map +0 -1
  277. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/singletons/traceable.d.ts +0 -7
  278. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/singletons/traceable.d.ts.map +0 -1
  279. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/singletons/types.d.cts +0 -38
  280. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/singletons/types.d.cts.map +0 -1
  281. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/singletons/types.d.ts +0 -38
  282. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/singletons/types.d.ts.map +0 -1
  283. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/async_caller.d.cts +0 -25
  284. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/async_caller.d.cts.map +0 -1
  285. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/async_caller.d.ts +0 -25
  286. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/async_caller.d.ts.map +0 -1
  287. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/p-queue.d.cts +0 -1
  288. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/p-queue.d.ts +0 -1
  289. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/prompt_cache/index.d.cts +0 -129
  290. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/prompt_cache/index.d.cts.map +0 -1
  291. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/prompt_cache/index.d.ts +0 -129
  292. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/prompt_cache/index.d.ts.map +0 -1
  293. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/evaluation.d.cts +0 -1
  294. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/evaluation.d.ts +0 -1
  295. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/singletons/traceable.d.cts +0 -2
  296. package/dist/node_modules/.pnpm/langsmith@0.5.9_@opentelemetry_api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/singletons/traceable.d.ts +0 -2
  297. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.d.cts +0 -1
  298. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.d.ts +0 -1
@@ -1,129 +0,0 @@
1
- import { PromptCommit } from "../../schemas.cjs";
2
-
3
- //#region ../../node_modules/.pnpm/langsmith@0.5.9_@opentelemetry+api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/prompt_cache/index.d.ts
4
- /**
5
- * Cache performance metrics.
6
- */
7
- interface CacheMetrics {
8
- hits: number;
9
- misses: number;
10
- refreshes: number;
11
- refreshErrors: number;
12
- }
13
- /**
14
- * Configuration options for Cache.
15
- */
16
- interface CacheConfig {
17
- /** Maximum entries in cache (LRU eviction when exceeded). Default: 100 */
18
- maxSize?: number;
19
- /** Time in seconds before entry is stale. null = infinite TTL. Default: 3600 */
20
- ttlSeconds?: number | null;
21
- /** How often to check for stale entries in seconds. Default: 60 */
22
- refreshIntervalSeconds?: number;
23
- }
24
- /**
25
- * LRU cache with background refresh for prompts.
26
- *
27
- * Features:
28
- * - In-memory LRU cache with configurable max size
29
- * - Background refresh using setInterval
30
- * - Stale-while-revalidate: returns stale data while refresh happens
31
- * - Uses the most recently used client for a key for refreshes
32
- * - JSON dump/load for offline use
33
- *
34
- * @example
35
- * ```typescript
36
- * const cache = new Cache({
37
- * maxSize: 100,
38
- * ttlSeconds: 3600,
39
- * });
40
- *
41
- * // Use the cache
42
- * cache.set("my-prompt:latest", promptCommit);
43
- * const cached = cache.get("my-prompt:latest");
44
- *
45
- * // Cleanup
46
- * cache.stop();
47
- * ```
48
- */
49
- declare class PromptCache {
50
- private cache;
51
- private maxSize;
52
- private ttlSeconds;
53
- private refreshIntervalSeconds;
54
- private refreshTimer?;
55
- private _metrics;
56
- constructor(config?: CacheConfig);
57
- /**
58
- * Get cache performance metrics.
59
- */
60
- get metrics(): Readonly<CacheMetrics>;
61
- /**
62
- * Get total cache requests (hits + misses).
63
- */
64
- get totalRequests(): number;
65
- /**
66
- * Get cache hit rate (0.0 to 1.0).
67
- */
68
- get hitRate(): number;
69
- /**
70
- * Reset all metrics to zero.
71
- */
72
- resetMetrics(): void;
73
- /**
74
- * Get a value from cache.
75
- *
76
- * Returns the cached value or undefined if not found.
77
- * Stale entries are still returned (background refresh handles updates).
78
- */
79
- get(key: string, refreshFunc: () => Promise<PromptCommit>): PromptCommit | undefined;
80
- /**
81
- * Set a value in the cache.
82
- */
83
- set(key: string, value: PromptCommit, refreshFunc: () => Promise<PromptCommit>): void;
84
- /**
85
- * Remove a specific entry from cache.
86
- */
87
- invalidate(key: string): void;
88
- /**
89
- * Clear all cache entries.
90
- */
91
- clear(): void;
92
- /**
93
- * Get the number of entries in the cache.
94
- */
95
- get size(): number;
96
- /**
97
- * Stop background refresh.
98
- * Should be called when the client is being cleaned up.
99
- */
100
- stop(): void;
101
- /**
102
- * Dump cache contents to a JSON file for offline use.
103
- */
104
- dump(filePath: string): void;
105
- /**
106
- * Load cache contents from a JSON file.
107
- *
108
- * Loaded entries get a fresh TTL starting from load time.
109
- *
110
- * @returns Number of entries loaded.
111
- */
112
- load(filePath: string): number;
113
- /**
114
- * Start the background refresh loop.
115
- */
116
- startRefreshLoop(): void;
117
- /**
118
- * Get list of stale cache keys.
119
- */
120
- private getStaleEntries;
121
- /**
122
- * Check for stale entries and refresh them.
123
- */
124
- private refreshStaleEntries;
125
- configure(config: CacheConfig): void;
126
- }
127
- //#endregion
128
- export { CacheConfig, CacheMetrics, PromptCache };
129
- //# sourceMappingURL=index.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.cts","names":["PromptCommit","CacheEntry","T","Promise","value","createdAt","refreshFunc","CacheMetrics","hits","misses","refreshes","refreshErrors","CacheConfig","maxSize","ttlSeconds","refreshIntervalSeconds","PromptCache","Readonly","cache","refreshTimer","_metrics","constructor","config","metrics","totalRequests","hitRate","resetMetrics","get","key","set","invalidate","clear","size","stop","dump","filePath","load","startRefreshLoop","getStaleEntries","refreshStaleEntries","configure","promptCacheSingleton","configureGlobalPromptCache","Cache"],"sources":["../../../../../../../../../../../node_modules/.pnpm/langsmith@0.5.9_@opentelemetry+api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/prompt_cache/index.d.ts"],"x_google_ignoreList":[0],"mappings":";;;;;;UAsBiBO,YAAAA;EACbC,IAAAA;EACAC,MAAAA;EACAC,SAAAA;EACAC,aAAAA;AAAAA;;;;UAKaC,WAAAA;EAmEoDZ;EAjEjEa,OAAAA;EA2GkBD;EAzGlBE,UAAAA;EAyG6B;EAvG7BC,sBAAAA;AAAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BiBC,WAAAA;EAAAA,QACTE,KAAAA;EAAAA,QACAL,OAAAA;EAAAA,QACAC,UAAAA;EAAAA,QACAC,sBAAAA;EAAAA,QACAI,YAAAA;EAAAA,QACAC,QAAAA;EACRC,WAAAA,CAAYC,MAAAA,GAASV,WAAAA;EAwDrBwB;;;EAAAA,IApDIb,OAAAA,CAAAA,GAAWN,QAAAA,CAASV,YAAAA;EAgEhBgC;;;EAAAA,IA5DJf,aAAAA,CAAAA;EA6DyB;;;EAAA,IAzDzBC,OAAAA,CAAAA;;;;EAIJC,YAAAA,CAAAA;;;;;;;EAOAC,GAAAA,CAAIC,GAAAA,UAAatB,WAAAA,QAAmBH,OAAAA,CAAQH,YAAAA,IAAgBA,YAAAA;;;;EAI5D6B,GAAAA,CAAID,GAAAA,UAAaxB,KAAAA,EAAOJ,YAAAA,EAAcM,WAAAA,QAAmBH,OAAAA,CAAQH,YAAAA;;;;EAIjE8B,UAAAA,CAAWF,GAAAA;;;;EAIXG,KAAAA,CAAAA;;;;MAIIC,IAAAA,CAAAA;;;;;EAKJC,IAAAA,CAAAA;;;;EAIAC,IAAAA,CAAKC,QAAAA;;;;;;;;EAQLC,IAAAA,CAAKD,QAAAA;;;;EAILE,gBAAAA,CAAAA;;;;UAIQC,eAAAA;;;;UAIAC,mBAAAA;EACRC,SAAAA,CAAUlB,MAAAA,EAAQV,WAAAA;AAAAA"}
@@ -1,129 +0,0 @@
1
- import { PromptCommit } from "../../schemas.js";
2
-
3
- //#region ../../node_modules/.pnpm/langsmith@0.5.9_@opentelemetry+api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/prompt_cache/index.d.ts
4
- /**
5
- * Cache performance metrics.
6
- */
7
- interface CacheMetrics {
8
- hits: number;
9
- misses: number;
10
- refreshes: number;
11
- refreshErrors: number;
12
- }
13
- /**
14
- * Configuration options for Cache.
15
- */
16
- interface CacheConfig {
17
- /** Maximum entries in cache (LRU eviction when exceeded). Default: 100 */
18
- maxSize?: number;
19
- /** Time in seconds before entry is stale. null = infinite TTL. Default: 3600 */
20
- ttlSeconds?: number | null;
21
- /** How often to check for stale entries in seconds. Default: 60 */
22
- refreshIntervalSeconds?: number;
23
- }
24
- /**
25
- * LRU cache with background refresh for prompts.
26
- *
27
- * Features:
28
- * - In-memory LRU cache with configurable max size
29
- * - Background refresh using setInterval
30
- * - Stale-while-revalidate: returns stale data while refresh happens
31
- * - Uses the most recently used client for a key for refreshes
32
- * - JSON dump/load for offline use
33
- *
34
- * @example
35
- * ```typescript
36
- * const cache = new Cache({
37
- * maxSize: 100,
38
- * ttlSeconds: 3600,
39
- * });
40
- *
41
- * // Use the cache
42
- * cache.set("my-prompt:latest", promptCommit);
43
- * const cached = cache.get("my-prompt:latest");
44
- *
45
- * // Cleanup
46
- * cache.stop();
47
- * ```
48
- */
49
- declare class PromptCache {
50
- private cache;
51
- private maxSize;
52
- private ttlSeconds;
53
- private refreshIntervalSeconds;
54
- private refreshTimer?;
55
- private _metrics;
56
- constructor(config?: CacheConfig);
57
- /**
58
- * Get cache performance metrics.
59
- */
60
- get metrics(): Readonly<CacheMetrics>;
61
- /**
62
- * Get total cache requests (hits + misses).
63
- */
64
- get totalRequests(): number;
65
- /**
66
- * Get cache hit rate (0.0 to 1.0).
67
- */
68
- get hitRate(): number;
69
- /**
70
- * Reset all metrics to zero.
71
- */
72
- resetMetrics(): void;
73
- /**
74
- * Get a value from cache.
75
- *
76
- * Returns the cached value or undefined if not found.
77
- * Stale entries are still returned (background refresh handles updates).
78
- */
79
- get(key: string, refreshFunc: () => Promise<PromptCommit>): PromptCommit | undefined;
80
- /**
81
- * Set a value in the cache.
82
- */
83
- set(key: string, value: PromptCommit, refreshFunc: () => Promise<PromptCommit>): void;
84
- /**
85
- * Remove a specific entry from cache.
86
- */
87
- invalidate(key: string): void;
88
- /**
89
- * Clear all cache entries.
90
- */
91
- clear(): void;
92
- /**
93
- * Get the number of entries in the cache.
94
- */
95
- get size(): number;
96
- /**
97
- * Stop background refresh.
98
- * Should be called when the client is being cleaned up.
99
- */
100
- stop(): void;
101
- /**
102
- * Dump cache contents to a JSON file for offline use.
103
- */
104
- dump(filePath: string): void;
105
- /**
106
- * Load cache contents from a JSON file.
107
- *
108
- * Loaded entries get a fresh TTL starting from load time.
109
- *
110
- * @returns Number of entries loaded.
111
- */
112
- load(filePath: string): number;
113
- /**
114
- * Start the background refresh loop.
115
- */
116
- startRefreshLoop(): void;
117
- /**
118
- * Get list of stale cache keys.
119
- */
120
- private getStaleEntries;
121
- /**
122
- * Check for stale entries and refresh them.
123
- */
124
- private refreshStaleEntries;
125
- configure(config: CacheConfig): void;
126
- }
127
- //#endregion
128
- export { CacheConfig, CacheMetrics, PromptCache };
129
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","names":["PromptCommit","CacheEntry","T","Promise","value","createdAt","refreshFunc","CacheMetrics","hits","misses","refreshes","refreshErrors","CacheConfig","maxSize","ttlSeconds","refreshIntervalSeconds","PromptCache","Readonly","cache","refreshTimer","_metrics","constructor","config","metrics","totalRequests","hitRate","resetMetrics","get","key","set","invalidate","clear","size","stop","dump","filePath","load","startRefreshLoop","getStaleEntries","refreshStaleEntries","configure","promptCacheSingleton","configureGlobalPromptCache","Cache"],"sources":["../../../../../../../../../../../node_modules/.pnpm/langsmith@0.5.9_@opentelemetry+api@1.9.0_openai@6.22.0_ws@8.20.0_bufferutil@4.1.0__zod@4.3.6_/node_modules/langsmith/dist/utils/prompt_cache/index.d.ts"],"x_google_ignoreList":[0],"mappings":";;;;;;UAsBiBO,YAAAA;EACbC,IAAAA;EACAC,MAAAA;EACAC,SAAAA;EACAC,aAAAA;AAAAA;;;;UAKaC,WAAAA;EAmEoDZ;EAjEjEa,OAAAA;EA2GkBD;EAzGlBE,UAAAA;EAyG6B;EAvG7BC,sBAAAA;AAAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BiBC,WAAAA;EAAAA,QACTE,KAAAA;EAAAA,QACAL,OAAAA;EAAAA,QACAC,UAAAA;EAAAA,QACAC,sBAAAA;EAAAA,QACAI,YAAAA;EAAAA,QACAC,QAAAA;EACRC,WAAAA,CAAYC,MAAAA,GAASV,WAAAA;EAwDrBwB;;;EAAAA,IApDIb,OAAAA,CAAAA,GAAWN,QAAAA,CAASV,YAAAA;EAgEhBgC;;;EAAAA,IA5DJf,aAAAA,CAAAA;EA6DyB;;;EAAA,IAzDzBC,OAAAA,CAAAA;;;;EAIJC,YAAAA,CAAAA;;;;;;;EAOAC,GAAAA,CAAIC,GAAAA,UAAatB,WAAAA,QAAmBH,OAAAA,CAAQH,YAAAA,IAAgBA,YAAAA;;;;EAI5D6B,GAAAA,CAAID,GAAAA,UAAaxB,KAAAA,EAAOJ,YAAAA,EAAcM,WAAAA,QAAmBH,OAAAA,CAAQH,YAAAA;;;;EAIjE8B,UAAAA,CAAWF,GAAAA;;;;EAIXG,KAAAA,CAAAA;;;;MAIIC,IAAAA,CAAAA;;;;;EAKJC,IAAAA,CAAAA;;;;EAIAC,IAAAA,CAAKC,QAAAA;;;;;;;;EAQLC,IAAAA,CAAKD,QAAAA;;;;EAILE,gBAAAA,CAAAA;;;;UAIQC,eAAAA;;;;UAIAC,mBAAAA;EACRC,SAAAA,CAAUlB,MAAAA,EAAQV,WAAAA;AAAAA"}
@@ -1 +0,0 @@
1
- import { EvaluationResult, RunEvaluator } from "./dist/evaluation/evaluator.cjs";
@@ -1 +0,0 @@
1
- import { EvaluationResult, RunEvaluator } from "./dist/evaluation/evaluator.js";
@@ -1,2 +0,0 @@
1
- import { TraceableFunction } from "../dist/singletons/types.cjs";
2
- import { ROOT } from "../dist/singletons/traceable.cjs";
@@ -1,2 +0,0 @@
1
- import { TraceableFunction } from "../dist/singletons/types.js";
2
- import { ROOT } from "../dist/singletons/traceable.js";