Aivoma AI Chat – Plugin Documentation
Introduction
Aivoma AI Chat is an intelligent chatbot solution designed to enhance user engagement on WordPress websites. With configurable prompts and UI customization, it seamlessly integrates into your site to provide interactive communication.
Features
- Custom AI-powered chatbot
- Configurable chatbot personality and design
- Shortcode integration:
[ai_chatbot]
- REST API support for developer integration
- Admin panel for easy setup and customization
- Session-based chat history
Installation
Automatic Installation
- Navigate to Plugins > Add New in your WordPress dashboard.
- Search for “Aivoma AI Chat.”
- Click Install Now and activate the plugin.
Manual Installation
- Download the plugin ZIP file from Aivoma AI Chat Plugin Page.
- Upload the ZIP file via Plugins > Add New > Upload Plugin.
- Activate the plugin through the Plugins menu.
Configuration
API Key Setup
- Go to Aivoma AI Chat settings in the WordPress admin panel.
- Enter your OpenAI API key.
- Save changes to enable chatbot responses.
Customization Options
- Set background and font colors for chatbot elements.
- Toggle between transparent and solid background options.
- Customize the chatbot’s system prompt.
Usage
Embedding the Chatbot
To display the chatbot on any post or page, use the shortcode:
[ai_chatbot]
Displaying the Shortcode as Plain Text
To show the shortcode as plain text instead of rendering the chatbot:
- Use double square brackets:
[ai_chatbot]
- Use HTML entities:
[ai_chatbot]
- Wrap it in a
<code>
tag:<code>[ai_chatbot]
</code> - Escape it in PHP:
echo esc_html('[ai_chatbot]');
REST API Integration
Developers can extend the plugin using REST API endpoints:
POST /wp-json/ai-chatbot/v1/chat
- Requires X-WP-Nonce for security
Troubleshooting
Chatbot Not Appearing?
- Ensure the plugin is activated.
- Check that the shortcode is correctly placed in a post or widget.
- Clear your website cache and reload.
API Key Issues?
- Verify the API key is correctly entered in the settings panel.
- Check if your OpenAI account has valid API access.
Support & Documentation
For troubleshooting, support, or feature requests, visit:
Changelog
Version 7.2
- Enhanced UI customization options
- Improved REST API security
- Optimized chatbot session handling