> For the complete documentation index, see [llms.txt](https://help.reekolect.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.reekolect.ai/reekolect-resource-center/how-reekolect-works/bot-management/train-your-ai-chatbot/train-your-ai-chatbot-by-uploading-files..md).

# Train your AI chatbot by uploading files.

This page contains  the stepwise tutorial on how to train the AI chatbot by uploading files into the bot.

## Training bot in text files

1. Navigate to the dashboard and access the bot section. Choose the specific bot you want to train with AI.
2. Next, select the option "Train Your AI Chatbot" displayed on the screen.
3. Next, click on the "File Upload" option provided in the navigation bar at the top.\
   \\

   <figure><img src="https://1368633405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDm8EIACp4ww3pb3Dinlf%2Fuploads%2Fgit-blob-a426ce78795529cf27b5f8bfe483548ff48386b6%2F1%20%E2%80%93%2047.png?alt=media" alt=""><figcaption></figcaption></figure>
4. Here, locate the "Add File" button on the right side of the screen and click on it to upload the file\\

   <figure><img src="https://1368633405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDm8EIACp4ww3pb3Dinlf%2Fuploads%2Fgit-blob-a426ce78795529cf27b5f8bfe483548ff48386b6%2F1%20%E2%80%93%2048.png?alt=media" alt=""><figcaption></figcaption></figure>
5. Now, you can upload the files as needed. Click on the "Upload Files" button, and your files will be uploaded.\
   \\

   <figure><img src="https://1368633405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDm8EIACp4ww3pb3Dinlf%2Fuploads%2Fgit-blob-a426ce78795529cf27b5f8bfe483548ff48386b6%2F1%20%E2%80%93%2049.png?alt=media" alt=""><figcaption></figcaption></figure>
6. Click on the "Train" button to start training your bot.
7. You can also stop the training by clicking on the "Discard" button provided.
8. You can find the training status below in the table.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.reekolect.ai/reekolect-resource-center/how-reekolect-works/bot-management/train-your-ai-chatbot/train-your-ai-chatbot-by-uploading-files..md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
