> For the complete documentation index, see [llms.txt](https://docs.amitysolutions.com/amity-solutions/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.amitysolutions.com/amity-solutions/amity-bots-gen-ai-platform/knowledge-base/csv-file.md).

# CSV File

<figure><img src="https://lh7-rt.googleusercontent.com/slidesz/AGV_vUePG2g1uolOJ5z0D6hMCnCeoy7lgdaMMpxPPd_5Iu286JVGL2WMBDfpCPSzAO_oRKPAtHmlyrlvENw3zDUNfun4DUe4QI-74txLKO4LJ8mpUw5Ym9kbYNTFkdnjvCYlxbSgbnMK4bRhO1cPBkSn0GJEtzG-Ly3o=s2048?key=0Vuv-rJx-rGDStWDzAwBDw" alt=""><figcaption><p>CSV File Type</p></figcaption></figure>

For **CSV File** uploads in Knowledge Management (KM), the system supports the file extension:

* **.csv** (Comma-Separated Values)

Users can upload **only one CSV file** for each KM entry, ensuring that data remains structured and focused on a single file per knowledge item.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/slidesz/AGV_vUdId9joj1XUVxzMVMIEApH6enDwE9VKHf5dN1dK5-myAAKDaWvJqxgphMuKlxQrzMV9ayZYLI7R1B8Obu8e91Oe8pqHaSLixrccGEUQpZJcC3Z3GQrGrJmVX1dGdPKFfi4Ac-4o_j1-Gn3Yld8k1fYreZnUS6am=s2048?key=0Vuv-rJx-rGDStWDzAwBDw" alt=""><figcaption><p>CSV Format</p></figcaption></figure>

For **CSV File validation** in the Knowledge Management (KM) system, the following headers are required:

* **id**\* (mandatory)
* **content**\* (mandatory)
* **title** (optional, auto-generated if not provided)
* **keywords** (optional, auto-generated if not provided)
* **questions** (optional, auto-generated if not provided)
* **metadata** (optional)

Note:

* **Mandatory fields**: `id` and `content` must be present in the CSV file for it to be valid.
* **Maximum no. of rows:** 3000 rows
* **Auto-generation**: If the user select 'generate titles, keywords, and questions', the system will automatically generate them. If users input these fields, their data will be appended.<br>

  <figure><img src="/files/dkGoCpKtwT843dtI4DwJ" alt="" width="375"><figcaption><p>Create CSV File Type</p></figcaption></figure>
* **Ignored fields**: Any additional headers outside of these specified ones will be ignored during the validation process.
