@langchain/google-vertexai 0.0.22 → 0.0.24

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.
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GoogleVertexAIEmbeddings = void 0;
4
+ const google_gauth_1 = require("@langchain/google-gauth");
5
+ /**
6
+ * Integration with a chat model.
7
+ */
8
+ class GoogleVertexAIEmbeddings extends google_gauth_1.GoogleEmbeddings {
9
+ static lc_name() {
10
+ return "GoogleVertexAIEmbeddings";
11
+ }
12
+ constructor(fields) {
13
+ super({
14
+ ...fields,
15
+ platformType: "gcp",
16
+ });
17
+ }
18
+ }
19
+ exports.GoogleVertexAIEmbeddings = GoogleVertexAIEmbeddings;
@@ -0,0 +1,13 @@
1
+ import { type GoogleEmbeddingsInput, GoogleEmbeddings } from "@langchain/google-gauth";
2
+ /**
3
+ * Input to chat model class.
4
+ */
5
+ export interface GoogleVertexAIEmbeddingsInput extends GoogleEmbeddingsInput {
6
+ }
7
+ /**
8
+ * Integration with a chat model.
9
+ */
10
+ export declare class GoogleVertexAIEmbeddings extends GoogleEmbeddings {
11
+ static lc_name(): string;
12
+ constructor(fields: GoogleVertexAIEmbeddingsInput);
13
+ }
@@ -0,0 +1,15 @@
1
+ import { GoogleEmbeddings, } from "@langchain/google-gauth";
2
+ /**
3
+ * Integration with a chat model.
4
+ */
5
+ export class GoogleVertexAIEmbeddings extends GoogleEmbeddings {
6
+ static lc_name() {
7
+ return "GoogleVertexAIEmbeddings";
8
+ }
9
+ constructor(fields) {
10
+ super({
11
+ ...fields,
12
+ platformType: "gcp",
13
+ });
14
+ }
15
+ }
package/dist/index.cjs CHANGED
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./chat_models.cjs"), exports);
18
18
  __exportStar(require("./llms.cjs"), exports);
19
+ __exportStar(require("./embeddings.cjs"), exports);
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./chat_models.js";
2
2
  export * from "./llms.js";
3
+ export * from "./embeddings.js";
package/dist/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./chat_models.js";
2
2
  export * from "./llms.js";
3
+ export * from "./embeddings.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-vertexai",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "description": "LangChain.js support for Google Vertex AI",
5
5
  "type": "module",
6
6
  "engines": {
@@ -44,11 +44,11 @@
44
44
  "license": "MIT",
45
45
  "dependencies": {
46
46
  "@langchain/core": ">=0.2.21 <0.3.0",
47
- "@langchain/google-gauth": "~0.0.22"
47
+ "@langchain/google-gauth": "~0.0.24"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@jest/globals": "^29.5.0",
51
- "@langchain/google-common": "workspace:*",
51
+ "@langchain/google-common": "~0.0",
52
52
  "@langchain/scripts": "~0.0.20",
53
53
  "@langchain/standard-tests": "0.0.0",
54
54
  "@swc/core": "^1.3.90",