Upload 6 files
Browse files- assets/styles.css +5 -7
- index.html +18 -18
assets/styles.css
CHANGED
|
@@ -464,17 +464,17 @@ section {
|
|
| 464 |
animation: pulseGlow 2s ease-in-out infinite;
|
| 465 |
}
|
| 466 |
.diagram {
|
| 467 |
-
display: none
|
| 468 |
opacity: 0;
|
| 469 |
transform: translateY(20px);
|
| 470 |
transition: all 0.3s ease;
|
| 471 |
-
min-height:
|
| 472 |
margin: 0;
|
| 473 |
padding: 0;
|
| 474 |
}
|
| 475 |
|
| 476 |
.diagram.visible {
|
| 477 |
-
display:
|
| 478 |
opacity: 1;
|
| 479 |
transform: translateY(0);
|
| 480 |
}
|
|
@@ -495,10 +495,8 @@ pre.mermaid svg {
|
|
| 495 |
}
|
| 496 |
|
| 497 |
/* Ensure Mermaid diagrams are properly centered */
|
| 498 |
-
.diagram {
|
| 499 |
-
display:
|
| 500 |
-
justify-content: center;
|
| 501 |
-
align-items: center;
|
| 502 |
width: 100%;
|
| 503 |
}
|
| 504 |
|
|
|
|
| 464 |
animation: pulseGlow 2s ease-in-out infinite;
|
| 465 |
}
|
| 466 |
.diagram {
|
| 467 |
+
display: none;
|
| 468 |
opacity: 0;
|
| 469 |
transform: translateY(20px);
|
| 470 |
transition: all 0.3s ease;
|
| 471 |
+
min-height: 300px;
|
| 472 |
margin: 0;
|
| 473 |
padding: 0;
|
| 474 |
}
|
| 475 |
|
| 476 |
.diagram.visible {
|
| 477 |
+
display: block;
|
| 478 |
opacity: 1;
|
| 479 |
transform: translateY(0);
|
| 480 |
}
|
|
|
|
| 495 |
}
|
| 496 |
|
| 497 |
/* Ensure Mermaid diagrams are properly centered */
|
| 498 |
+
.diagram.visible {
|
| 499 |
+
display: block;
|
|
|
|
|
|
|
| 500 |
width: 100%;
|
| 501 |
}
|
| 502 |
|
index.html
CHANGED
|
@@ -216,37 +216,37 @@
|
|
| 216 |
<p>Click tabs to switch between layers.</p>
|
| 217 |
</div>
|
| 218 |
<div class="tabs mb-6" role="tablist" aria-label="Architecture layers">
|
| 219 |
-
<button class="tab active" data-target="#arch-l1" role="tab" aria-selected="true" aria-controls="arch-l1" id="tab-l1">
|
| 220 |
-
<button class="tab" data-target="#arch-l2" role="tab" aria-selected="false" aria-controls="arch-l2" id="tab-l2">
|
| 221 |
-
<button class="tab" data-target="#arch-l3" role="tab" aria-selected="false" aria-controls="arch-l3" id="tab-l3">
|
| 222 |
</div>
|
| 223 |
|
| 224 |
<div id="arch-l1" class="diagram visible" role="tabpanel" aria-labelledby="tab-l1" aria-hidden="false">
|
| 225 |
-
<pre class="mermaid" aria-label="
|
| 226 |
flowchart LR
|
| 227 |
-
U([Clinician UI / EMR]) -->|symptoms, meds, files| MCP[MCP Orchestrator<br/>FastAPI routing, planning, safety, tracing]
|
| 228 |
-
MCP --> DX[Diagnostics Agent]
|
| 229 |
-
MCP --> RX[Pharmacology Agent]
|
| 230 |
-
MCP --> TR[Triage Agent]
|
| 231 |
-
subgraph RAG[Agentic RAG]
|
| 232 |
-
QR[Query Router] --> RET[Retriever]
|
| 233 |
-
RET --> SR[Safety Rails]
|
| 234 |
end
|
| 235 |
DX --> RAG
|
| 236 |
RX --> RAG
|
| 237 |
TR --> RAG
|
| 238 |
-
SR --> KB[(Med KB / PubMed)]
|
| 239 |
-
SR --> EMR[(EMR/EHR summaries)]
|
| 240 |
-
DX --> FUSE[Evidence Fusion + Self-Consistency]
|
| 241 |
RX --> FUSE
|
| 242 |
TR --> FUSE
|
| 243 |
-
FUSE --> OUT{{Final Report<br/>summary, plan, citations, cautions}}
|
| 244 |
-
OUT --> QA[Evaluation & QA<br/>MedMCQA, PubMedQA, similarity audits]
|
| 245 |
</pre>
|
| 246 |
</div>
|
| 247 |
|
| 248 |
<div id="arch-l2" class="diagram" role="tabpanel" aria-labelledby="tab-l2" aria-hidden="true" style="display: none;">
|
| 249 |
-
<pre class="mermaid" aria-label="
|
| 250 |
flowchart LR
|
| 251 |
subgraph AGENTIC_RAG["Agentic RAG"]
|
| 252 |
IN["Inputs<br/>symptoms, vitals, meds, files, LTM"] --> QR["Query Router"]
|
|
@@ -264,7 +264,7 @@
|
|
| 264 |
</div>
|
| 265 |
|
| 266 |
<div id="arch-l3" class="diagram" role="tabpanel" aria-labelledby="tab-l3" aria-hidden="true" style="display: none;">
|
| 267 |
-
<pre class="mermaid" aria-label="
|
| 268 |
sequenceDiagram
|
| 269 |
participant C as Clinician
|
| 270 |
participant MCP as Orchestrator (MCP)
|
|
|
|
| 216 |
<p>Click tabs to switch between layers.</p>
|
| 217 |
</div>
|
| 218 |
<div class="tabs mb-6" role="tablist" aria-label="Architecture layers">
|
| 219 |
+
<button class="tab active" data-target="#arch-l1" role="tab" aria-selected="true" aria-controls="arch-l1" id="tab-l1">System Diagram</button>
|
| 220 |
+
<button class="tab" data-target="#arch-l2" role="tab" aria-selected="false" aria-controls="arch-l2" id="tab-l2">RAG Internals</button>
|
| 221 |
+
<button class="tab" data-target="#arch-l3" role="tab" aria-selected="false" aria-controls="arch-l3" id="tab-l3">Sequence Diagram</button>
|
| 222 |
</div>
|
| 223 |
|
| 224 |
<div id="arch-l1" class="diagram visible" role="tabpanel" aria-labelledby="tab-l1" aria-hidden="false">
|
| 225 |
+
<pre class="mermaid" aria-label="System Architecture Diagram">
|
| 226 |
flowchart LR
|
| 227 |
+
U(["Clinician UI / EMR"]) -->|"symptoms, meds, files"| MCP["MCP Orchestrator<br/>FastAPI routing, planning, safety, tracing"]
|
| 228 |
+
MCP --> DX["Diagnostics Agent"]
|
| 229 |
+
MCP --> RX["Pharmacology Agent"]
|
| 230 |
+
MCP --> TR["Triage Agent"]
|
| 231 |
+
subgraph RAG["Agentic RAG"]
|
| 232 |
+
QR["Query Router"] --> RET["Retriever"]
|
| 233 |
+
RET --> SR["Safety Rails"]
|
| 234 |
end
|
| 235 |
DX --> RAG
|
| 236 |
RX --> RAG
|
| 237 |
TR --> RAG
|
| 238 |
+
SR --> KB[("Med KB / PubMed")]
|
| 239 |
+
SR --> EMR[("EMR/EHR summaries")]
|
| 240 |
+
DX --> FUSE["Evidence Fusion + Self-Consistency"]
|
| 241 |
RX --> FUSE
|
| 242 |
TR --> FUSE
|
| 243 |
+
FUSE --> OUT{{"Final Report<br/>summary, plan, citations, cautions"}}
|
| 244 |
+
OUT --> QA["Evaluation & QA<br/>MedMCQA, PubMedQA, similarity audits"]
|
| 245 |
</pre>
|
| 246 |
</div>
|
| 247 |
|
| 248 |
<div id="arch-l2" class="diagram" role="tabpanel" aria-labelledby="tab-l2" aria-hidden="true" style="display: none;">
|
| 249 |
+
<pre class="mermaid" aria-label="RAG Internals Architecture Diagram">
|
| 250 |
flowchart LR
|
| 251 |
subgraph AGENTIC_RAG["Agentic RAG"]
|
| 252 |
IN["Inputs<br/>symptoms, vitals, meds, files, LTM"] --> QR["Query Router"]
|
|
|
|
| 264 |
</div>
|
| 265 |
|
| 266 |
<div id="arch-l3" class="diagram" role="tabpanel" aria-labelledby="tab-l3" aria-hidden="true" style="display: none;">
|
| 267 |
+
<pre class="mermaid" aria-label="Single Turn Sequence Diagram">
|
| 268 |
sequenceDiagram
|
| 269 |
participant C as Clinician
|
| 270 |
participant MCP as Orchestrator (MCP)
|