
內容簡介
```html
<ul>
<li>總結: Swayam 是一個智能聊天機器人外掛,使用RAG技術,通過分析WordPress內容以自動回答訪客問題。</li>
<li>功能特點:
<ul>
<li>RAG技術支持的問答 - 使用WordPress內容作為語境來回答問題</li>
<li>自動內容索引 - 將文章、頁面和自定義內容類型同步到向量數據庫</li>
<li>發佈時自動同步 - 當內容被發佈、更新或刪除時,索引會自動更新</li>
<li>可自定義的聊天界面 - 使用短代碼或浮動小部件</li>
<li>管理儀表板 - 輕鬆配置並進行連接測試</li>
<li>REST API - 編程訪問聊天機器人</li>
<li>速率限制 - 內置的防止垃圾郵件功能</li>
</ul>
</li>
<li>短代碼使用:
<ul>
<li>在任何頁面或文章上嵌入聊天機器人:
[swayam_ai_chatbot]
</li>
<li>使用自定義屬性:
[swayam_ai_chatbot title="詢問我們的產品" placeholder="您想知道什麼?"]
</li>
</ul>
</li>
<li>外部服務:
<ul>
<li>Ollama(必需):
<ul>
<li>Ollama網站: <a href="https://ollama.com/">https://ollama.com/</a></li>
<li>Ollama隱私政策: <a href="https://ollama.com/privacy">https://ollama.com/privacy</a></li>
<li>Ollama服務條款: <a href="https://ollama.com/terms">https://ollama.com/terms</a></li>
<li>Ollama運行在您的服務器上或您控制的服務器上。除非您配置連接到遠程Ollama實例,否則不會向第三方雲服務發送數據。</li>
</ul>
</li>
<li>Elasticsearch(必需):
<ul>
<li>Elasticsearch網站: <a href="https://www.elastic.co/elasticsearch/">https://www.elastic.co/elasticsearch/</a></li>
<li>Elastic隱私政策: <a href="https://www.elastic.co/legal/privacy-statement">https://www.elastic.co/legal/privacy-statement</a></li>
<li>Elastic服務條款: <a href="https://www.elastic.co/legal/elastic-license">https://www.elastic.co/legal/elastic-license</a></li>
<li>Elasticsearch可以在您的服務器上運行。如果使用Elastic Cloud,您的索引內容將根據其隱私政策存儲在Elastic的服務器上。</li>
</ul>
</li>
</ul>
</li>
<li>數據傳輸:
<ul>
<li>向Ollama傳送的數據: 文章內容進行嵌入生成,用戶問題進行回答生成</li>
<li>向Elasticsearch傳送的數據: 文章內容、標題、摘要、URL和向量嵌入</li>
</ul>
</li>
</ul>
```
```html
<ul>
<li><strong>為什麼選擇「Swayam」?</strong></li>
<li>「Swayam」是一個古老的梵文單詞,意為「自我」。這是您的內容、您的知識,自主智能。</li>
<li>「Swayam AI聊天機器人」是一個WordPress外掛,提供一個由Retrieval-Augmented Generation(RAG)技術驅動的智能聊天機器人。它會索引您的WordPress內容,並使用AI基於您的實際帖子、頁面和自定義帖子類型來回答訪客問題。</li>
</ul>
```
外掛標籤
開發者團隊
原文外掛簡介
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
