Directory / plugin
AI Provider for Ollama
v1.4.0 · by Fueled
Ollama provider for the WordPress AI Client.
About this plugin
This plugin provides Ollama integration for the WordPress AI Client. It lets WordPress sites use large language models running locally or on a remote Ollama instance for text, image, embedding, and speech generation and other AI capabilities.
Ollama exposes an OpenAI-compatible API, and this provider uses that API to communicate with any model you have pulled into Ollama (Llama, Mistral, Gemma, Phi, and many more).
Features:
- Text generation with any Ollama model
- Image generation with supported models
- Embedding generation with any embedding-capable Ollama model
- Text to speech with speech models such as phonon (Ollama 0.40.9+, Apple Silicon only)
- Typed decisions (choice, yes/no probability, and score) with local decision models such as nimble and tev1
- Automatic model discovery from your Ollama instance
- Function calling support
- Structured output (JSON mode) support
- Settings page for host URL and seeing available models
- Works without an API key for local instances
Requirements:
- PHP 8.2 or higher
- WordPress 7.0 or higher
- Ollama running locally or on a remote server (like Ollama Cloud)