Skip to main content

Ollama logo奥拉马

🌐 Ollama logoOllama

Ollama 可以通过 AI SDK 使用。安装提供程序包即可在 Mastra 中使用他们的模型。

🌐 Ollama is available through the AI SDK. Install the provider package to use their models with Mastra.

有关详细的特定提供商文档,请参阅 AI SDK Ollama 提供商文档

🌐 For detailed provider-specific documentation, see the AI SDK Ollama provider docs.

要在 Mastra 代理中使用此提供商,请参阅 代理概览文档

🌐 To use this provider with Mastra agents, see the Agent Overview documentation.

安装
Direct link to 安装

🌐 Installation

npm install ollama-ai-provider-v2
目录