Spaces:
Paused
Paused
Commit History
-
feat: Stage 3 — RAG pipeline + working end-to-end query
KevinIsInCoding +1: Claude Sonnet 4.6- rag/indexer.py: ChromaDB collection builder with section-aware chunking (one chunk per PMC XML section, falls back to abstract) - rag/retriever.py: semantic search + entity search with citation-weighted re-ranking (score = similarity * log(citation_count + 2)) - agents/research_agent.py: streaming synthesis agent (mirrors beacon pattern) uses search_research_landscape tool → RAG + trial match → Claude synthesis - scripts/build_index.py: CLI to build ChromaDB index from papers.jsonl - main.py: Rich CLI interface with streaming output - Add openai dependency (required by llm.py provider abstraction) Verified: 510 chunks indexed from 499 papers, end-to-end query returns structured research landscape with PMIDs, mechanisms, and trial links. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>56fa10c -
feat: initial project scaffold and Stage 2 ingestion pipeline
KevinIsInCoding +1: Claude Sonnet 4.6- Project foundation: config, models, tools, llm, logging, prompts - Tool schemas: extract_entities.json, search_landscape.json - Stage 2 ingestion: - ingestion/pubmed.py: PubMed Entrez client (batch fetch, rate-limit aware) - ingestion/pmc.py: PMC XML full-text fetcher (JATS section parser) - ingestion/semantic_scholar.py: citation count enrichment via S2 batch API - ingestion/clinicaltrials.py: ClinicalTrials.gov v2 ALS trials client - scripts/ingest_papers.py: orchestrates PubMed + PMC + citations - scripts/ingest_trials.py: fetches recruiting ALS trials - Stub modules for Stage 3-5 (rag/, graph/, agents/, app.py, main.py) - MIT License, .gitignore (excludes data/, .env, logs/) - CLAUDE.md architecture guide Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0ccfe4a