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

# Uploading documents from the chat

> You can easily add documents to your questions directly from the chat window. This makes it simple to give more context without leaving the conversation.

You can easily add documents to your questions directly from the chat window. This makes it simple to give more context without leaving the conversation.

<Tip>
  For best results, upload documents that are directly relevant to your question. Smaller, focused documents often work better than large, comprehensive files.
</Tip>

## How to Attach Documents

1. Click the **attachment icon** (📎) in the chat box.

2. Choose whether to:
   * **Attach an existing document** already saved in your workspace.
   * **Upload a new document** from your computer.

3. You can also **drag and drop documents directly into the chat box** to attach them instantly.

<iframe className="w-full aspect-video rounded-xl" src="https://drive.google.com/file/d/1OcErKM2ifNRqGHHWcQZyVN4qGhjHsy-j/preview" allow="autoplay" />

<iframe className="w-full aspect-video rounded-xl" src="https://drive.google.com/file/d/1kK8zY8uJplLPL6TJcehVIY2iddtM-IuL/preview" allow="autoplay" />

<Tip>
  Drag and drop is the fastest way to attach documents. You can select multiple files at once from your file explorer.
</Tip>

If you upload a new file, a window will open so you can select one or more documents.

## During Upload

* Selected documents appear **above the chat box**.
* You can see their upload progress in real time.
* You cannot send your question until the upload is finished.

## Where Files Are Stored

* All uploaded files are automatically saved in your **personal (private) workspace**.
* To upload directly into another workspace, please use the **Documents page** (see [FAQ Documents page](https://paradigm-academy.lighton.ai/en/documents-and-workspaces)).

<Note>
  Documents uploaded via chat are private by default. If you need to share documents with your team, use the Documents page to upload them to a shared workspace instead.
</Note>

## File Types and Parsing

The platform automatically chooses the right way to process your file:

* **PDF, DOCX** → Default parser
* **HTML, PPTX, PNG, JPG, JPEG** → Parser 2.2.1
* **MD, CSV, XLSX** → Dedicated parser

## Managing Multiple Documents

When you attach several documents, they appear above the chat box. You can also open the **side panel** (top right: *View all documents*) to see the full list.

You have several ways to remove documents, either one by one or all at once:

1. **Detach a single document**
   * Click the **✕** directly on the document above the chat box.
   * Or, open the side panel (*View all documents*) and click the **✕** next to the document's name.

2. **Detach all documents at once**
   * Click **Detach all documents** (above the row of files, left side).
   * Or, use the **✕ \[x documents]** shown inside the chat input area.
   * Or, in the side panel, click **Unselect all** at the bottom.
