Free

Step-by-step plan

How to build an AI assistant for your documents

Build an assistant that searches your documents and shows where its answers come from. Start with a small, verifiable collection.

Prepare a few documents and questions they can answer. Use materials without private information for the first check.

To prepare the collection and test questions, use the document assistant preparation guide.

Paste the prompts in order into Codex or Work with access to these materials.

Step 1. Choose documents and questions

Choose a small document set and a few real questions about it. For every known answer, save its source location so we can use it to check the assistant.

Find the task materials and fill the bracketed fields yourself from them.
For [documents folder], clarify users, access and questions. Choose a small starting set, retain sources and define sample correct answers.

Step 2. Prepare source excerpts

The assistant prepares readable text with the file name, version and page. For a scan, it checks text recognition and marks unreadable sections for review.

Read the selected documents, retain versions and split text into useful excerpts with sources and pages. Check OCR for scans; mark unavailable content as missing.

Step 3. Choose search and a model

Start by searching available files. Obsidian (website) is an option for notes; add a separate answer model only when plain search is insufficient and data transfer has been agreed.

Find the task materials and fill the bracketed fields yourself from them.
For [documents and questions], compare ordinary file search with retrieving excerpts for a model. Check availability, data transfer and costs; choose the simplest sufficient option.

Step 4. Build a local prototype

Build a small prototype that shows supporting passages alongside its answer. Open the source link; the reader should be able to verify the conclusion.

Find the task materials and fill the bracketed fields yourself from them.
Build a local prototype in [project] from the chosen material. Answers must show supporting excerpts and say when evidence is insufficient. Check one source reference.

Step 5. Test answers and access

Test a known answer, an unanswered question and conflicting versions. Absence from one passage does not establish absence from every document; check access before searching.

Test questions with a known answer, no answer and conflicting versions. For different users, check source access before retrieval and answering. Fix errors and repeat the cases.

Step 6. Update and save

Result and next step

Result: an assistant that answers from selected documents and shows the basis for its answers.

Next: Build an Obsidian knowledge base for Codex.

Find the task materials and fill the bracketed fields yourself from them.
Add one new version of [document] and check that the assistant uses the accepted version while retaining its source. Save the project and update rules; test restarting.

What to try next

Saved