Files - Upload Training Content
Upload documents to build your chatbot's knowledge base.
What are Files?
Files are documents you upload to BotByte that become your chatbot's knowledge base. When a user asks a question, the chatbot searches through these files using RAG (Retrieval-Augmented Generation) to find relevant information and craft accurate responses.
Uploading Files
- Go to Dashboard - Files - Upload (botbyte.in/dashboard/files/upload)
- Select one or more files from your computer
- Click Upload
Supported File Types
BotByte supports a wide range of file formats:
| Category | Extensions |
|---|---|
| Documents | pdf, docx, pptx, txt, md, csv, json, html, tex, xml |
| Code | js, ts, py, java, cpp, c, rb, php, css |
| Images | jpeg, jpg, png, gif |
| Archives | zip, tar |
How RAG Works
When a user sends a message:
- The message is converted into a vector embedding
- BotByte searches your files for the most relevant chunks of content
- The top matching chunks are included in the AI prompt as context
- The AI generates a response grounded in your actual content
This means the chatbot answers based on your data, not just its general training knowledge.
Best Practices
- Use structured content - Well-organized files with clear headings produce better search results
- Keep content relevant - Only attach files that are relevant to the chatbot's purpose
- FAQ format works great - A file with question-answer pairs trains the chatbot effectively
- Update regularly - Replace outdated files to keep the chatbot's knowledge current
File Limits by Plan
| Plan | Max Files |
|---|---|
| Free | 3 |
| Basic | 27 |
| Pro | 81 |
| Enterprise | Custom |