System Design Atlas

Knowledge assistant with source references

01 / 10Worked example

Purpose and boundary

What knowledge can the assistant use for which person?

We design internal access to an organisation's knowledge. In the technical models, question Q-17 leads to answer A-17, which references passage P-17 from document D-17 in version DV-17. These identifiers connect the question, answer and exact source location across the diagrams. The answer should save search time and be verifiable against the original. Document approval, access rights and evidence selection are within the system boundary.

Starting point Start with an internal collection, existing authentication and document permissions.

Assumptions for the example case

Example design: one operator's internal knowledge, a bounded document collection and existing authentication. Numbers and targets are assumptions. The assistant reads knowledge; tool actions and open-web research are outside scope.

Question Q-17: from approved document to supported answer

Question Q-17 · maintenance and answering across the system boundary

Knowledge managersRelease versions and access rules
Maintains
Source systemProvides originals and version metadata
Person askingposes Q-17 in the current role context
Source system → Knowledge AssistantReleased version
Questioning Person → Knowledge AssistantQuestion Q-17 + Role
Knowledge assistant → questioning personA-17 + References

System boundary · Knowledge assistant

Knowledge assistantUses approved knowledge versions within role permissions
Prepare the collectionversion · authorize · index
Answer a questionsearch · prove · show knowledge gap
Question + permitted evidence
Draft response
External model serviceWrites from the bounded context
  • Own knowledge assistant
  • Humans and adjacent systems

The assistant owns import, permission filtering, retrieval, model context and supported output. Knowledge owners decide which content is approved.

Knowledge maintenance, use and results stay within a bounded, accessible document collection.

The agreed scope

InsideResult
Existing authentication and document permissionsEach request receives a verifiable user and rights context.
Versioned, approved documentsReferences identify the version actually used.
Supported answer or identifiable knowledge gapThe output shows its evidence and uncertainties.
Updating and quality checkingModified documents and known errors are included in the next checked status.

Existing authentication and document permissions

Result
Each request receives a verifiable user and rights context.

Versioned, approved documents

Result
References identify the version actually used.

Supported answer or identifiable knowledge gap

Result
The output shows its evidence and uncertainties.

Updating and quality checking

Result
Modified documents and known errors are included in the next checked status.

Limitations of the first case

Reading assistant
No orders, data changes or autonomous tool calls. The design under consideration has a clearly limited effect.
Limited knowledge
Open-web research and personal mailboxes are outside the initial collection. Each additional data source needs its own approval, access and update rules.

Terms in this step

RAG
Retrieval-Augmented Generation combines the search for suitable content with the formulation of an answer.

Try it yourself

Draw knowledge maintenance, the person asking, the assistant and its answer. Mark originals, current permissions and an acceptable knowledge-gap result.

A hint for your attempt

The boundary includes the controlled path from an approved document to supported output. Open-web searches and actions are outside scope.

Compare with a possible solution
Person asking
The authenticated person submits Q-17 with their existing permissions. Test: A role without read access receives neither D-17 nor its passages; the expected count is 0 protected results. P-17 identifies a passage that may support the answer.
Knowledge management
Approves D-17 with its version and permission references. Test: An unpublished or blocked version stays outside search; retain the approved passage's position anchor for later verification.
Assistant
Generates A-17 only from currently permitted evidence and provides references or `insufficient_evidence`. Test: A question without a suitable source must not produce fabricated evidence or an unjustifiably confident answer.

Apply to your project

Which collection and use are explicitly approved in your knowledge system?

Step 2 derives separate quality requirements from this boundary.