@langchain/google-vertexai 0.2.8 → 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 +4 -4
- package/dist/chat_models.d.ts +4 -4
- package/dist/chat_models.js +4 -4
- package/package.json +4 -4
package/dist/chat_models.cjs
CHANGED
|
@@ -14,16 +14,16 @@ const google_gauth_1 = require("@langchain/google-gauth");
|
|
|
14
14
|
* export GOOGLE_APPLICATION_CREDENTIALS="path/to/credentials"
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
|
-
* ## [Constructor args](https://api.js.langchain.com/classes/
|
|
17
|
+
* ## [Constructor args](https://api.js.langchain.com/classes/_langchain_google_vertexai.index.ChatVertexAI.html#constructor.new_ChatVertexAI)
|
|
18
18
|
*
|
|
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
|
-
* // When calling `.
|
|
26
|
-
* const llmWithArgsBound = llm.
|
|
25
|
+
* // When calling `.withConfig`, call options should be passed via the first argument
|
|
26
|
+
* const llmWithArgsBound = llm.withConfig({
|
|
27
27
|
* stop: ["\n"],
|
|
28
28
|
* tools: [...],
|
|
29
29
|
* });
|
package/dist/chat_models.d.ts
CHANGED
|
@@ -16,16 +16,16 @@ export interface ChatVertexAIInput extends ChatGoogleInput {
|
|
|
16
16
|
* export GOOGLE_APPLICATION_CREDENTIALS="path/to/credentials"
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
|
-
* ## [Constructor args](https://api.js.langchain.com/classes/
|
|
19
|
+
* ## [Constructor args](https://api.js.langchain.com/classes/_langchain_google_vertexai.index.ChatVertexAI.html#constructor.new_ChatVertexAI)
|
|
20
20
|
*
|
|
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
|
-
* // When calling `.
|
|
28
|
-
* const llmWithArgsBound = llm.
|
|
27
|
+
* // When calling `.withConfig`, call options should be passed via the first argument
|
|
28
|
+
* const llmWithArgsBound = llm.withConfig({
|
|
29
29
|
* stop: ["\n"],
|
|
30
30
|
* tools: [...],
|
|
31
31
|
* });
|
package/dist/chat_models.js
CHANGED
|
@@ -11,16 +11,16 @@ import { ChatGoogle } from "@langchain/google-gauth";
|
|
|
11
11
|
* export GOOGLE_APPLICATION_CREDENTIALS="path/to/credentials"
|
|
12
12
|
* ```
|
|
13
13
|
*
|
|
14
|
-
* ## [Constructor args](https://api.js.langchain.com/classes/
|
|
14
|
+
* ## [Constructor args](https://api.js.langchain.com/classes/_langchain_google_vertexai.index.ChatVertexAI.html#constructor.new_ChatVertexAI)
|
|
15
15
|
*
|
|
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
|
-
* // When calling `.
|
|
23
|
-
* const llmWithArgsBound = llm.
|
|
22
|
+
* // When calling `.withConfig`, call options should be passed via the first argument
|
|
23
|
+
* const llmWithArgsBound = llm.withConfig({
|
|
24
24
|
* stop: ["\n"],
|
|
25
25
|
* tools: [...],
|
|
26
26
|
* });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/google-vertexai",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "LangChain.js support for Google Vertex AI",
|
|
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-gauth": "^0.2.
|
|
35
|
+
"@langchain/google-gauth": "^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",
|