AI Chat Bots
Better Messages allows you to create AI-powered chat bots using the OpenAI ChatGPT API.
How it works
AI bots appear as regular users in the messaging interface. When a user sends a message to a bot, the message is processed through the OpenAI API and a response is generated in real time. Each bot can be configured with a custom personality, system instructions, and specific capabilities.
Key capabilities
- Create multiple AI bots with different personalities and purposes
- Custom system prompts to define bot behavior and knowledge
- Web search — Bots can search the web for current information
- File search — Bots can search through uploaded knowledge base files
- Image generation — Bots can generate images using DALL-E
- Real-time response streaming in conversations
- Configurable AI model selection per bot
- Bots appear as regular users in the messaging interface
How to enable
Step 1: Set up your OpenAI API key at WP Admin → Better Messages → Settings → Integrations → OpenAI.
- OpenAI API Key — Enter your API key from platform.openai.com
Step 2: Create and configure bots at WP Admin → Better Messages → AI Bots.
- Click Add New to create a bot
- Set the bot's display name and avatar
- Write a system prompt defining the bot's personality and instructions
- Enable desired capabilities (web search, file search, image generation)
- Select the AI model to use
- Publish the bot
tip
Write detailed system prompts for your bots. The more specific the instructions, the better the bot will perform for your specific use case.