A made-up gut-microbiome report and a small library of general diet guidance. Ask one of the questions: the workflow pulls the relevant parts of the report, retrieves passages two ways and fuses them, writes an answer that cites them, and stops itself when a question asks for medical treatment.
The question is classified, and the parts of the user's own report that bear on it are pulled in — so the answer is about this person, not about people in general.
A keyword retriever and a similarity retriever each rank the validated knowledge; their rankings are fused and re-ranked, so a passage that matches the words or the meaning can surface.
A graph of steps decides what runs next, keeps answers stable and blocks medical-treatment answers with a guardrail that points to a professional instead.