{"_id":"@ai-toolkit/amazon-bedrock","name":"@ai-toolkit/amazon-bedrock","dist-tags":{"latest":"2.1.1"},"versions":{"2.1.1":{"name":"@ai-toolkit/amazon-bedrock","version":"2.1.1","license":"Apache-2.0","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"dependencies":{"@ai-toolkit/provider":"1.0.10","@ai-toolkit/provider-utils":"2.1.11","@smithy/eventstream-codec":"^4.0.1","@smithy/util-utf8":"^4.0.0","aws4fetch":"^1.0.20"},"devDependencies":{"@types/node":"^18.19.54","tsup":"^8.3.0","typescript":"5.6.3","zod":"3.23.8","@khulnasoft/ai-tsconfig":"0.0.0"},"peerDependencies":{"zod":"^3.0.0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"homepage":"https://sdk.khulnasoft.com/docs","repository":{"type":"git","url":"git+https://github.com/khulnasoft/ai-toolkit.git"},"bugs":{"url":"https://github.com/khulnasoft/ai-toolkit/issues"},"keywords":["ai-toolkit"],"scripts":{"build":"tsup","build:watch":"tsup --watch","clean":"rm -rf 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"},"_id":"@ai-toolkit/amazon-bedrock@2.1.1","description":"The **[Amazon Bedrock provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/amazon-bedrock)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the Amazon Bedrock [converse API](https://docs.aws.amazon","_integrity":"sha512-ac7dLJ7y9WmKHvocu5C/WJepJdh54yTF+X44zOFFFCMJbVoShWQs2fr5yCVpfk4oJhcOXh4UCroGs/0+euMz5g==","_resolved":"/tmp/46398965dee59b53fb0b3831ee62c9e0/ai-toolkit-amazon-bedrock-2.1.1.tgz","_from":"file:ai-toolkit-amazon-bedrock-2.1.1.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-ac7dLJ7y9WmKHvocu5C/WJepJdh54yTF+X44zOFFFCMJbVoShWQs2fr5yCVpfk4oJhcOXh4UCroGs/0+euMz5g==","shasum":"7e3048d76eb6ae89ff93195ee9f66f16320b6b69","tarball":"https://registry.npmjs.org/@ai-toolkit/amazon-bedrock/-/amazon-bedrock-2.1.1.tgz","fileCount":9,"unpackedSize":277938,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDOVgxlI2jQIn85OuqVRy2qCj3DI4OtBEYpHrz1jpV1GgIhAPfA+yUfUiUUXTyof8sviHfKq4ksbCWmVfWAdbKGeLpa"}]},"_npmUser":{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"},"directories":{},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/amazon-bedrock_2.1.1_1741546702790_0.7319621966220053"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-09T18:58:22.689Z","2.1.1":"2025-03-09T18:58:22.994Z","modified":"2025-03-09T18:58:23.317Z"},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"description":"The **[Amazon Bedrock provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/amazon-bedrock)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the Amazon Bedrock [converse API](https://docs.aws.amazon","homepage":"https://sdk.khulnasoft.com/docs","keywords":["ai-toolkit"],"repository":{"type":"git","url":"git+https://github.com/khulnasoft/ai-toolkit.git"},"bugs":{"url":"https://github.com/khulnasoft/ai-toolkit/issues"},"license":"Apache-2.0","readme":"# AI TOOLKIT - Amazon Bedrock Provider\n\nThe **[Amazon Bedrock provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/amazon-bedrock)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs)\ncontains language model support for the Amazon Bedrock [converse API](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html).\n\n## Setup\n\nThe Amazon Bedrock provider is available in the `@ai-toolkit/amazon-bedrock` module. You can install it with\n\n```bash\nnpm i @ai-toolkit/amazon-bedrock\n```\n\n## Provider Instance\n\nYou can import the default provider instance `bedrock` from `@ai-toolkit/amazon-bedrock`:\n\n```ts\nimport { bedrock } from '@ai-toolkit/amazon-bedrock';\n```\n\n## Example\n\n```ts\nimport { bedrock } from '@ai-toolkit/amazon-bedrock';\nimport { generateText } from 'ai-toolkit';\n\nconst { text } = await generateText({\n  model: bedrock('meta.llama3-8b-instruct-v1:0'),\n  prompt: 'Write a vegetarian lasagna recipe for 4 people.',\n});\n```\n\n## Documentation\n\nPlease check out the **[Amazon Bedrock provider documentation](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/amazon-bedrock)** for more information.\n","readmeFilename":"README.md","_rev":"1-3585286af558a28e38a842cf29229bd8"}