Multi-Bot Deployment
Multi-Bot Deployment
The Supervised AI Bots plugin is designed to handle multiple specialized chatbots on a single WordPress site. This allows you to deploy different AI personalities or knowledge bases to specific pages, such as a "Sales Bot" for your landing pages and a "Support Bot" for your documentation area.
Configuration
To prepare multiple bots for deployment, follow these steps:
- Navigate to the Supervised AI Bots settings page in your WordPress Admin dashboard.
- Locate the chatbot URL configuration textarea.
- Enter each bot's unique URL on a new line.
The plugin automatically assigns an ID to each bot based on its line number in this list (the first line is ID 1, the second line is ID 2, and so on).
Deploying Specific Bots
Once your URLs are configured, you can call any bot using the [supervised_ai_bot] shortcode by specifying its id.
Usage Example:
-
To display your first bot:
[supervised_ai_bot id="1"] -
To display your second bot:
[supervised_ai_bot id="2"]
Best Practices for Multiple Bots
When managing a multi-bot environment, consider the following strategies to optimize user experience:
1. Contextual Relevance
Deploy bots based on the content of the page.
- Product Pages: Use a bot trained on product specs and pricing (e.g.,
id="1"). - Contact/Help Pages: Use a bot trained on your FAQ and troubleshooting guides (e.g.,
id="2").
2. Shortcode Placement
For the best visual experience, the shortcode should be placed in a location that doesn't conflict with other interactive elements. While the bot appears as a fixed popup in the bottom-right corner, placing the shortcode within a global footer or a common sidebar widget is recommended for site-wide availability.
3. Managing your Bot List
Because the id attribute is tied to the line number in your settings, keep a record of which line corresponds to which bot.
Note: If you delete a URL from the middle of the list, the IDs for all subsequent bots will shift. Always update your shortcodes if you reorder the URLs in the settings page.
4. Avoiding Page Conflicts
While the plugin supports multiple bots on one site, it is recommended to use only one shortcode per page. Deploying multiple shortcodes on a single page may result in overlapping UI elements or unexpected behavior in the popup container.