亚马逊基石
🌐 Amazon Bedrock
Amazon Bedrock 可通过 AI SDK 使用。安装提供程序包即可在 Mastra 中使用它们的模型。
🌐 Amazon Bedrock is available through the AI SDK. Install the provider package to use their models with Mastra.
有关具体提供商的详细文档,请参阅 AI SDK Amazon Bedrock 提供商文档。
🌐 For detailed provider-specific documentation, see the AI SDK Amazon Bedrock provider docs.
要在 Mastra 代理中使用此提供商,请参阅 代理概览文档。
🌐 To use this provider with Mastra agents, see the Agent Overview documentation.
安装Direct link to 安装
🌐 Installation
- npm
- pnpm
- Yarn
- Bun
npm install @ai-sdk/amazon-bedrock
pnpm add @ai-sdk/amazon-bedrock
yarn add @ai-sdk/amazon-bedrock
bun add @ai-sdk/amazon-bedrock