> ## Documentation Index
> Fetch the complete documentation index at: https://docs.typingmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload training files for AI Agent

Upload documents to help the AI agent understand your domain knowledge better!

## **🚀 How it works?**

* Open the AI Agent editor
* Toggle the Training files within the knowledge section
* Upload your training files for the AI Agent

Here are some notes:

* Assign a model to your AI Agent before adding training files.
* Your uploaded documents will be included directly to the model's system instruction.
* Make sure your document fits within the context length of the chosen model.

![image.webp](https://mintcdn.com/typingmind/E9SrGNt7GhkHcOnG/changelog/typingmind/upload-training-files-for-ai-agent/image.webp?fit=max\&auto=format\&n=E9SrGNt7GhkHcOnG\&q=85\&s=a6fcacdcc14145b87a38b8f457b62f49)

## ✨ Stay updated

Follow us on [Twitter](https://x.com/TypingMindApp) to stay informed about the latest updates, tips, and tutorials:

[https://x.com/TypingMindApp/status/1843958803307651511](https://x.com/TypingMindApp/status/1843958803307651511)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.