# File Upload

### Interactive Guide

{% embed url="<https://app.arcade.software/share/8GCw5YFhwuwtAKtHcxvC>" %}

***

### What is Training via File Upload?

Training your AI chatbot via **File Upload** allows you to provide documents, PDFs, spreadsheets, or other text-based files containing the data your chatbot needs to respond accurately to user queries.

By uploading files:

* Your chatbot can reference the content directly.
* Responses are aligned with the information in your uploaded resources.
* You ensure consistent and accurate automation of responses.

***

### Benefits of File Upload Training

* 🎯 **Accurate Knowledge Base:** Chatbot learns directly from the content of your files.
* 🟢 **Time-Saving:** Upload multiple files at once instead of manually entering data.
* ⚡ **Comprehensive Training:** Support for various file formats, enabling richer context.
* 🔧 **Easy Updates:** Add or replace files anytime to update the chatbot’s knowledge.
* 📈 **Improved User Experience:** Provides precise and context-aware responses automatically.

***

{% embed url="<https://www.youtube.com/embed/g1V3iTH4pk0?si=IqFJyu0e-PP6hYC6>" %}

***

### **How to train your AI Chatbot on File Upload?**

1. Log into your BotPenguin, and choose the bot you wish to train.

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

2. Click on **Bot Training** option.

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

3. Click on the "**File Upload**' tab to add the file.
4. Click on Add Files option to add a file.

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

#### File Upload

1. Click on **“File Upload”** to add the file according to which you want to train your AI Chat Bot.
2. Upload the file from your device.
3. And click on **“Train”** to train your AI Chat Bot with this file.

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

***

### FAQ's:

Here are some common FAQ's regarding upload of files:

<details>

<summary>How long does it take for the chatbot to start using my uploaded data?</summary>

Once your file or website data is uploaded, the system typically marks the training as "complete" within a few seconds to a couple of minutes. After that, your chatbot can start using the data.

</details>

<details>

<summary>Why does it say "training complete" but responses are still slow?</summary>

“Training complete” means the data has been processed and stored. However, depending on the AI model you’re using, it might still take a few minutes to generate smart responses based on that data.

</details>

<details>

<summary>Which AI model gives the fastest responses after training?</summary>

The GPT-4o model is the fastest — it usually gives responses in under a minute. It’s ideal for speed and efficiency.

</details>

<details>

<summary>What’s the difference between GPT-4o and the default Assistant in terms of response time?</summary>

GPT-4o responds almost instantly. The Assistant model (used by default) takes about **2–5 minutes** to fully reflect changes and provide optimized answers from the newly trained data.

</details>

<details>

<summary>Which model should I use for best results with my uploaded content?</summary>

For the most accurate and stable responses based on your trained data, we recommend using the **Assistant model**, even though it may take slightly longer to respond.

</details>

<details>

<summary>How may documents can I train my bot on?</summary>

There is essentially no limit on the number of documents you can train your bot on. It depends on the size of the document, your plan, and the time taken for the training.

</details>

If everything is correct and you are still unable to move forward, write to us at <support@botpenguin.com>. We will respond back within 48 business hours.


---

# 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://help.botpenguin.com/bots/instagram-bot/train-your-ai-chatbot/file-upload.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.
