@langchain/google-vertexai 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.
@@ -19,11 +19,11 @@ const google_gauth_1 = require("@langchain/google-gauth");
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 `.bind`, or the second arg in `.bindTools`, like shown in the examples below:
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 `.bind`, call options should be passed via the first argument
26
- * const llmWithArgsBound = llm.bind({
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
  * });
@@ -21,11 +21,11 @@ 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 `.bind`, or the second arg in `.bindTools`, like shown in the examples below:
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 `.bind`, call options should be passed via the first argument
28
- * const llmWithArgsBound = llm.bind({
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
  * });
@@ -16,11 +16,11 @@ import { ChatGoogle } from "@langchain/google-gauth";
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 `.bind`, or the second arg in `.bindTools`, like shown in the examples below:
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 `.bind`, call options should be passed via the first argument
23
- * const llmWithArgsBound = llm.bind({
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.9",
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.9"
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.55",
43
- "@langchain/google-common": "^0.2.0",
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",