@langchain/google-vertexai-web 0.0.27 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -296,6 +296,12 @@ class ChatVertexAI extends google_webauth_1.ChatGoogle {
296
296
  ...fields,
297
297
  platformType: "gcp",
298
298
  });
299
+ Object.defineProperty(this, "lc_namespace", {
300
+ enumerable: true,
301
+ configurable: true,
302
+ writable: true,
303
+ value: ["langchain", "chat_models", "vertexai"]
304
+ });
299
305
  }
300
306
  }
301
307
  exports.ChatVertexAI = ChatVertexAI;
@@ -290,6 +290,7 @@ export interface ChatVertexAIInput extends ChatGoogleInput {
290
290
  * <br />
291
291
  */
292
292
  export declare class ChatVertexAI extends ChatGoogle {
293
+ lc_namespace: string[];
293
294
  static lc_name(): string;
294
295
  constructor(fields?: ChatVertexAIInput);
295
296
  }
@@ -293,5 +293,11 @@ export class ChatVertexAI extends 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
  }
package/dist/llms.cjs CHANGED
@@ -15,6 +15,12 @@ class VertexAI extends google_webauth_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-webauth" 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-web",
3
- "version": "0.0.27",
3
+ "version": "0.1.0",
4
4
  "description": "LangChain.js support for Google Vertex AI Web",
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-webauth": "~0.0.27"
35
+ "@langchain/google-webauth": "~0.1.0"
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",