# AI Actions

### Overview

The **Ask AI on Files** feature allows users to interact with an AI assistant directly within the file viewer. It provides contextual support for understanding, summarizing, analyzing, and querying the content of supported files.

<figure><img src="/files/9rHWHoXstkkkGuhmru9F" alt="" width="563"><figcaption></figcaption></figure>

***

### Admin Settings

Before users can start using Ask AI, it must be enabled in the Admin Portal. This ensures that organizations have control over where and how the feature is available.

To enable Ask AI on files, navigate to **Admin Portal > Modules > Files > AI Actions**. Locate the **Ask AI** action and toggle it **ON** (default is OFF).

Once enabled, users will see the **Ask AI** option in the file viewer.

***

### Table View

The Table view provides admins with usage insights, access to detailed logs, and options to customize the Ask AI feature to align with organizational preferences.

**Usage column**: Displays the total number of times the feature has been used from the file viewer.

**View logs**: Available under the **“…” menu**, this shows which users have used Ask AI and the corresponding timestamps.

{% hint style="info" %}
The Ask AI **icon and label** can be customized under [**Domain > AI Settings > Customize Module Conversation AI**](https://guides.mangoapps.com/admin-guide/domain-settings/ai-settings#ai-generated-email-summary).&#x20;
{% endhint %}

***

### Supported File Types

Ask AI works with a wide range of commonly used file types, making it versatile for different business needs. Whether reviewing a document, analyzing data, or searching through video transcripts, Ask AI can provide helpful insights.

It is available for the following file formats (up to **100 MB** in size):

* **Documents & Presentations**: PDF, Microsoft Word (.doc/.docx), PowerPoint (.ppt/.pptx), Google Docs/Slides
* **Spreadsheets & Data**: Microsoft Excel (.xlsx), Google Sheets, CSV, JSON
* **Videos with transcripts**

If a file exceeds 100 MB, the Ask AI option will not appear.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.mangoapps.com/admin-guide/module-settings/files/ai-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
