Overview
CometChat AI features enhance your chat experience with intelligent suggestions and summaries. Once enabled in your dashboard, they integrate automatically into the UI Kit components.
| Feature | What It Does | Where It Appears |
|---|---|---|
| Conversation Starters | Suggests opening messages for new chats | CometChatMessageList |
| Smart Replies | Suggests responses based on context | CometChatMessageComposer |
| Conversation Summary | Summarizes long conversations | CometChatMessageComposer |
| AI Assistant | Chat with AI bot | CometChatAIAssistanceChatHistory |
Enable AI Features
Open CometChat Dashboard
Go to app.cometchat.com and select your app.
Navigate to AI Features
Click AI in the sidebar, then enable the features you want:
- ✅ Conversation Starter
- ✅ Smart Replies
- ✅ Conversation Summary
Conversation Starters
When a user opens a new chat with no message history, AI suggests conversation openers.
How It Works
- User opens chat with someone they haven’t messaged before
- AI analyzes user profiles and context
- Suggested messages appear in the message list
- User taps a suggestion to send it
Implementation
Conversation starters appear automatically inCometChatMessages:
- Swift
Smart Replies
AI suggests contextual responses based on the conversation.
How It Works
- User receives a message
- AI analyzes the message and conversation context
- Smart reply suggestions appear in the composer action sheet
- User taps a suggestion to insert it
Implementation
Smart replies appear automatically inCometChatMessageComposer:
- Swift
Conversation Summary
AI generates summaries of long conversations so users can catch up quickly.
How It Works
- User opens a conversation with many messages
- User taps the summary option in composer action sheet
- AI processes the conversation
- Summary of key points is displayed
Implementation
Conversation summary is available automatically:- Swift
AI Assistant Chat History
View and continue conversations with AI assistants.Basic Implementation
- Swift
Full Implementation with Callbacks
- Swift
Customize AI Chat History Styling
- Swift
Complete App with AI Features
Full implementation showing all AI features:- Swift
Troubleshooting
| Problem | Solution |
|---|---|
| AI features not appearing | Enable them in CometChat Dashboard → AI |
| Conversation starters not showing | Only appear for new conversations with no messages |
| Smart replies not appearing | Ensure feature is enabled and messages exist |
| Summary not generating | Need sufficient messages in conversation |
| AI Assistant empty | Verify user has AI chat history |
Related
- AI Assistant Chat History - Full component documentation
- Message List - Where conversation starters appear
- Message Composer - Where smart replies appear
- Conversation Starter Guide - Platform configuration
- Smart Replies Guide - Platform configuration