@ai-sdk/google-vertex
Version:
The **[Google Vertex provider](https://ai-sdk.dev/providers/ai-sdk-providers/google-vertex)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Google Vertex AI](https://cloud.google.com/vertex-ai) APIs.
121 lines • 3.25 kB
JSON
{
"name": "@ai-sdk/google-vertex",
"version": "4.0.137",
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*",
"docs/**/*",
"src",
"!src/**/*.test.ts",
"!src/**/*.test-d.ts",
"!src/**/__snapshots__",
"!src/**/__fixtures__",
"CHANGELOG.md",
"README.md",
"edge.d.ts",
"anthropic/edge.d.ts",
"anthropic/index.d.ts",
"maas/edge.d.ts",
"maas/index.d.ts",
"xai/edge.d.ts",
"xai/index.d.ts"
],
"directories": {
"doc": "./docs"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./edge": {
"types": "./dist/edge/index.d.ts",
"import": "./dist/edge/index.mjs",
"require": "./dist/edge/index.js"
},
"./anthropic": {
"types": "./dist/anthropic/index.d.ts",
"import": "./dist/anthropic/index.mjs",
"require": "./dist/anthropic/index.js"
},
"./anthropic/edge": {
"types": "./dist/anthropic/edge/index.d.ts",
"import": "./dist/anthropic/edge/index.mjs",
"require": "./dist/anthropic/edge/index.js"
},
"./maas": {
"types": "./dist/maas/index.d.ts",
"import": "./dist/maas/index.mjs",
"require": "./dist/maas/index.js"
},
"./maas/edge": {
"types": "./dist/maas/edge/index.d.ts",
"import": "./dist/maas/edge/index.mjs",
"require": "./dist/maas/edge/index.js"
},
"./xai": {
"types": "./dist/xai/index.d.ts",
"import": "./dist/xai/index.mjs",
"require": "./dist/xai/index.js"
},
"./xai/edge": {
"types": "./dist/xai/edge/index.d.ts",
"import": "./dist/xai/edge/index.mjs",
"require": "./dist/xai/edge/index.js"
}
},
"dependencies": {
"google-auth-library": "^10.5.0",
"@ai-sdk/anthropic": "3.0.79",
"@ai-sdk/google": "3.0.79",
"@ai-sdk/openai-compatible": "2.0.48",
"@ai-sdk/provider": "3.0.10",
"@ai-sdk/provider-utils": "4.0.27"
},
"devDependencies": {
"@types/node": "20.17.24",
"tsup": "^8",
"typescript": "5.8.3",
"zod": "3.25.76",
"@ai-sdk/test-server": "1.0.5",
"@vercel/ai-tsconfig": "0.0.0"
},
"peerDependencies": {
"zod": "^3.25.76 || ^4.1.8"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://ai-sdk.dev/docs",
"repository": {
"type": "git",
"url": "https://github.com/vercel/ai",
"directory": "packages/google-vertex"
},
"bugs": {
"url": "https://github.com/vercel/ai/issues"
},
"keywords": [
"ai"
],
"scripts": {
"build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
"build:watch": "pnpm clean && tsup --watch",
"clean": "del-cli dist docs *.tsbuildinfo",
"type-check": "tsc --build",
"test": "pnpm test:node && pnpm test:edge",
"test:update": "pnpm test:node -u",
"test:watch": "vitest --config vitest.node.config.js",
"test:edge": "vitest --config vitest.edge.config.js --run",
"test:node": "vitest --config vitest.node.config.js --run"
}
}