# Documents and Files

<figure><img src="/files/7k0G0TM9NMcX1z3Y943K" alt=""><figcaption><p>Documents and Files type</p></figcaption></figure>

For **Documents and Files** in the Knowledge Management (KM) system, users can upload files with the following extensions:

* **.pdf** (Portable Document Format)
* **.docx** (Microsoft Word Document)
* **.html** (Web Page Format)
* **.csv**✨ (Comma-Separated Value)

#### Note:

* **Multiple Uploads**: Users can upload **more than one file** for each KM entry, allowing for comprehensive data management.
* **Maximum Chunk Size**: Users can set the **maximum number of tokens per chunk** at the time of creation. This setting cannot be edited later, ensuring consistent chunking during processing.

<figure><img src="/files/R3zFVJ36r1bTt9oCqLlW" alt=""><figcaption><p>'Need to config' status</p></figcaption></figure>

For **.pdf, .docx, and .html,** Users can select the **'Chunk Resolution'** which breaking content into manageable sections:

* **Main Topics:** Broad headings representing primary content divisions.
* **Subtopics:** Specific headings under main topics, detailing particular aspects.
* **Secondary Topics:** More detailed sections under subtopics, offering deeper insights.
* **Detailed Subtopics:** The most specific points under secondary topics, focusing on particular details or examples.

<figure><img src="/files/NbXTvfsikXEHOdjiDNbU" alt=""><figcaption></figcaption></figure>

### New **upgraded version of Documents and Files type**

For **.pdf,** Users can click the **'Visual Extraction'** to picture content:&#x20;

* Chunk: 1 page/chunk

<figure><img src="/files/SJz4TxpWZj5M8f3CsfPm" alt=""><figcaption></figcaption></figure>


---

# 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://docs.amitysolutions.com/amity-solutions/amity-bots-gen-ai-platform/knowledge-base/documents-and-files.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.
