Tools
Document Upload
How it works
Click the paperclip icon in the chat input to attach a file. LearnFork extracts the text client-side and injects it into your message — no file is ever uploaded to any server. The AI receives the document content as part of your message and can answer questions, summarise, or analyse it.
Tip
You can type a question alongside the attachment, or leave the text field empty to default to "Summarise this document."
Supported formats
- Plain text — .txt, .md, .csv, .json, .xml, .html
- Code files — .py, .js, .ts, .jsx, .tsx, .css, .yaml, .sql, and more
- PDF — .pdf (text extracted page by page)
- Word — .docx
Size limits
| Limit | Free | Pro |
|---|---|---|
| Max extracted text | 50 KB (~12k tokens) | 500 KB (~125k tokens) |
| PDF pages | 20 pages | 100 pages |
If a document exceeds the free limit, you'll see a prompt with two options: upgrade to Pro for larger documents, or continue with the truncated version. If you continue, the truncated text is attached and a note is added so the AI knows the content was cut off.
Reading attached documents in chat
User messages that contain a document show a collapsed file pill with the filename and approximate token count. Click "Show document" to expand and view the full extracted text inline.
Using documents with branches
Documents are stored as part of the message content, so they flow naturally through the context chain. If you branch from a message that came after a document upload, the AI in the branch will still have access to the document content — no need to re-attach.