> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-platform-docs-release.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Conversation Summary

> AI Conversation Summary — CometChat documentation.

AI Conversation Summary is a class which generates a summary of a given conversation.

### Integration

`AI Conversation Summary` will be enabled by default if it is enabled in the Dashboard. The UI & functionality of `AI Conversation Summary` can be customized via Configuration.

<Tabs>
  <Tab title="JavaScript">
    ```js theme={null}
    const conversationSummaryConfiguration = new AIConversationSummaryConfiguration({});
    ```
  </Tab>
</Tabs>

This configuration needs to be passed to `AI Smart Replies` Class when it is passed to setAiFeatures() method of `UIKitSettingsBuilder`.

<Tabs>
  <Tab title="JavaScript">
    ```js theme={null}
    const aiFeatures = [new AIConversationSummaryExtension(conversationSummaryConfiguration)];

    // Pass this list of features to setAiFeatures method.
    new UIKitSettingsBuilder().setAiFeatures(aiFeatures);
    ```
  </Tab>
</Tabs>

| Properties    | Type                                                                                    | Description                                                                       |
| ------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| configuration | [AIConversationSummaryConfiguration](/web-shared/ai-conversation-summary-configuration) | This is a configuration to customise behaviour & UI of `AI Conversation Summary`. |
