AI Integration Quick Reference
AI Integration Quick Reference
Overview
CometChat provides three AI-powered features to enhance your chat application:AI Features Summary
AI Agents
AI Agents enable intelligent, automated interactions. They process user messages, trigger tools, and respond with contextually relevant information. Key Points:- Agents only respond to text messages
- Real-time events via
AIAssistantListener - Persisted messages via
MessageListener - Event flow: Run Start → Tool Call(s) → Text Message Stream → Run Finished
- TypeScript
- JavaScript
AI Moderation
AI Moderation automatically reviews messages for inappropriate content in real-time. Key Points:- Supports Text, Image, and Video messages only
- Moderation statuses:
PENDING→APPROVEDorDISAPPROVED - Enable and configure rules in the CometChat Dashboard
- TypeScript
- JavaScript
AI User Copilot
AI User Copilot provides smart features that enhance user productivity. These features are enabled in the Dashboard and auto-integrate with UI Kits.Configuration Options
AI Agents Configuration
AI Moderation Configuration
Moderation Status Values
Next Steps
AI Agents
Full documentation for AI Agents integration
AI Moderation
Complete AI Moderation implementation guide
AI User Copilot
Smart Replies, Conversation Starter, and Summary
Troubleshooting
Common issues and fixes