Directory / plugin
Swayam AI Chatbot
v1.0.0 · by Sagar Deshmukh
AI-powered chatbot using RAG (Retrieval-Augmented Generation) to answer questions based on your WordPress content.
About this plugin
Why “Swayam”?
Swayam (स्वयं)—an ancient Sanskrit word meaning “self.” Your content. Your knowledge. Autonomously intelligent.
Swayam AI Chatbot is a WordPress plugin that provides an intelligent chatbot powered by Retrieval-Augmented Generation (RAG) technology. It indexes your WordPress content and uses AI to answer visitor questions based on your actual posts, pages, and custom post types.
Features
- RAG-Powered Q&A – Answers questions using your actual WordPress content as context
- Automatic Content Indexing – Syncs posts, pages, and custom post types to a vector database
- Auto-Sync on Publish – Automatically updates the index when content is published, updated, or deleted
- Customizable Chat Interface – Use the shortcode or floating widget
- Admin Dashboard – Easy configuration with connection testing
- REST API – Programmatic access to the chatbot
- Rate Limiting – Built-in protection against spam
Shortcode Usage
Embed the chatbot on any page or post:
[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.
- Ollama website: https://ollama.com/
- Ollama Privacy Policy: https://ollama.com/privacy
- Ollama Terms of Service: https://ollama.com/terms
Ollama runs locally on your server or a server you control. No data is sent to third-party cloud services unless you configure it to connect to a remote Ollama instance.
Elasticsearch (Required)
This plugin requires an Elasticsearch instance to store vector embeddings and perform semantic search.
- Elasticsearch website: https://www.elastic.co/elasticsearch/
- Elastic Privacy Policy: https://www.elastic.co/legal/privacy-statement
- Elastic Terms of Service: https://www.elastic.co/legal/elastic-license
Elasticsearch can run locally on your server. If using Elastic Cloud, your indexed content will be stored on Elastic’s servers according to their privacy policy.
Data Transmitted
* To Ollama: Post content for embedding generation, user questions for response generation
* To Elasticsearch: Post content, titles, excerpts, URLs, and vector embeddings