File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ function extractToken(chunk: AIMessageChunk): string | undefined {
191
191
* ## [Runtime args](/interfaces/langchain_anthropic.ChatAnthropicCallOptions.html)
192
192
*
193
193
* Runtime args can be passed as the second argument to any of the base runnable methods `.invoke`. `.stream`, `.batch`, etc.
194
- * They can also be passed via the `.bind`, or the second arg in the `.bindTools` method , like shown in the example below:
194
+ * They can also be passed via `.bind`, or the second arg in `.bindTools`, like shown in the examples below:
195
195
*
196
196
* ```typescript
197
197
* // When calling `.bind`, call options should be passed via the first argument
@@ -204,7 +204,7 @@ function extractToken(chunk: AIMessageChunk): string | undefined {
204
204
* const llmWithTools = llm.bindTools(
205
205
* [...],
206
206
* {
207
- * stop: ["stop on this token!"] ,
207
+ * tool_choice: "auto" ,
208
208
* }
209
209
* );
210
210
* ```
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import {
31
31
* ## [Runtime args](/interfaces/langchain_openai.ChatOpenAICallOptions.html)
32
32
*
33
33
* Runtime args can be passed as the second argument to any of the base runnable methods `.invoke`. `.stream`, `.batch`, etc.
34
- * They can also be passed via the `.bind`, or the second arg in the `.bindTools` method , like shown in the example below:
34
+ * They can also be passed via `.bind`, or the second arg in `.bindTools`, like shown in the examples below:
35
35
*
36
36
* ```typescript
37
37
* // When calling `.bind`, call options should be passed via the first argument
@@ -44,7 +44,7 @@ import {
44
44
* const llmWithTools = llm.bindTools(
45
45
* [...],
46
46
* {
47
- * stop: ["stop on this token!"] ,
47
+ * tool_choice: "auto" ,
48
48
* }
49
49
* );
50
50
* ```
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ export interface ChatOpenAIFields
382
382
* ## [Runtime args](/interfaces/langchain_openai.ChatOpenAICallOptions.html)
383
383
*
384
384
* Runtime args can be passed as the second argument to any of the base runnable methods `.invoke`. `.stream`, `.batch`, etc.
385
- * They can also be passed via the `.bind`, or the second arg in the `.bindTools` method , like shown in the example below:
385
+ * They can also be passed via `.bind`, or the second arg in `.bindTools`, like shown in the examples below:
386
386
*
387
387
* ```typescript
388
388
* // When calling `.bind`, call options should be passed via the first argument
@@ -395,7 +395,7 @@ export interface ChatOpenAIFields
395
395
* const llmWithTools = llm.bindTools(
396
396
* [...],
397
397
* {
398
- * stop: ["stop on this token!"] ,
398
+ * tool_choice: "auto" ,
399
399
* }
400
400
* );
401
401
* ```
You can’t perform that action at this time.
0 commit comments