Implement agentic message flows in your Flutter app using CometChat V6 UIKit. This guide covers how to integrate AI-powered message handling with the chat interface.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Message Agentic Flow feature enables AI-driven interactions within your chat application. In V6, AI features are handled throughMessageTemplateUtils rather than explicit extension registration.
Integration
Enable AI Features
Ensure AI features are enabled on your CometChat Dashboard. V6 handles AI integration internally.Custom AI Message Handling
- Dart
AI Assistant Chat History
Use theCometChatAIAssistantChatHistory widget to display past AI interactions:
- Dart
Key V6 Differences
| Aspect | V5 | V6 |
|---|---|---|
| AI extension registration | Explicit via UIKitSettings.aiFeature | Handled internally via MessageTemplateUtils |
| Custom AI templates | Via CometChatUIKit.getDataSource() | Via MessageTemplateUtils and direct template injection |
| AI Assistant widget | CometChatAIAssistantChatHistory | Same widget, same API |