Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ui-kit/react/components/ai-assistant-chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@
## Overview

`CometChatAIAssistantChat` is an AI agent chat interface. It renders a full chat experience with streaming responses, suggested message pills, tool calling support, and a conversation history sidebar. Pass a `CometChat.User` representing the AI assistant and the component handles the rest — message threading, streaming display, and composer integration.

<Note>
**1:1 and group conversations.** AI Agents work in both one-on-one and group conversations. In a 1:1 chat, the end user talks directly with the agent user. In a group, the agent participates as a member — its messages (including cards) are delivered and attributed like any other member's message. If the group contains only one user and one agent, the agent responds automatically. In groups with more than two members, the agent only responds when @mentioned.
</Note>

<Info>
**Live Preview** — interact with the default AI assistant chat.

Expand Down Expand Up @@ -463,7 +468,7 @@

---

### streamingSpeed

Check warning on line 471 in ui-kit/react/components/ai-assistant-chat.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/components/ai-assistant-chat.mdx#L471

Did you really mean 'streamingSpeed'?

Milliseconds between text chunks during streaming display.

Expand Down