You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`CometChatAIAssistantChat` is a composite component that assembles the message header, message list, and message composer to provide an AI agent chat experience. It supports streaming responses, quick starter suggestions, "New Chat" to reset context, and a chat history sidebar.
Enable features from the [CometChat Dashboard](https://app.cometchat.com/) → AI section.
17
+
</Info>
18
+
5
19
## Overview
6
20
7
21
CometChat's AI capabilities greatly enhance user interaction and engagement in your application. Let's understand how the React UI Kit achieves these features.
@@ -10,6 +24,10 @@ CometChat's AI capabilities greatly enhance user interaction and engagement in y
When a user initiates a new chat, the UI kit displays a list of suggested opening lines that users can select, making it easier for them to start a conversation. These suggestions are powered by CometChat's AI, which predicts contextually relevant conversation starters.
@@ -45,3 +63,22 @@ Once you have successfully activated the [Conversation Summary](/fundamentals/ai
The Conversation List + Message View layout provides a familiar two‑panel experience, similar to WhatsApp Web or Slack. Users browse conversations on the left and chat in real time on the right.
7
30
8
31
***
@@ -279,4 +302,21 @@ The sample uses `ensureLogin(uid)` to switch users by logging out if the active
279
302
To build other experiences (One‑to‑One or Tab‑based), reuse `src/lib/cometchat-init.js` and switch the React island component.
The One‑to‑One/Group chat layout focuses on a single conversation, ideal for support chats and private messaging. This guide uses Astro with React islands and the CometChat React UI Kit.
7
30
8
31
***
@@ -267,4 +290,21 @@ The island logs out if a different user session is active, then logs in with `PU
267
290
You can reuse `src/lib/cometchat-init.js` across different chat experiences and swap the island component.
This guide shows how to build a tab‑based messaging UI in Astro using the CometChat React UI Kit. The interface includes sections for Chats, Calls, Users, and Groups with a message panel.
7
27
8
28
***
@@ -357,9 +377,20 @@ The message panel shows only for Chats, Users, or Groups. Calls tab does not ope
0 commit comments