Skip to content
Mermaid templates

Grounded answer with evidence review

Traces permissions and claim-level support through a retrieval workflow rather than implying retrieval guarantees truth. Original worked design example; adapt responsibilities, thresholds and assumptions to your system.

Template previewMermaid
Rendering…

What this template contains

Diagram type
Sequence diagram
Source
21 lines

Make it your own.

sequenceDiagram
actor U as Analyst
participant A as Answer service
participant R as Retriever
participant P as Permission filter
participant M as Language model
participant V as Claim verifier
U->>A: Ask a question
A->>R: Search authorized collection
R->>P: Candidate passages with source IDs
P-->>A: Passages user may access
A->>M: Question plus bounded evidence
M-->>A: Draft claims with passage references
A->>V: Check references and claim support
alt Evidence sufficient
 V-->>A: Supported claims and limitations
 A-->>U: Answer with inspectable sources
else Missing or contradictory support
 V-->>A: Unsupported claim list
 A-->>U: Partial answer and unresolved questions
end