Description
This plugin connects your WordPress site to the NVT SaaS platform to provide RAG (Retrieval-Augmented Generation) and Live Chat functionalities.
It allows you to:
- Ingest Your Content: Automatically crawl your website’s sitemap or upload files to create a custom knowledge base.
- Provide AI Chat (RAG): Offer a 24/7 AI chatbot that answers visitor questions based specifically on your indexed content.
- Enable Live Chat: Switch between AI Bot and Live Chat based on a schedule.
- Inbox: A built-in chat management interface in WP Admin to view history and chat live with visitors.
External Services
This plugin relies on third-party services to function. By using this plugin, you act as the data controller and agree to send data to the following processors:
1. NVT SaaS Platform (api.nguyenvanthu.com)
* Service: This is the core AI engine and backend for the chatbot.
* Used For:
* Indexing your website content to create the chatbot’s knowledge base.
* Processing chat questions (RAG) and generating AI answers.
* Handling real-time WebSocket connections for the Live Chat feature.
* Storing chat history logs.
* Data Sent:
* Website Content: Public posts and pages (URLs, titles, text content) are sent when you click “Start Crawl” or enable auto-sync.
* Chat Data: Messages exchanged between visitors and the bot/agent.
* System Info: Your site URL and plugin license status (API Key) for authentication.
* Visitor Info: Visitor IP address (hashed/anonymized where possible) used strictly for rate-limiting and security protection.
* Links: Terms of Service | Privacy Policy
2. PayPal (paypal.com)
* Service: Payment processing gateway.
* Used For: Allowing users to upgrade their service plan directly from the plugin dashboard (Optional).
* Data Sent: When a user clicks a payment button, the order amount and currency are sent to PayPal. PayPal’s scripts are loaded from their CDN.
* Links: PayPal Privacy Policy
3. PayOS (payos.vn)
* Service: Payment gateway for Vietnam banking QR codes.
* Used For: Generating payment links for users in Vietnam (Optional).
* Data Sent: Order ID, amount, and description are sent to generate the checkout link.
* Links: PayOS Terms of Service
4. Socket.IO (via NVT SaaS)
* Service: Real-time communication library.
* Used For: Facilitating the live chat connection between the visitor widget and the agent console.
* Note: The plugin includes the Socket.IO client library locally, but it connects to the WebSocket endpoint hosted on live.nguyenvanthu.com (part of the NVT SaaS Platform mentioned above).
3rd Party Resources
This plugin uses the following third-party libraries:
-
Socket.IO Client (v4.8.1)
- Source: https://github.com/socketio/socket.io-client (Non-minified source available in repository)
- License: MIT
- Used for: Real-time WebSocket connection for Live Chat.
-
Chart.js (v4.4.0)
- Source: https://github.com/chartjs/Chart.js
- License: MIT
- Used for: Rendering usage statistics charts in the admin dashboard.
Screenshots
Blocks
This plugin provides 1 block.
- Nvt Ragwp Chat Widget
Installation
- Upload the plugin files to the
/wp-content/plugins/nvt-ai-chatbotdirectory. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to RAG Chatbot -> Account to register or connect your API Key.
- Configure the widget in the Settings tab.
FAQ
-
What do I do if the “Test Connection” fails?
-
First, check if your API Key is correct and has no extra spaces. Second, ensure your WordPress host allows outgoing connections to
api.nguyenvanthu.com. Some shared hosting providers block outgoing connections. -
Why does the crawler find 0 URLs?
-
This usually happens if we cannot detect your Sitemap. Please install an SEO plugin like Yoast SEO or RankMath, then copy the sitemap URL (e.g.,
yourdomain.com/sitemap_index.xml) into the “Manual Sitemap URL” field in the “Data Sources” tab. -
Can I customize the chat widget color?
-
Yes! Go to RAG Chatbot -> Settings -> Appearance to change the colors, position, and chat icon.
-
Is my data safe?
-
Yes. We only index the public content you choose (URLs) or files you upload. Visitor chat data is processed to generate answers and is stored securely. We do not share your data with third parties for advertising.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“NVT AI Chatbot – RAG & Live Chat” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “NVT AI Chatbot – RAG & Live Chat” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



