{active?.title || "New chat"}
GraphRAG · Shimmer{urgencyBanner.text}
{(!active || active.messages.length === 0) && (
)}
{active?.messages.map((m, i) => {
if (m.role === "user") return (
);
const html = mdToHtml(m.content || "");
const isStreaming = streaming && i === active.messages.length - 1 && !m.urgency;
return (
);
})}
{error &&
>
)}
{/* RIGHT: evidence */}
);
}
ReactDOM.createRoot(document.getElementById("root")).render(
What can I help with today?
I'm a voice-first health guidance assistant. Ask me a question and I'll search a medical knowledge graph for grounded answers. I'm not a doctor — always verify with a clinician.
{m.content}
M
{m.content ? (
' : "") }}/>
) : (
{m.chunks && m.chunks.length ? `Reviewing ${m.chunks.length} source${m.chunks.length>1?"s":""}…` : "Searching the knowledge graph…"}
)}
{m.chunks && m.chunks.length > 0 && m.content && (
{m.chunks.slice(0, 4).map((c, j) => (
{c.title || c.source || "source"}
{c.path || "vector"}
))}
)}
Error: {error}
}
Educational guidance only · Not a diagnosis · In an emergency, call your local emergency number.