BinKhoaLe1812 commited on
Commit
11b1768
·
verified ·
1 Parent(s): 95341cf

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +24 -16
index.html CHANGED
@@ -617,7 +617,7 @@
617
  </div>
618
  <pre class="mermaid text-sm">
619
  flowchart LR
620
- U(["Clinician UI / EMR"]) -->|"q + patient context"| ORCH["Orchestrator (MAC)<br/>planning · policy checks · logging"]
621
  ORCH --> QN["Query Normaliser"]
622
  ORCH --> RET["Evidence Retriever"]
623
  ORCH --> EMRS["EMR Summariser"]
@@ -625,14 +625,14 @@ flowchart LR
625
  ORCH --> SC["Safety Critic"]
626
 
627
  subgraph IR["Two-Stage Retrieval (Budgeted)"]
628
- DENSE["Stage-1: Dense ANN (MedEmbed)"] --> CAND["Candidates (dense BM25)"]
629
- BM25["Stage-1: Lexical (BM25)"] --> CAND
630
- CAND --> RER["Stage-2: Long-context Reranker<br/>(LoRA-adapted, calibrated)"]
631
- RER --> SEL["Policy-aware selection<br/>MMR + sufficiency constraints"]
632
  end
633
 
634
  RET --> IR
635
- SEL --> EVID["Evidence bundle M<br/>EMR + CPG + metadata"]
636
 
637
  EMRS --> STATE["Clinical state summary"]
638
  GS --> ACTIONS["Guideline actions + contraindications"]
@@ -642,7 +642,7 @@ flowchart LR
642
  STATE --> FUSE
643
  ACTIONS --> FUSE
644
  FLAGS --> FUSE
645
- FUSE --> OUT{{"Final answer + citations + cautions<br/>+ structured trace"}}
646
  </pre>
647
  </div>
648
 
@@ -709,23 +709,29 @@ flowchart LR
709
  </div>
710
  <pre class="mermaid text-sm">
711
  flowchart TB
712
- Q(["Query q + patient context"]) --> O["MAC Orchestrator"]
 
713
  subgraph A["Specialised Probes"]
714
- E["Exploration Agent<br/>(recall-normalised)"]
715
- P["Policy Agent<br/>(guideline coverage)"]
716
- S["Safety Agent<br/>(contraindications)"]
717
  end
 
718
  O --> E
719
  O --> P
720
  O --> S
721
- E --> CE["Candidate set C_e + scores"]
722
- P --> CP["Candidate set C_p + scores"]
723
- S --> CS["Candidate set C_s + scores"]
724
- CE --> U["Weighted union + re-rank<br/>ω_i · S_i(q,d)"]
 
 
725
  CP --> U
726
  CS --> U
727
- U --> M["Meta-bundle M_MAC<br/>(token budget B + sufficiency checks)"]
 
728
  M --> OUT["Evidence for synthesis + critique"]
 
729
  </pre>
730
 
731
  <div class="mt-5 grid md:grid-cols-2 gap-4">
@@ -761,6 +767,7 @@ sequenceDiagram
761
  participant GL as Guideline Synthesiser
762
  participant SC as Safety Critic
763
  participant L as LLM (Distilled 7B)
 
764
  C->>O: query + patient context
765
  O->>QN: normalise + expand probes
766
  QN-->>O: canonical query
@@ -769,6 +776,7 @@ sequenceDiagram
769
  O->>EMR: build clinical state summary
770
  O->>GL: extract actions + contraindications
771
  O->>SC: check evidence sufficiency + safety
 
772
  alt Insufficient evidence
773
  SC-->>O: retrieve-more / clarify request
774
  O-->>C: request clarification / expand search
 
617
  </div>
618
  <pre class="mermaid text-sm">
619
  flowchart LR
620
+ U["Clinician UI / EMR"] -->|q + patient context| ORCH["Orchestrator (MAC)\nplanning · policy checks · logging"]
621
  ORCH --> QN["Query Normaliser"]
622
  ORCH --> RET["Evidence Retriever"]
623
  ORCH --> EMRS["EMR Summariser"]
 
625
  ORCH --> SC["Safety Critic"]
626
 
627
  subgraph IR["Two-Stage Retrieval (Budgeted)"]
628
+ DENSE["Stage 1: Dense ANN (MedEmbed)"] --> CAND["Candidates (dense OR BM25)"]
629
+ BM25["Stage 1: Lexical (BM25)"] --> CAND
630
+ CAND --> RER["Stage 2: Long-context Reranker\n(LoRA-adapted, calibrated)"]
631
+ RER --> SEL["Policy-aware selection\nMMR + sufficiency constraints"]
632
  end
633
 
634
  RET --> IR
635
+ SEL --> EVID["Evidence bundle M\nEMR + CPG + metadata"]
636
 
637
  EMRS --> STATE["Clinical state summary"]
638
  GS --> ACTIONS["Guideline actions + contraindications"]
 
642
  STATE --> FUSE
643
  ACTIONS --> FUSE
644
  FLAGS --> FUSE
645
+ FUSE --> OUT["Final answer + citations + cautions\n+ structured trace"]
646
  </pre>
647
  </div>
648
 
 
709
  </div>
710
  <pre class="mermaid text-sm">
711
  flowchart TB
712
+ Q["Query q + patient context"] --> O["MAC Orchestrator"]
713
+
714
  subgraph A["Specialised Probes"]
715
+ E["Exploration Agent\n(recall-normalised)"]
716
+ P["Policy Agent\n(guideline coverage)"]
717
+ S["Safety Agent\n(contraindications)"]
718
  end
719
+
720
  O --> E
721
  O --> P
722
  O --> S
723
+
724
+ E --> CE["Candidate C_e + scores"]
725
+ P --> CP["Candidate C_p + scores"]
726
+ S --> CS["Candidate C_s + scores"]
727
+
728
+ CE --> U["Weighted union + re-rank\nω_i · S_i(q,d)"]
729
  CP --> U
730
  CS --> U
731
+
732
+ U --> M["Meta-bundle M_MAC\n(token budget B + sufficiency checks)"]
733
  M --> OUT["Evidence for synthesis + critique"]
734
+
735
  </pre>
736
 
737
  <div class="mt-5 grid md:grid-cols-2 gap-4">
 
767
  participant GL as Guideline Synthesiser
768
  participant SC as Safety Critic
769
  participant L as LLM (Distilled 7B)
770
+
771
  C->>O: query + patient context
772
  O->>QN: normalise + expand probes
773
  QN-->>O: canonical query
 
776
  O->>EMR: build clinical state summary
777
  O->>GL: extract actions + contraindications
778
  O->>SC: check evidence sufficiency + safety
779
+
780
  alt Insufficient evidence
781
  SC-->>O: retrieve-more / clarify request
782
  O-->>C: request clarification / expand search