@langchain/google-vertexai-web 0.2.9 → 0.2.10
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/dist/chat_models.cjs +6 -6
- package/dist/chat_models.d.ts +6 -6
- package/dist/chat_models.js +6 -6
- package/package.json +4 -4
package/dist/chat_models.cjs
CHANGED
@@ -19,14 +19,14 @@ const google_webauth_1 = require("@langchain/google-webauth");
|
|
19
19
|
* ## [Runtime args](https://api.js.langchain.com/interfaces/langchain_google_common_types.GoogleAIBaseLanguageModelCallOptions.html)
|
20
20
|
*
|
21
21
|
* Runtime args can be passed as the second argument to any of the base runnable methods `.invoke`. `.stream`, `.batch`, etc.
|
22
|
-
* They can also be passed via `.
|
22
|
+
* They can also be passed via `.withConfig`, or the second arg in `.bindTools`, like shown in the examples below:
|
23
23
|
*
|
24
24
|
* ```typescript
|
25
|
-
* //
|
26
|
-
* const llmWithArgsBound = llm.
|
27
|
-
*
|
28
|
-
*
|
29
|
-
*
|
25
|
+
* // If binding tools along with other options, chain `.bindTools` and `.withConfig`
|
26
|
+
* const llmWithArgsBound = llm.bindTools([...]) // tools array
|
27
|
+
* .withConfig({
|
28
|
+
* stop: ["\n"], // other call options
|
29
|
+
* });
|
30
30
|
*
|
31
31
|
* // When calling `.bindTools`, call options should be passed via the second argument
|
32
32
|
* const llmWithTools = llm.bindTools(
|
package/dist/chat_models.d.ts
CHANGED
@@ -21,14 +21,14 @@ export interface ChatVertexAIInput extends ChatGoogleInput {
|
|
21
21
|
* ## [Runtime args](https://api.js.langchain.com/interfaces/langchain_google_common_types.GoogleAIBaseLanguageModelCallOptions.html)
|
22
22
|
*
|
23
23
|
* Runtime args can be passed as the second argument to any of the base runnable methods `.invoke`. `.stream`, `.batch`, etc.
|
24
|
-
* They can also be passed via `.
|
24
|
+
* They can also be passed via `.withConfig`, or the second arg in `.bindTools`, like shown in the examples below:
|
25
25
|
*
|
26
26
|
* ```typescript
|
27
|
-
* //
|
28
|
-
* const llmWithArgsBound = llm.
|
29
|
-
*
|
30
|
-
*
|
31
|
-
*
|
27
|
+
* // If binding tools along with other options, chain `.bindTools` and `.withConfig`
|
28
|
+
* const llmWithArgsBound = llm.bindTools([...]) // tools array
|
29
|
+
* .withConfig({
|
30
|
+
* stop: ["\n"], // other call options
|
31
|
+
* });
|
32
32
|
*
|
33
33
|
* // When calling `.bindTools`, call options should be passed via the second argument
|
34
34
|
* const llmWithTools = llm.bindTools(
|
package/dist/chat_models.js
CHANGED
@@ -16,14 +16,14 @@ import { ChatGoogle } from "@langchain/google-webauth";
|
|
16
16
|
* ## [Runtime args](https://api.js.langchain.com/interfaces/langchain_google_common_types.GoogleAIBaseLanguageModelCallOptions.html)
|
17
17
|
*
|
18
18
|
* Runtime args can be passed as the second argument to any of the base runnable methods `.invoke`. `.stream`, `.batch`, etc.
|
19
|
-
* They can also be passed via `.
|
19
|
+
* They can also be passed via `.withConfig`, or the second arg in `.bindTools`, like shown in the examples below:
|
20
20
|
*
|
21
21
|
* ```typescript
|
22
|
-
* //
|
23
|
-
* const llmWithArgsBound = llm.
|
24
|
-
*
|
25
|
-
*
|
26
|
-
*
|
22
|
+
* // If binding tools along with other options, chain `.bindTools` and `.withConfig`
|
23
|
+
* const llmWithArgsBound = llm.bindTools([...]) // tools array
|
24
|
+
* .withConfig({
|
25
|
+
* stop: ["\n"], // other call options
|
26
|
+
* });
|
27
27
|
*
|
28
28
|
* // When calling `.bindTools`, call options should be passed via the second argument
|
29
29
|
* const llmWithTools = llm.bindTools(
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@langchain/google-vertexai-web",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.10",
|
4
4
|
"description": "LangChain.js support for Google Vertex AI Web",
|
5
5
|
"type": "module",
|
6
6
|
"engines": {
|
@@ -32,15 +32,15 @@
|
|
32
32
|
"author": "LangChain",
|
33
33
|
"license": "MIT",
|
34
34
|
"dependencies": {
|
35
|
-
"@langchain/google-webauth": "^0.2.
|
35
|
+
"@langchain/google-webauth": "^0.2.10"
|
36
36
|
},
|
37
37
|
"peerDependencies": {
|
38
38
|
"@langchain/core": ">=0.3.55 <0.4.0"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"@jest/globals": "^29.5.0",
|
42
|
-
"@langchain/core": "0.3.
|
43
|
-
"@langchain/google-common": "^0.2.
|
42
|
+
"@langchain/core": "0.3.57",
|
43
|
+
"@langchain/google-common": "^0.2.10",
|
44
44
|
"@langchain/scripts": ">=0.1.0 <0.2.0",
|
45
45
|
"@langchain/standard-tests": "0.0.0",
|
46
46
|
"@swc/core": "^1.3.90",
|