UNPKG

@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.

85 lines 2.29 kB
{ "name": "@ai-sdk/google-vertex", "version": "2.2.24", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist/**/*", "edge/dist/**/*", "anthropic/dist/**/*", "anthropic/edge/dist/**/*", "CHANGELOG.md" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./edge": { "types": "./edge/dist/index.d.ts", "import": "./edge/dist/index.mjs", "require": "./edge/dist/index.js" }, "./anthropic": { "types": "./anthropic/dist/index.d.ts", "import": "./anthropic/dist/index.mjs", "require": "./anthropic/dist/index.js" }, "./anthropic/edge": { "types": "./anthropic/edge/dist/index.d.ts", "import": "./anthropic/edge/dist/index.mjs", "require": "./anthropic/edge/dist/index.js" } }, "dependencies": { "@ai-sdk/anthropic": "1.2.12", "@ai-sdk/google": "1.2.19", "@ai-sdk/provider": "1.1.3", "@ai-sdk/provider-utils": "2.2.8", "google-auth-library": "^9.15.0" }, "devDependencies": { "@types/node": "20.17.24", "tsup": "^8", "typescript": "5.6.3", "zod": "3.23.8", "@vercel/ai-tsconfig": "0.0.0" }, "peerDependencies": { "zod": "^3.0.0" }, "engines": { "node": ">=18" }, "publishConfig": { "access": "public" }, "homepage": "https://ai-sdk.dev/docs", "repository": { "type": "git", "url": "git+https://github.com/vercel/ai.git" }, "bugs": { "url": "https://github.com/vercel/ai/issues" }, "keywords": [ "ai" ], "scripts": { "build": "tsup", "build:watch": "tsup --watch", "clean": "rm -rf dist && rm -rf edge/dist && rm -rf anthropic/dist && rm -rf anthropic/edge/dist", "lint": "eslint \"./**/*.ts*\"", "type-check": "tsc --noEmit", "prettier-check": "prettier --check \"./**/*.ts*\"", "test": "pnpm test:node && pnpm test:edge", "test:edge": "vitest --config vitest.edge.config.js --run", "test:node": "vitest --config vitest.node.config.js --run", "test:node:watch": "vitest --config vitest.node.config.js" } }