Mirobody
The canonical registry of human health — roughly two thousand standardized indicators, clinical and lifestyle, resolved into one language.
Evidence-based medical information powered by AI and BC Cancer resources
Translation pending
HealthGitHub @kamlau024OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Repository information has not been collected yet.
No updates detected yet. GitHub releases will appear here.
Production RAG system answering patient cancer questions with paragraph-level citations. FastAPI + Next.js on Vercel, Qdrant Cloud vector search, Upstash Redis.
Translation pending
Loading the full README.
Read the full README ↗A production Retrieval-Augmented Generation (RAG) system that answers patient questions about cancer from articles published by BC Cancer, the Canadian Cancer Society and Cleveland Clinic. Every answer cites the source paragraphs it was built from.
It offers two ways to ask:
Live: https://care-beacon-health.vercel.app
Companion repository: Vital-Atlas is the upstream scraper that produces this system's corpus. Care-Beacon consumes Markdown and serves answers; it does no crawling of its own. See Where the corpus comes from.
POST /api/v1/chat streams Server-Sent Events from a Python function on Vercel: progress stages (rewriting → searching → ranking), then citations, then answer tokens. The answer is saved even when the client disconnects mid-stream; a partial answer is stored as interrupted.Click the diagram to open the interactive version: zoom, search, and links to the source code.
/api/* goes to the FastAPI api service; everything else goes to the Next.js web service.gpt-4o-mini.api/migrations/.api/scripts/ingest.py runs on a local machine and loads the Vital-Atlas corpus into Qdrant. The deployed API has no ingestion endpoints.Click the diagram to open the interactive version: zoom, search, and links to the source code.
text-embedding-3-small (1536 dimensions) and Qdrant returns 6× the requested number of chunks.gpt-4o-mini reranks every remaining candidate, and every chunk scoring ≥ 0.6 is kept, with no top-k cut. (0.6 is the configured default; a request can set its own min_similarity.)gpt-4o-mini writes an answer with paragraph-level citations, cached for 1 hour. If no chunk passes the threshold, a fixed "no context" reply is returned without an LLM call, and it isn't cached.Chat reuses the same retrieval and reranking as Search, with three additions: query rewriting, conversation history and streaming.
Click the diagram to open the interactive version: zoom, search, and links to the source code.
gpt-4o-mini turns the last few turns plus the new message into one standalone search query, so "Does it reach cells all over the body?" searches for the treatment being discussed. The rewritten query is shown to the user as the search runs.[n] citation markers stripped so they can't be confused with this turn's sources. Safety instructions are placed next to the question, where they hold up under multi-turn pressure.Each diagram opens in an interactive viewer hosted on the live site, where you can zoom, search, focus on a component, and follow it to the source lines it was drawn from. The diagram sources live in docs/diagrams/.
Current Version: 4.0.0 - Live in Production (Vercel)
Phase 1: Foundation - Complete
Phase 2: Core RAG System - Complete
This is the beginning of the README. Read the rest at the original. Read the full README ↗