@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.
- package/dist/chat_models.cjs +6 -0
- package/dist/chat_models.d.ts +1 -0
- package/dist/chat_models.js +6 -0
- package/dist/llms.cjs +6 -0
- package/dist/llms.d.ts +1 -0
- package/dist/llms.js +6 -0
- package/package.json +7 -4
package/dist/chat_models.cjs
CHANGED
|
@@ -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;
|
package/dist/chat_models.d.ts
CHANGED
package/dist/chat_models.js
CHANGED
|
@@ -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.
|
|
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/
|
|
36
|
-
|
|
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/
|
|
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",
|