Arash Sadeghzadeh
← Engineering notes
FIELD NOTE · 2026-02-06

Designing a document-grounded AI assistant

How document versions, permissions and citations affect the usefulness of an internal assistant.

Make the source passage recoverable

A useful internal assistant can point a reader to the exact passage behind an answer. Retain document identifiers, section boundaries and version dates when indexing a source. A user should be able to check the answer against the document that was available when it was generated.

Test permissions and document changes

Apply access rules during retrieval. Test with two accounts that have different permissions, then remove a document and repeat the query. Both examples reveal errors that a relevance score alone can miss.

Evaluate unanswered questions

Include questions that the collection cannot support. Review whether the system identifies the evidence gap, quotes the right passage and distinguishes one document version from another. Browse the engineering services or discuss a document collection.

WORK WITH ME

Have a project in mind?

Tell me what you’re building and where you need engineering support.

Discuss a project