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

# AI Assist Bot

> AI Assist Bot — CometChat documentation.

`AI Assist Bot` is a class which can be used to ask a question to a bot in a given conversation.

### Integration

`AI Assist Bot` will be enabled by default if you have already created & enabled AI Bot in the Dashboard. The UI & functionality of `AI Assist Bot` can be customized via Configuration.

<Tabs>
  <Tab title="JavaScript">
    ```js theme={null}
    const aiAssistBotConfiguration = new AIAssistBotConfiguration({});
    ```
  </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 AIAssistBotExtension(aiAssistBotConfiguration)];

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

| Properties    | Type                                                                | Description                                                                           |
| ------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| configuration | [AIAssistBotConfiguration](/web-shared/ai-assist-bot-configuration) | This is a configuration to customise behaviour & UI of `AI Assist Bot Configuration`. |
