Skip to main content

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.

Enable AI Features

1

Open CometChat Dashboard

Go to app.cometchat.com and select your app.
2

Navigate to AI Features

Click AI in the sidebar, then enable the features you want:
  • ✅ Conversation Starter
  • ✅ Smart Replies
  • ✅ Conversation Summary
3

Configure (Optional)

Customize AI behavior, response style, and triggers in the dashboard settings.
That’s it! AI features now work automatically in your app.

Conversation Starters

When a user opens a new chat with no message history, AI suggests conversation openers.

How It Works

  1. User opens chat with someone they haven’t messaged before
  2. AI analyzes user profiles and context
  3. Suggested messages appear in the message list
  4. User taps a suggestion to send it

Implementation

Conversation starters appear automatically in CometChatMessages:

Smart Replies

AI suggests contextual responses based on the conversation.

How It Works

  1. User receives a message
  2. AI analyzes the message and conversation context
  3. Smart reply suggestions appear in the composer action sheet
  4. User taps a suggestion to insert it

Implementation

Smart replies appear automatically in CometChatMessageComposer:

Conversation Summary

AI generates summaries of long conversations so users can catch up quickly.

How It Works

  1. User opens a conversation with many messages
  2. User taps the summary option in composer action sheet
  3. AI processes the conversation
  4. Summary of key points is displayed

Implementation

Conversation summary is available automatically:

AI Assistant Chat History

View and continue conversations with AI assistants.

Basic Implementation

Full Implementation with Callbacks

Customize AI Chat History Styling