Description
This plugin provides Ollama integration for the PHP AI Client SDK using OpenAI-compatible endpoints.
Features:
- Text generation via
/v1/chat/completions - Dynamic model listing via
/v1/models - Automatic provider registration
- Keyless/local setup support
Requirements:
- PHP 7.4 or higher
- Ollama server available
- WordPress AI Client plugin/runtime support
Installation
- Upload the plugin files to
/wp-content/plugins/roddyka-local-ai-connector-for-ollama/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure
OLLAMA_API_BASE_URL(optional)
FAQ
-
Which endpoint does it use by default?
-
http://127.0.0.1:11434/v1
-
Does this plugin require an API key?
-
No. This provider is configured as keyless by default.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Roddyka Local AI Connector for Ollama” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Roddyka Local AI Connector for Ollama” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.1.0
- Initial release
- OpenAI-compatible text generation support for Ollama