Cohere
Cohere 可通过 AI SDK 使用。安装相应的 Provider package 后,即可在 Mastra 中使用其模型。
有关此 Provider 的详细说明,请参阅 AI SDK Cohere Provider 文档。
如需在 Mastra Agent 中使用此 Provider,请参阅Agent 概览文档。
安装安装的直接链接
- npm
- pnpm
- Yarn
- Bun
npm install @ai-sdk/cohere
pnpm add @ai-sdk/cohere
yarn add @ai-sdk/cohere
bun add @ai-sdk/cohere