ChatBase + RAG: Simply put, it treats your website's articles as a knowledge base, connects them to a large language model (LLM), and uses RAG (Retrieval-Augmented Generation) to enable a bot to answer questions based on the content you provide.
You can also think of it as generating a dedicated Q&A AI customer service for your website:
It can be used as an FAQ intelligent customer service, a website embed assistant, or for internal knowledge base queries.
Chatbase + RAG can provide more precise answers, reducing the burden on users searching through large amounts of website data.
Register and create a Chatbase account
Log in to the Chatbase official website: https://www.chatbase.co/
Register and log in to your account, then click the "Build your agent" button.
When creating a Chatbase Agent, if the type is "Website," select "Website" and enter the website link. If the type is "File" or "Text," select "Files" or "Text," as appropriate.
Since I'm setting up a Q&A bot for my personal blog, I selected "Website," entered the URL, and clicked "Fetch links" to capture the website's links and resources.
After the capture is complete, click “Create agent” on the right to create Chatbase Agent.
Managing Chatbase Agents
After creation is complete, the Chatbase Agent management interface will be displayed.
You can select the "Model" AI type, such as GPT-4o Mini. For development technology, we recommend Claude 3 Haiku, which is technologically superior to ChatGPT.
Under Activity - Chat logs on the left, you can view conversations with the Chatbase Agent. All subsequent conversations are stored here.
Deploy Chatbase Agent
Click "Deploy" on the left to see the Chat widget. The Chat widget can be added to your website and supports iframes. Click "Setup" to deploy it.
In the Chat widget configuration interface, you can configure the name and welcome message of Chatbase Agent.
Configure your Chatbase Agent's avatar and default icon in the Style tab.
In the "Embed" tab, you can select the Chat widget and copy the … code in the Widget Setup to your website.
Configuring Chatbase Agent in WordPress
If your website is powered by WordPress, you can do this in the WordPress admin area → Appearance → Theme Editor.
1. Modify footer.php directly
Find header.php or footer.php:
If you want the script to load earlier, place it before the tag;
If you want the script to load last, place it before the
Top comments (0)