> For the complete documentation index, see [llms.txt](https://help.botpenguin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.botpenguin.com/ai-agents/creating-ai-agents-in-botpenguin/training-your-ai-agent/file-upload.md).

# File Upload

### What is this?

The **File Upload** tab allows you to train your AI Agent on document-based content. Upload documents such as policy files, product manuals, process sheets, and the agent will learn from them to support user queries with accuracy.

***

### Why is it beneficial?

* **Internal knowledge training**: Equip the agent to answer from policy, HR, legal, or operational docs
* **Multi-format support**: Accepts PDFs, docs, spreadsheets, and more
* **Quick update control**: Upload or replace files anytime to keep knowledge current

***

### How to configure it

1. Go to [**BotPenguin**](https://app.botpenguin.com/) and log in to your account.
2. Go to **Agents**, then select the agent you want to work with.
3. Open the **Agent Knowledge Base** section, and click on the **File Upload** tab.

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

4. Click on the **Upload File** button. You can upload files in any of the following formats:

* **PDF, DOC, DOCX, PPTX, TXT, CSV, XLS, XLSX**

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

* (Optional) You can also train the agent using an **RSS Feed** by entering the feed URL.

<figure><img src="/files/2PbI0GG2Lux1jhCEbBnY" alt=""><figcaption></figcaption></figure>

5. After uploading, click **Save** to initiate training or **Discard** to cancel the upload.
6. All uploaded files appear in a table below with the following details:
   * **File Name**: The name of the uploaded document
   * **Training Status**: Shows whether training is *Completed*, *In Progress*, etc.
   * **Last Trained**: Timestamp for the last successful training using that file
   * **Actions**:
     * **Delete** the file
     * **Download** the file
7. Use the **Search Bar** to locate specific files by name or filter across your training library.

***

### Need Help?

If your files fail to upload, training doesn’t complete, or answers appear inconsistent, contact us at [**support@botpenguin.com**](mailto:support@botpenguin.com). We’ll respond within 48 business hours.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.botpenguin.com/ai-agents/creating-ai-agents-in-botpenguin/training-your-ai-agent/file-upload.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
