# Chat with Documents

> You upload your own files. Then the AI answers questions from them.

**Field:** Artificial Intelligence  
**Category:** Use Case  
**Also known as:** Chat with PDF, Document Q&A, Ask Your Documents

## Think of it like

It is like asking a friend who has just read your book, page by page.

## Definition

Chat with documents means you give an AI assistant your own files and ask questions about them. You upload a PDF, a report or a set of notes. The assistant reads them and answers from what is in them, not only from what it learned in training. A good answer points to the page or line it used. A very long file may be searched in parts, since a model can only hold so much at once.

## Example

Jack uploads a 60 page rental contract and asks when he can leave early. The assistant quotes the clause on page 14 that answers it.

## Why it matters

It turns long files into answers you can find in seconds, with the source there to check.

## Common mistake

Assuming it read every word. On a long file it may have searched only some parts, so ask it to quote the page.

## Three principles

- **Your files.** Answers come from them.
- **Points to the source.** The page or the line.
- **Has limits.** Long files are searched in parts.

## Related terms

- [Retrieval-Augmented Generation (RAG)](https://learn.benibix.com/term/ai/retrieval-augmented-generation)
- [Context Window](https://learn.benibix.com/term/ai/context-window)
- [Grounding (AI)](https://learn.benibix.com/term/ai/grounding)
- [AI Project](https://learn.benibix.com/term/ai/ai-project)
- [Hallucination (AI)](https://learn.benibix.com/term/ai/hallucination)

## Taught in

- [Chat with Your Documents](https://learn.benibix.com/learn/ai-use-case/chat-with-your-documents): AI Assistants and Chatbots, 4/13

![A highlighted chat box in the middle, where you ask and it answers from what it learned. Four boxes point into it. Web search reads today's pages and gives the links. Artifact is a finished thing in a panel beside the chat. Project is a folder of files and rules that every chat inside it shares. Chat with documents: you add a file, and answers point to the page they came from.](https://learn.benibix.com/diagrams/ai2-assistant-features.svg)

---

Source: https://learn.benibix.com/term/ai/chat-with-documents
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
