SmartAI includes a built-in knowledge base to help users find answers quickly, reducing the need for live agent support.
๐ Where to Find Articles
You can access articles from:
- The Smartai menu (left side of the dashboard).
- Within chat conversations using rich messages like:
[articles]
๐บ Show Articles in the Chat Dashboard
You can display articles inside the chat window:
Go to Settings > Articles > Display in dashboard and enable the option.
๐ Display Articles on Your Website
You can show your articles on your own website using one of the following methods:
๐ For WordPress Users
Use the shortcode:
- Add it to any page/post.
- Make sure you create parent categories and assign articles to them.
- To hide the chat widget, use:
<script>var SB_DISABLED = true;</script>
๐ For Web Developers
You can also embed articles using:
- REST API Method
- PHP API Method
- JS Method (not SEO-friendly)
These methods require installation URLs, tokens, and sometimes coding experience. If you need help with them, contact your developer or support team.
๐ Sync with Chatbot & Dialogflow
- Articles are automatically included in OpenAI chatbot training.
- If using Dialogflow, articles sync with the Dialogflow knowledge base if the AI app is installed.
๐ Multi-language Support
- If a translated version of an article exists in the user’s language, it will be shown.
- To force a specific language, use the URL format:
?lang=en (replace en with your language code).
Example: https://yourdomain.com/articles?lang=fr
๐ Article Links & Navigation
- To link to a specific article:
?article=ARTICLE-ID
Example: https://yourdomain.com/articles?article=Ucsx6 - To link to a category:
?category=CATEGORY-ID
Example: https://yourdomain.com/articles?category=LnNaZ - Use rich message buttons in chat to link users to specific articles.
๐ง URL Rewriting (Optional)
You can make article URLs more user-friendly using URL rewriting via .htaccess.
Example:
- From: articles.php?article_id=123
- To: articles/123
You’ll need basic server access or developer help to set this up.
๐ Troubleshooting & Tips
- All articles must be assigned to a category.
- If a block (like text or button) fails to save, disable browser extensions and try again.
- Article content is SEO-compatible, except when loaded via JS method.