AI Integration Quick Reference
AI Integration Quick Reference
Smart Replies
Get AI-generated reply suggestions for a conversation. Returns an object with positive, negative, and neutral suggestions.- TypeScript
- JavaScript
| Parameter | Type | Description |
|---|---|---|
receiverId | string | UID or GUID of the conversation |
receiverType | string | CometChat.RECEIVER_TYPE.USER or CometChat.RECEIVER_TYPE.GROUP |
Conversation Starter
Get AI-generated opening lines for a new conversation. Returns an array of suggested messages.- TypeScript
- JavaScript
Conversation Summary
Get an AI-generated summary of a conversation. Returns a string summarizing the conversation.- TypeScript
- JavaScript
Ask Bot
Send a question to a specific AI bot and get a response.- TypeScript
- JavaScript
| Parameter | Type | Description |
|---|---|---|
receiverId | string | UID or GUID of the conversation context |
receiverType | string | CometChat.RECEIVER_TYPE.USER or CometChat.RECEIVER_TYPE.GROUP |
botUID | string | UID of the AI bot to query |
question | string | The question to ask the bot |
Next Steps
AI Agents
Intelligent automated conversations with real-time streaming
AI Moderation
Automatically moderate messages with AI
Send Messages
Send text messages that trigger AI responses
Smart Chat Features Overview
Dashboard configuration and UI Kit integration