UNPKG

@ai-sdk/amazon-bedrock

Version:

The **[Amazon Bedrock provider](https://ai-sdk.dev/providers/ai-sdk-providers/amazon-bedrock)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the Amazon Bedrock [converse API](https://docs.aws.amazon.com/bedrock/latest/APIR

93 lines 2.39 kB
{ "name": "@ai-sdk/amazon-bedrock", "version": "5.0.10", "type": "module", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist/**/*", "docs/**/*", "src", "!src/**/*.test.ts", "!src/**/*.test-d.ts", "!src/**/__snapshots__", "!src/**/__fixtures__", "CHANGELOG.md", "README.md", "anthropic/index.d.ts", "mantle/index.d.ts" ], "directories": { "doc": "./docs" }, "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "./anthropic": { "types": "./dist/anthropic/index.d.ts", "import": "./dist/anthropic/index.js", "default": "./dist/anthropic/index.js" }, "./mantle": { "types": "./dist/mantle/index.d.ts", "import": "./dist/mantle/index.js", "require": "./dist/mantle/index.cjs" } }, "dependencies": { "@smithy/eventstream-codec": "^4.3.3", "@smithy/util-utf8": "^4.3.3", "aws4fetch": "^1.0.20", "@ai-sdk/anthropic": "4.0.7", "@ai-sdk/openai": "4.0.7", "@ai-sdk/provider": "4.0.2", "@ai-sdk/provider-utils": "5.0.5" }, "devDependencies": { "@types/node": "22.19.19", "tsup": "^8.5.1", "typescript": "5.8.3", "zod": "3.25.76", "@ai-sdk/test-server": "2.0.0", "@vercel/ai-tsconfig": "0.0.0" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" }, "engines": { "node": ">=22" }, "publishConfig": { "access": "public", "provenance": true }, "homepage": "https://ai-sdk.dev/docs", "repository": { "type": "git", "url": "https://github.com/vercel/ai", "directory": "packages/amazon-bedrock" }, "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" } }