02Ongoing work2026

Evidence-grounded clinical retrieval

IrishClinicalRAG

A retrieval-first assistant for Irish clinical and biomedical guidance, built around traceable ingestion, hybrid search and exact chunk citations.

Early development release · formal evaluation pending

Clinical answers should be inspectable, not merely fluent. IrishClinicalRAG retrieves from a small, controlled corpus of Irish guidance and ties generated statements back to exact source passages.

Research question

How can an early-stage RAG system make source provenance, corpus integrity and insufficient evidence visible by design?

My contribution

  • Built the ingestion, chunking, retrieval, reranking and source-grounded answer pipeline.
  • Implemented corpus manifests, checksums, exact chunk citations and citation validation.
  • Developed a FastAPI service, research interface, offline extractive baseline and configurable generation provider.

Signature view

Trace the evidence.

Move across the research chain. The case study below remains complete and readable without this interaction.

01

Question

Make evidence inspection part of the answer

Clinical retrieval systems need to show what they found, where it came from and when the evidence is insufficient.

Design target: traceability before fluency.

Method, as a sequence of decisions

  1. 01

    Immutable raw documents and manifests make corpus changes auditable.

  2. 02

    Section-aware chunking retains metadata and produces 692 searchable passages.

  3. 03

    BM25 and BGE-small dense retrieval are fused with reciprocal-rank fusion.

  4. 04

    A cross-encoder reranks candidates before grounded answer generation and citation validation.

Working setPythonFastAPIBM25BGE-smallCross-encoder reranking

What the record actually supports

8 documents

Controlled HSE/NCEC corpus

An implementation count, not a coverage claim for Irish medicine.

692 passages

Indexed chunks

Section-aware passages with metadata and checksum-backed source integrity.

29 tests

Repository-reported passing suite

Reported at 75.36% statement coverage; not independently rerun for this site.

Evidence: public repository README/status snapshot recorded 7 October 2026. Counts and timings are repository-reported, not independent clinical validation.

Choices and trade-offs

R1

Why hybrid retrieval?

Lexical search is strong for exact clinical terminology; dense search can recover semantically related wording. Fusion reduces dependence on either signal alone.

R2

Why an offline baseline?

An extractive path separates retrieval quality from generation-provider behaviour and keeps basic inspection possible without an API key.

R3

Why exact chunk citations?

A citation is only useful if a reader can find the supporting text and determine whether the answer overstates it.

What has not been established

  • The eight-document corpus is intentionally small and does not represent comprehensive clinical coverage.
  • Formal retrieval and end-to-end RAG evaluation on the planned 100–150-case set is not complete.
  • Repository smoke tests and latency measurements are engineering evidence, not clinical validation.

What I would investigate next

  1. Q1Which query strata expose the largest gaps in retrieval recall and citation entailment?
  2. Q2How should conflicting or superseded Irish guidance be represented?
  3. Q3Can evaluation distinguish a retrieval miss from an answer-generation failure?
Next study · 03APObind binding-site experiments