Skip to content
Open
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
4 changes: 0 additions & 4 deletions ui-kit/react/v6/ai-assistant-chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"onBackButtonClicked": "() => void",
"onCloseButtonClicked": "() => void",
"onSendButtonClick": "(message: CometChat.BaseMessage, previewMessageMode?: PreviewMessageMode) => void",
"onError": "(e: CometChat.CometChatException) => void"

Check warning on line 45 in ui-kit/react/v6/ai-assistant-chat.mdx

View check run for this annotation

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

ui-kit/react/v6/ai-assistant-chat.mdx#L45

Did you really mean 'onError'?
},
"events": null,
"minimalExample": "<CometChatAIAssistantChat user={agentUser} />"
Expand All @@ -54,10 +54,6 @@

`CometChatAIAssistantChat` is a standalone AI chat panel. It composes an internal message header, message list, and message composer into a self-contained AI conversation experience. It requires a `CometChat.User` representing the AI agent.

<Note>
**1:1 conversations only.** AI Agents currently respond only in one-on-one conversations between an end user and the agent user. They do not respond to messages sent in groups, even if the agent user is added as a member or owner. Group support is on the roadmap — share your use case on [feedback.cometchat.com](https://feedback.cometchat.com).
</Note>

```tsx lines
import { useState, useEffect } from "react";
import { CometChat } from "@cometchat/chat-sdk-javascript";
Expand Down Expand Up @@ -267,9 +263,9 @@
| `emptyChatImageView` | `JSX.Element` | Empty state image |
| `emptyChatGreetingView` | `JSX.Element` | Empty state greeting title |
| `emptyChatIntroMessageView` | `JSX.Element` | Empty state intro subtitle |
| `emptyView` | `JSX.Element` | Message list empty state |

Check warning on line 266 in ui-kit/react/v6/ai-assistant-chat.mdx

View check run for this annotation

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

ui-kit/react/v6/ai-assistant-chat.mdx#L266

Did you really mean 'emptyView'?
| `loadingView` | `JSX.Element` | Loading state |

Check warning on line 267 in ui-kit/react/v6/ai-assistant-chat.mdx

View check run for this annotation

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

ui-kit/react/v6/ai-assistant-chat.mdx#L267

Did you really mean 'loadingView'?
| `errorView` | `JSX.Element` | Error state |

Check warning on line 268 in ui-kit/react/v6/ai-assistant-chat.mdx

View check run for this annotation

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

ui-kit/react/v6/ai-assistant-chat.mdx#L268

Did you really mean 'errorView'?
| `aiAssistantTools` | `CometChatAIAssistantTools` | Tool/function call handlers |
| `templates` | `CometChatMessageTemplate[]` | Message bubble templates |

Expand Down