Spaces:
Paused
Paused
Commit History
-
feat(trials): replace hardcoded entity regex with LLM extraction
KevinIsInCoding +1: Claude Sonnet 4.6- Remove _KNOWN_TARGETS regex list — cannot handle novel compounds like AMX0114 - Add extract_target_entities_llm(): batches 10 trials per Claude Haiku call, extracts biological target (gene/protein) not drug name, canonicalizes via extraction/normalizer. AMX0114 now correctly maps to TARDBP. - Add data/tools/extract_trial_targets.json tool schema - Add TRIAL_EXTRACTION_TOOLS export to tools.py - Widen default status filter from RECRUITING-only to also include NOT_YET_RECRUITING and ACTIVE_NOT_RECRUITING - ingest_trials.py: --status now accepts multiple values; creates Anthropic client and passes it to fetch_als_trials() Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0569d05