Citation-grounded AI for athletes — performance nutrition, supplementation, recovery, and training.
Neuron answers performance and nutrition questions with every claim traced to an authoritative source. No hallucinated facts. No vague "studies suggest." Every sentence is grounded in USDA FoodData Central, NIH MedlinePlus, CDC, WHO, or peer-reviewed research from PubMed.
If the corpus doesn't support an answer, Neuron tells you that. It refuses to guess.
Built by a two-person team starting August 2024.
The science around athletic performance — creatine, electrolyte loading, sleep, recovery, macronutrient timing — lives mostly in journal archives that athletes never read. General-purpose AI (ChatGPT, Claude, Gemini) was never designed to be medically trustworthy: it synthesizes from training data without telling you where each claim came from. For something as consequential as what an athlete puts in their body, "sounds plausible" is not a standard.
Neuron is built on a different premise: every claim cites its source, or it doesn't get said.
┌───────────────────────────────┐
│ Question (e.g. "loading dose │
│ for creatine?") │
└───────────────┬───────────────┘
▼
┌───────────────────────────────┐
│ Retrieval (Pinecone) │
│ over a curated corpus: │
│ • USDA FoodData Central │
│ • NIH MedlinePlus / ODS │
│ • CDC public guidance │
│ • WHO topic pages │
│ • PubMed open-access │
└───────────────┬───────────────┘
▼
┌───────────────────────────────┐
│ Synthesis (GPT-4o) │
│ with mandatory inline │
│ citations [source-id] │
└───────────────┬───────────────┘
▼
┌───────────────────────────────┐
│ Grounding verifier │
│ (second-pass LLM check) │
│ Every claim must map to a │
│ cited passage or be cut. │
└───────────────┬───────────────┘
▼
┌───────────────────────────────┐
│ Answer + Source panel │
│ • inline [PubMed, 2023] │
│ • clickable source list │
│ • "I don't know" if unsupp. │
└───────────────────────────────┘
- Source ingestion pipelines — clients for USDA FoodData Central, NIH MedlinePlus, CDC, WHO, and PubMed E-utilities. All sources are public-domain or open-access.
- Citation-enforced RAG — every claim in the answer must point to a retrieved passage. System prompt rejects ungrounded statements.
- Grounding verifier — a second-pass LLM evaluates whether every sentence in the candidate answer is supported by the cited context. Unsupported claims are excised before serving.
- Refusal behavior — if retrieval scores fall below threshold or the verifier rejects every claim, Neuron tells the user it doesn't have a reliable source. It does not guess.
- Source freshness — each ingested document carries
last_verifiedmetadata. Stale sources are flagged in the UI. - Domain lock — system prompt rejects out-of-domain questions so the model stays in its lane (performance nutrition, supplementation, recovery, training science).
neuron/
├── backend/ FastAPI service — ingestion, RAG, citation verifier, eval
│ └── app/
│ ├── services/ingestion/ USDA, PubMed, MedlinePlus, CDC, WHO clients
│ ├── services/rag.py citation-enforced retrieval pipeline
│ ├── services/verifier.py grounding check (claim → source)
│ └── services/eval.py benchmark harness on medical QA datasets
├── frontend/ Next.js web app — Ask UI, citation chips, source panel
├── .github/ CI/CD workflows
└── docker-compose.yml local dev orchestration
Requires Docker, Node 20+, and Python 3.11+.
docker compose up -d postgres
cd backend && pip install -r requirements.txt && uvicorn app.main:app --reload
cd frontend && npm install && npm run devOpen http://localhost:3000.
Copy .env.example to .env and fill in:
OPENAI_API_KEY— embedding + chat completionPINECONE_API_KEY/PINECONE_INDEX— vector storeUSDA_API_KEY— FoodData Central keyNCBI_API_KEY— optional, raises PubMed rate limitDATABASE_URL— Postgres connection stringSENTRY_DSN— error tracking (optional in dev)
Neuron provides general performance, nutrition, and health information for educational purposes only. It is not a substitute for professional medical or sports-medicine advice. Always consult a qualified clinician for personal medical decisions.
MIT — see LICENSE.