AI Integration Quick Reference
AI Integration Quick Reference
Smart Replies
UsegetSmartReplies() to get AI-suggested replies for the current conversation context.
- Kotlin
- Java
| Parameter | Description |
|---|---|
receiverId | UID of the user or GUID of the group |
receiverType | CometChatConstants.RECEIVER_TYPE_USER or RECEIVER_TYPE_GROUP |
HashMap<String, String> of suggested reply options.
Conversation Starter
UsegetConversationStarter() to get AI-suggested opening messages for a new conversation.
- Kotlin
- Java
| Parameter | Description |
|---|---|
receiverId | UID of the user or GUID of the group |
receiverType | CometChatConstants.RECEIVER_TYPE_USER or RECEIVER_TYPE_GROUP |
List<String> of suggested conversation openers.
Conversation Summary
UsegetConversationSummary() to get an AI-generated summary of the conversation history.
- Kotlin
- Java
| Parameter | Description |
|---|---|
receiverId | UID of the user or GUID of the group |
receiverType | CometChatConstants.RECEIVER_TYPE_USER or RECEIVER_TYPE_GROUP |
String containing the AI-generated conversation summary.
Next Steps
AI Agents
Integrate AI-powered agents for automated interactions
AI Moderation
Automatically review messages for inappropriate content
AI User Copilot Overview
Configure AI Copilot features in the Dashboard
Send Messages
Send messages in conversations