Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ffdf6e6
Update features-core.mdx
swapnil-cometchat Feb 23, 2026
020e0e8
Update features-core.mdx
swapnil-cometchat Feb 23, 2026
a07ca7f
Update features-core.mdx
swapnil-cometchat Feb 23, 2026
59f35c7
Update extensions-overview.mdx
swapnil-cometchat Feb 23, 2026
57e41ec
Update bitly.mdx
swapnil-cometchat Feb 23, 2026
67bba36
Update docs.json
swapnil-cometchat Feb 23, 2026
664dc39
Update docs.json
swapnil-cometchat Feb 23, 2026
1ff2869
updates the format to mintlify
swapnil-cometchat Feb 23, 2026
4b687d1
update docs with mintlify format for extensions
swapnil-cometchat Feb 23, 2026
e683321
updates Smart Chat Features
swapnil-cometchat Feb 23, 2026
5c634eb
Update features-core.mdx
swapnil-cometchat Feb 23, 2026
0e832ef
Update link-preview.mdx
swapnil-cometchat Feb 23, 2026
7fff967
Update bitly.mdx
swapnil-cometchat Feb 23, 2026
fd1bb26
Update bitly.mdx
swapnil-cometchat Feb 23, 2026
4882e32
updates cards
swapnil-cometchat Feb 23, 2026
f2233d9
Update bitly.mdx
swapnil-cometchat Feb 23, 2026
650f9a4
updates the steps for extensions
swapnil-cometchat Feb 23, 2026
c22229d
update the steps for extentions
swapnil-cometchat Feb 23, 2026
00f026d
updates steps for extensions
swapnil-cometchat Feb 23, 2026
d05b610
Update features-core.mdx
swapnil-cometchat Feb 24, 2026
a45fb3d
Update bitly.mdx
swapnil-cometchat Feb 24, 2026
028552e
Update bitly.mdx
swapnil-cometchat Feb 24, 2026
56a2a2a
Update bitly.mdx
swapnil-cometchat Feb 24, 2026
f738e31
Update features-core.mdx
swapnil-cometchat Feb 24, 2026
93a6c56
Update link-preview.mdx
swapnil-cometchat Feb 24, 2026
df9f98b
updates #
swapnil-cometchat Feb 24, 2026
92cf3a4
---
swapnil-cometchat Feb 24, 2026
77617e9
Update pin-message.mdx
swapnil-cometchat Feb 24, 2026
53634a6
Update pin-message.mdx
swapnil-cometchat Feb 24, 2026
7f7fc22
Update rich-media-preview.mdx
swapnil-cometchat Feb 24, 2026
82574a9
Update save-message.mdx
swapnil-cometchat Feb 24, 2026
c8d5cec
Update thumbnail-generation.mdx
swapnil-cometchat Feb 24, 2026
f82408e
Update pin-message.mdx
swapnil-cometchat Feb 24, 2026
7ff46a1
Update rich-media-preview.mdx
swapnil-cometchat Feb 24, 2026
1803177
Update bitly.mdx
swapnil-cometchat Feb 24, 2026
93f403c
Update pin-message.mdx
swapnil-cometchat Feb 24, 2026
7a46ee3
Update link-preview.mdx
swapnil-cometchat Feb 24, 2026
affd133
Update features-core.mdx
swapnil-cometchat Feb 24, 2026
7091bd1
Update features-core.mdx
swapnil-cometchat Feb 24, 2026
658f14f
updates the code
swapnil-cometchat Feb 24, 2026
bec89a3
Update .gitignore
swapnil-cometchat Feb 24, 2026
d902feb
Update link-preview.mdx
swapnil-cometchat Feb 24, 2026
17d918a
Update features-core.mdx
swapnil-cometchat Feb 24, 2026
d6fdcd3
Update giphy.mdx
swapnil-cometchat Feb 24, 2026
c453369
updates the docs
swapnil-cometchat Feb 24, 2026
03facb4
Update .gitignore
swapnil-cometchat Mar 6, 2026
eb79810
Create .mintignore
swapnil-cometchat Mar 6, 2026
e62a93a
updates platform docs
swapnil-cometchat Mar 6, 2026
7d94ecd
updates mintlify components
swapnil-cometchat Mar 6, 2026
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
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
.DS_Store

.kiro/

# IDE files
.idea/

# Python caches
__pycache__/
*.pyc
/codebase
/doc-auditor
/docs-templates
/docs-test-suite
/prompts
/docs-templates
8 changes: 8 additions & 0 deletions .mintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.kiro/
/codebase
/doc-auditor
/prompts
/docs-templates
/mintignore
/doc-auditor
/docs-test-suite
211 changes: 125 additions & 86 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,75 +121,14 @@
{
"group": "Extensions",
"pages": [
"fundamentals/extensions-overview",
{
"group": "User Experience",
"pages": [
"fundamentals/message-shortcuts",
"fundamentals/avatars",
"fundamentals/thumbnail-generation",
"fundamentals/link-preview",
"fundamentals/rich-media-preview",
"fundamentals/voice-transcription",
"fundamentals/pin-message",
"fundamentals/save-message",
"fundamentals/tinyurl",
"fundamentals/bitly"
]
},
"fundamentals/notification-extensions",
{
"group": "User Engagement",
"pages": [
"fundamentals/email-replies",
"fundamentals/smart-replies",
"fundamentals/message-translation",
"fundamentals/emojis",
"fundamentals/polls",
"fundamentals/reactions",
"fundamentals/stickers-stipop",
"fundamentals/stickers",
"fundamentals/video-broadcasting",
"fundamentals/mentions",
"fundamentals/giphy",
"fundamentals/tenor",
"fundamentals/gfycat",
"fundamentals/reminders"
]
},
"fundamentals/moderation-extensions",
{
"group": "Collaboration",
"pages": [
"fundamentals/collaborative-whiteboard",
"fundamentals/collaborative-document"
]
},
{
"group": "Customer Support",
"pages": [
"fundamentals/chatwoot",
"fundamentals/intercom"
]
},
{
"group": "Security",
"pages": [
"fundamentals/disappearing-messages",
"fundamentals/end-to-end-encryption"
]
}
"fundamentals/extensions-user-experience",
"fundamentals/extensions-user-engagement",
"fundamentals/extensions-collaboration",
"fundamentals/extensions-security",
"fundamentals/extensions-customer-support"
]
},
{
"group": "AI User Copilot",
"pages": [
"fundamentals/ai-user-copilot/overview",
"fundamentals/ai-user-copilot/conversation-starter",
"fundamentals/ai-user-copilot/smart-replies",
"fundamentals/ai-user-copilot/conversation-summary"
]
}
"fundamentals/smart-chat-features"
]
},
{
Expand Down Expand Up @@ -5243,21 +5182,121 @@
}
},
"redirects": [
{
"source": "/fundamentals/bitly",
"destination": "/fundamentals/extensions-user-experience#bitly"
},
{
"source": "/fundamentals/link-preview",
"destination": "/fundamentals/extensions-user-experience#link-preview"
},
{
"source": "/fundamentals/message-shortcuts",
"destination": "/fundamentals/extensions-user-experience#message-shortcuts"
},
{
"source": "/fundamentals/pin-message",
"destination": "/fundamentals/extensions-user-experience#pin-message"
},
{
"source": "/fundamentals/rich-media-preview",
"destination": "/fundamentals/extensions-user-experience#rich-media-preview"
},
{
"source": "/fundamentals/save-message",
"destination": "/fundamentals/extensions-user-experience#save-message"
},
{
"source": "/fundamentals/thumbnail-generation",
"destination": "/fundamentals/extensions-user-experience#thumbnail-generation"
},
{
"source": "/fundamentals/tinyurl",
"destination": "/fundamentals/extensions-user-experience#tinyurl"
},
{
"source": "/fundamentals/voice-transcription",
"destination": "/fundamentals/extensions-user-experience#voice-transcription"
},
{
"source": "/fundamentals/giphy",
"destination": "/fundamentals/extensions-user-engagement#giphy"
},
{
"source": "/fundamentals/message-translation",
"destination": "/fundamentals/extensions-user-engagement#message-translation"
},
{
"source": "/fundamentals/polls",
"destination": "/fundamentals/extensions-user-engagement#polls"
},
{
"source": "/fundamentals/reminders",
"destination": "/fundamentals/extensions-user-engagement#reminders"
},
{
"source": "/fundamentals/stickers",
"destination": "/fundamentals/extensions-user-engagement#stickers"
},
{
"source": "/fundamentals/stickers-stipop",
"destination": "/fundamentals/extensions-user-engagement#stipop"
},
{
"source": "/fundamentals/tenor",
"destination": "/fundamentals/extensions-user-engagement#tenor"
},
{
"source": "/fundamentals/collaborative-document",
"destination": "/fundamentals/extensions-collaboration#collaborative-document"
},
{
"source": "/fundamentals/collaborative-whiteboard",
"destination": "/fundamentals/extensions-collaboration#collaborative-whiteboard"
},
{
"source": "/fundamentals/disappearing-messages",
"destination": "/fundamentals/extensions-security#disappearing-messages"
},
{
"source": "/fundamentals/chatwoot",
"destination": "/fundamentals/extensions-customer-support#chatwoot"
},
{
"source": "/fundamentals/intercom",
"destination": "/fundamentals/extensions-customer-support#intercom"
},
{
"source": "/fundamentals/ai-user-copilot/overview",
"destination": "/fundamentals/smart-chat-features"
},
{
"source": "/fundamentals/ai-user-copilot/conversation-starter",
"destination": "/fundamentals/smart-chat-features#conversation-starter"
},
{
"source": "/fundamentals/ai-user-copilot/smart-replies",
"destination": "/fundamentals/smart-chat-features#smart-replies"
},
{
"source": "/fundamentals/ai-user-copilot/conversation-summary",
"destination": "/fundamentals/smart-chat-features#conversation-summary"
},
{
"source": "/ai/overview",
"destination": "/fundamentals/ai-user-copilot/overview"
"destination": "/fundamentals/smart-chat-features"
},
{
"source": "/ai/conversation-starter",
"destination": "/fundamentals/ai-user-copilot/conversation-starter"
"destination": "/fundamentals/smart-chat-features#conversation-starter"
},
{
"source": "/ai/smart-replies",
"destination": "/fundamentals/ai-user-copilot/smart-replies"
"destination": "/fundamentals/smart-chat-features#smart-replies"
},
{
"source": "/ai/conversation-summary",
"destination": "/fundamentals/ai-user-copilot/conversation-summary"
"destination": "/fundamentals/smart-chat-features#conversation-summary"
},
{
"source": "/webhooks/overview",
Expand Down Expand Up @@ -5341,15 +5380,15 @@
},
{
"source": "/extensions/save-message",
"destination": "/fundamentals/save-message"
"destination": "/fundamentals/extensions-user-experience#save-message"
},
{
"source": "/extensions/tinyurl",
"destination": "/fundamentals/tinyurl"
"destination": "/fundamentals/extensions-user-experience#tinyurl"
},
{
"source": "/extensions/bitly",
"destination": "/fundamentals/bitly"
"destination": "/fundamentals/extensions-user-experience#bitly"
},
{
"source": "/extensions/email-replies",
Expand All @@ -5361,75 +5400,75 @@
},
{
"source": "/extensions/giphy",
"destination": "/fundamentals/giphy"
"destination": "/fundamentals/extensions-user-engagement#giphy"
},
{
"source": "/extensions/tenor",
"destination": "/fundamentals/tenor"
"destination": "/fundamentals/extensions-user-engagement#tenor"
},
{
"source": "/extensions/gfycat",
"destination": "/fundamentals/gfycat"
},
{
"source": "/extensions/reminders",
"destination": "/fundamentals/reminders"
"destination": "/fundamentals/extensions-user-engagement#reminders"
},
{
"source": "/extensions/smart-replies",
"destination": "/fundamentals/smart-replies"
},
{
"source": "/extensions/message-translation",
"destination": "/fundamentals/message-translation"
"destination": "/fundamentals/extensions-user-engagement#message-translation"
},
{
"source": "/extensions/emojis",
"destination": "/fundamentals/emojis"
},
{
"source": "/extensions/polls",
"destination": "/fundamentals/polls"
"destination": "/fundamentals/extensions-user-engagement#polls"
},
{
"source": "/extensions/reactions",
"destination": "/fundamentals/reactions"
},
{
"source": "/extensions/stickers-stipop",
"destination": "/fundamentals/stickers-stipop"
"destination": "/fundamentals/extensions-user-engagement#stipop"
},
{
"source": "/extensions/stickers",
"destination": "/fundamentals/stickers"
"destination": "/fundamentals/extensions-user-engagement#stickers"
},
{
"source": "/extensions/video-broadcasting",
"destination": "/fundamentals/video-broadcasting"
},
{
"source": "/extensions/collaborative-whiteboard",
"destination": "/fundamentals/collaborative-whiteboard"
"destination": "/fundamentals/extensions-collaboration#collaborative-whiteboard"
},
{
"source": "/extensions/collaborative-document",
"destination": "/fundamentals/collaborative-document"
"destination": "/fundamentals/extensions-collaboration#collaborative-document"
},
{
"source": "/extensions/chatwoot",
"destination": "/fundamentals/chatwoot"
"destination": "/fundamentals/extensions-customer-support#chatwoot"
},
{
"source": "/extensions/intercom",
"destination": "/fundamentals/intercom"
"destination": "/fundamentals/extensions-customer-support#intercom"
},
{
"source": "/extensions/moderation-extensions",
"destination": "/fundamentals/moderation-extensions"
},
{
"source": "/extensions/disappearing-messages",
"destination": "/fundamentals/disappearing-messages"
"destination": "/fundamentals/extensions-security#disappearing-messages"
},
{
"source": "/extensions/end-to-end-encryption",
Expand Down
32 changes: 19 additions & 13 deletions fundamentals/ai-user-copilot/conversation-starter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,33 @@ title: "Conversation Starter"

## Before you begin

1. Set up the AI settings through the CometChat dashboard as detailed in the [Overview section](/fundamentals/ai-user-copilot/overview).
2. Navigate to Chat > Features, under **AI User Copilot**, enable **Conversation Starter**.

<Frame>
<img src="/images/5e5dd82e-cometchat-ai-features-conversation-starter-3a48939de0ec4d575fb5c788552da0a2.png" />
</Frame>
3. Implement the chat functionality in your applications using [CometChat's **v4** Chat SDKs](/sdk/javascript/overview).
<Steps>
<Step title="Configure AI settings">
Set up AI in the CometChat dashboard as detailed in the [Overview](/fundamentals/ai-user-copilot/overview).
</Step>
<Step title="Enable Conversation Starter">
Go to **Chat** → **Features**, under **AI User Copilot**, enable **Conversation Starter**.
</Step>
<Step title="Use v4 Chat SDKs">
Implement chat using [CometChat v4 Chat SDKs](/sdk/javascript/overview).
</Step>
</Steps>

<Frame>
<img src="/images/5e5dd82e-cometchat-ai-features-conversation-starter-3a48939de0ec4d575fb5c788552da0a2.png" />
</Frame>

## How does it work?

CometChat AI analyzes the user's tone and writing style by reviewing recent messages sent by that user within the application.

The SDK includes a method for retrieving conversation starters in a chat. This method returns an array containing three potential starters for the conversation.

The number of messages to be fetched to generate relevant conversation starter is configurable. By default the CometChat AI takes the latest `1000` messages. This can be configured to specific timestamps as well.
The number of messages used to generate conversation starters is configurable. By default, CometChat AI uses the latest `1000` messages. You can also use timestamps.

| Configuration | Value |
| ------------- | ------------------------------------------------------ |
| lastNMessages | This will fetch specific number of messages. |
| fromTimestamp | This will fetch messages from a particular timestamp. |
| toTimestamp | This will fetch messages until a particular timestamp. |
- **lastNMessages**: Fetch a specific number of recent messages.
- **fromTimestamp**: Fetch messages from a particular timestamp.
- **toTimestamp**: Fetch messages up to a particular timestamp.

<Note>

Expand Down
Loading