Self-Reliant Infrastructure
Clinical Corvus implements a cost-effective, self-reliant infrastructure for intelligence gathering that minimizes dependency on paid APIs while maintaining high-quality evidence retrieval.
Strategic Goals
- ✅ Eliminate recurring API costs for routine searches
- ✅ Establish local medical corpus for high-yield clinical content
- ✅ Implement tiered routing with strict budget controls
- ✅ Ensure operational resilience through self-hosted components
Tiered Search System
The infrastructure uses a three-tier search system with automatic escalation:
Tier 1 (Green) - Always Free
- Sources: Local medical corpus, PubMed, Europe PMC, OpenAlex, Crossref
- Cost: $0
- Latency: 1-3 seconds
- Use Case: All routine clinical queries
Tier 2 (Yellow) - Self-Hosted
- Source: Self-hosted metasearch aggregator
- Cost: $0 (self-hosted)
- Latency: 2-5 seconds
- Trigger: Tier 1 returns insufficient results
Tier 3 (Red) - Paid APIs
- Sources: Premium search APIs
- Cost: Variable (provider-dependent)
- Latency: 1-2 seconds
- Trigger:
- Explicit user opt-in, OR
- High-recency query detected (keywords: "latest", "newest", "recent")
- Monthly budget: $0 by default (must be explicitly enabled)
Medical Formulas Available
The system includes 55+ offline medical formulas across clinical domains:
Sepsis & Critical Care
- qSOFA Score, SOFA2 Score, MEWS, NEWS2, LODS
Cardiovascular
- CHA2DS2-VASc, HAS-BLED, GRACE Score, TIMI Risk, HEARTS Score
Pulmonary
- Wells Score (PE/DVT), Geneva Score, BAP-65
Renal & Metabolic
- CKD-EPI, MDRD, Cockcroft-Gault, MELD, MELD-Na
Hematology & Oncology
- CLARIFY Risk, Gleason Score, IPSS
Gastrointestinal
- Child-Pugh, FIB-4, APACHE II
Pediatric
- Pediatric Glasgow Coma Scale, Pediatric Appendicitis Score
Success Metrics
| Metric | Target | Notes |
|---|---|---|
| Monthly API costs | Minimal | Significant reduction from cloud-only baseline |
| Local corpus coverage | Target: 80% | Of routine clinical queries |
| Search latency | Target: 1-2s | Improved from 2-3s baseline |
| Result relevance | Target: 85% | Improved from ~70% baseline |
note
Metrics are internal targets based on development testing. Actual performance may vary based on query types and corpus content. Independent validation is planned.
Related Documentation
- Hybrid RAG Architecture - RAG system details
- Architecture Overview - System architecture
- State Management - Case state handling