@langchain/core 0.3.16 → 0.3.17

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.
package/README.md CHANGED
@@ -83,7 +83,7 @@ Streaming (and streaming of intermediate steps) is needed to show the user that
83
83
  Async interfaces are nice when moving into production.
84
84
  Rather than having to write multiple implementations for all of those, LCEL allows you to write a runnable once and invoke it in many different ways.
85
85
 
86
- For more check out the [LCEL docs](https://js.langchain.com/docs/concepts#langchain-expression-language).
86
+ For more check out the [LCEL docs](https://js.langchain.com/docs/concepts/lcel).
87
87
 
88
88
  ![LangChain Stack](../docs/core_docs/static/svg/langchain_stack_062024.svg)
89
89
 
@@ -8,7 +8,7 @@ import type { RunnableConfig } from "../runnables/config.js";
8
8
  import type { BaseCache } from "../caches/base.js";
9
9
  import { StructuredToolInterface, StructuredToolParams } from "../tools/index.js";
10
10
  import { Runnable, RunnableToolLike } from "../runnables/base.js";
11
- type ToolChoice = string | Record<string, any> | "auto" | "any";
11
+ export type ToolChoice = string | Record<string, any> | "auto" | "any";
12
12
  /**
13
13
  * Represents a serialized chat model.
14
14
  */
@@ -184,4 +184,3 @@ export declare abstract class SimpleChatModel<CallOptions extends BaseChatModelC
184
184
  abstract _call(messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMRun): Promise<string>;
185
185
  _generate(messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMRun): Promise<ChatResult>;
186
186
  }
187
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/core",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "description": "Core LangChain.js abstractions and schemas",
5
5
  "type": "module",
6
6
  "engines": {