Local notes often contain details a model has never seen. LM Studio can attach a document to a chat so its replies can use information from the file.
A short document that fits in the model's context is supplied in full with the conversation. This suits questions about facts stated in a note, such as a meeting time or room, without changing the model itself.
A text chat model must already be loaded in an open chat, and the document must be saved on your computer. Generated replies can still misread a file, so dates, times, and other details need comparison with the original document before you rely on them.
Steps to chat with documents in LM Studio:
- Click the + button below the message box.

- Select Attach file from the menu.

- Click Upload File if the File Attachments and RAG notice appears.
The first-use notice in LM Studio 0.4.28 lists PDF, DOCX, TXT, and CSV, with up to five files and a maximum combined size of 30 MB.
- Select your document in the file chooser.
The club-notes.txt file in Documents is a short text note stating that the next club meeting starts at 18:30 in room Birch.
- Click Open to attach the selected document.

- Enter a question about a fact stated in the attached document.
The filename appears above the message box; club-notes.txt is identified as Plain text.
What time and room is the meeting in the attached notes? Answer in one short sentence.
- Send the question with the purple up-arrow button.

- Confirm that the reply's meeting time and room match the attached document.
The reply gives 18:30 and Birch Room, matching the note. The inject-full-content message reports that all content fits in the context, so the complete short note was available for this answer.