| 开发者 | sagardeshmukh |
|---|---|
| 更新时间 | 2026年2月25日 13:52 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[swayam_ai_chatbot]
With custom attributes:
[swayam_ai_chatbot title="Ask about our products" placeholder="What would you like to know?"]
External Services
This plugin connects to the following external services:
Ollama (Required)
This plugin requires a running Ollama instance to generate embeddings and chat responses using the Llama 3.2 model.
swayam-ai-chatbot folder to the /wp-content/plugins/ directorycomposer install to install dependenciesollama pull llama3.2:3b)Currently, the plugin is designed to work with Ollama running the Llama 3.2 model. Support for additional models may be added in future versions.
By default, both Ollama and Elasticsearch run locally on your server, so no data leaves your infrastructure. If you configure remote instances, data will be transmitted to those servers.
Yes, the plugin includes CSS that you can override in your theme. Key CSS variables are available for customization including colors, border radius, and more.
Use the shortcode [swayam_ai_chatbot] on any page or post. You can also enable the floating widget in settings to show it on all pages.
Make sure you have synced your content in Settings > Swayam AI Chatbot. Click "Sync All Content" to index your posts and pages.
If WordPress runs in Docker, use http://host.docker.internal:11434 for Ollama and http://host.docker.internal:9200 for Elasticsearch instead of localhost.