Linux 软件免费装
Banner图

Zactonz AI Connector: Ollama

开发者 zactonz
更新时间 2026年6月5日 14:10
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai connector ollama local-ai ai-connector

下载

1.0.0

详情介绍:

This plugin by Zactonz Technologies provides Ollama integration for the WordPress AI Client. It lets WordPress sites use large language models running locally, on a remote self-hosted Ollama instance, or on Ollama Cloud for text and image generation and other AI capabilities. Disclaimer: Zactonz AI Connector: Ollama is developed by Zactonz Technologies. Ollama is a third-party project. This plugin is not affiliated with, endorsed by, or sponsored by Ollama. Ollama exposes an OpenAI-compatible API, and this connector uses that API to communicate with any model you have pulled into Ollama (Llama, Mistral, Gemma, Phi, and many more). Features: Requirements:

安装:

  1. Upload the plugin files to /wp-content/plugins/zactonz-ai-provider-ollama/.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Settings > Connectors to choose Ollama Cloud or a self-hosted Ollama connection.
  4. Add the required Ollama Cloud API key, or save the self-hosted host URL, port, and optional self-hosted API key.
  5. Go to Settings > Ollama to review available models and choose a default model, thinking mode, and text request timeout.

升级注意事项:

1.0.0 Initial release.

常见问题:

How do I install Ollama?

Visit ollama.com to download and install Ollama for your platform. Once installed, pull a model (example ollama pull llama3.2) and the connector will automatically discover it.

Do I need an API key?

Ollama Cloud requires a valid API key in Settings > Connectors or Settings > Ollama. Self-hosted Ollama does not need an API key by default. If your self-hosted endpoint is protected, enter the optional self-hosted API key. Cloud and self-hosted keys are stored separately in Zactonz-owned options and are applied to Ollama provider requests for the active connection mode. An OLLAMA_API_KEY environment variable or PHP constant can also be used and takes priority over saved admin keys.

How do I change the Ollama host URL?

By default, the connector uses http://localhost:11434. You can change this in two ways:

  1. Set the OLLAMA_HOST environment variable (takes precedence).
  2. Choose Self-hosted on Settings > Connectors or Settings > Ollama, then enter your host URL or IP and port.

Is there a JavaScript build step?

No. The admin JavaScript files included with this plugin are human-readable source files maintained directly in the plugin. No minification, bundling, npm install, or build command is required to reproduce them.

Where is the source code for the admin assets?

All PHP, JavaScript, CSS, and SVG source files are included directly in this plugin package. The files in admin/ are maintained as human-readable source files and are not generated from a separate build process.

更新日志:

1.0.0 - 2026-05-22