@langchain/google-vertexai 0.0.27 → 0.1.2

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.
@@ -293,6 +293,12 @@ class ChatVertexAI extends google_gauth_1.ChatGoogle {
293
293
  ...fields,
294
294
  platformType: "gcp",
295
295
  });
296
+ Object.defineProperty(this, "lc_namespace", {
297
+ enumerable: true,
298
+ configurable: true,
299
+ writable: true,
300
+ value: ["langchain", "chat_models", "vertexai"]
301
+ });
296
302
  }
297
303
  }
298
304
  exports.ChatVertexAI = ChatVertexAI;
@@ -287,6 +287,7 @@ export interface ChatVertexAIInput extends ChatGoogleInput {
287
287
  * <br />
288
288
  */
289
289
  export declare class ChatVertexAI extends ChatGoogle {
290
+ lc_namespace: string[];
290
291
  static lc_name(): string;
291
292
  constructor(fields?: ChatVertexAIInput);
292
293
  }
@@ -290,5 +290,11 @@ export class ChatVertexAI extends ChatGoogle {
290
290
  ...fields,
291
291
  platformType: "gcp",
292
292
  });
293
+ Object.defineProperty(this, "lc_namespace", {
294
+ enumerable: true,
295
+ configurable: true,
296
+ writable: true,
297
+ value: ["langchain", "chat_models", "vertexai"]
298
+ });
293
299
  }
294
300
  }
package/dist/llms.cjs CHANGED
@@ -15,6 +15,12 @@ class VertexAI extends google_gauth_1.GoogleLLM {
15
15
  ...fields,
16
16
  platformType: "gcp",
17
17
  });
18
+ Object.defineProperty(this, "lc_namespace", {
19
+ enumerable: true,
20
+ configurable: true,
21
+ writable: true,
22
+ value: ["langchain", "llms", "vertexai"]
23
+ });
18
24
  }
19
25
  }
20
26
  exports.VertexAI = VertexAI;
package/dist/llms.d.ts CHANGED
@@ -9,6 +9,7 @@ export interface VertexAIInput extends GoogleLLMInput {
9
9
  * the "@langchain/google-gauth" package for auth.
10
10
  */
11
11
  export declare class VertexAI extends GoogleLLM {
12
+ lc_namespace: string[];
12
13
  static lc_name(): string;
13
14
  constructor(fields?: VertexAIInput);
14
15
  }
package/dist/llms.js CHANGED
@@ -12,5 +12,11 @@ export class VertexAI extends GoogleLLM {
12
12
  ...fields,
13
13
  platformType: "gcp",
14
14
  });
15
+ Object.defineProperty(this, "lc_namespace", {
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true,
19
+ value: ["langchain", "llms", "vertexai"]
20
+ });
15
21
  }
16
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-vertexai",
3
- "version": "0.0.27",
3
+ "version": "0.1.2",
4
4
  "description": "LangChain.js support for Google Vertex AI",
5
5
  "type": "module",
6
6
  "engines": {
@@ -32,12 +32,15 @@
32
32
  "author": "LangChain",
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
- "@langchain/core": ">=0.2.21 <0.3.0",
36
- "@langchain/google-gauth": "~0.0.27"
35
+ "@langchain/google-gauth": "~0.1.2"
36
+ },
37
+ "peerDependencies": {
38
+ "@langchain/core": ">=0.2.21 <0.4.0"
37
39
  },
38
40
  "devDependencies": {
39
41
  "@jest/globals": "^29.5.0",
40
- "@langchain/google-common": "^0.0.27",
42
+ "@langchain/core": "workspace:*",
43
+ "@langchain/google-common": "^0.1.0",
41
44
  "@langchain/scripts": ">=0.1.0 <0.2.0",
42
45
  "@langchain/standard-tests": "0.0.0",
43
46
  "@swc/core": "^1.3.90",