Md. Jamil Hossain

Healthcare

Clinical guideline search

Answers everyday health questions, such as when to be screened for colon cancer, and cites the official guideline behind each answer.

Screenshot of Clinical guideline search
Fig. 1 · guideline-rag-search.vercel.app, captured from the live site

01 Problem

Public health guidance is spread across long documents, and AI answers without sources cannot be checked.

02 Approach

  1. Guidelines are chunked and indexed twice: as vectors in pgvector and in PostgreSQL full-text search.
  2. Both result lists are fused with reciprocal rank fusion, then the answer is written only from retrieved passages, with citations.
  3. A retrieval evaluation set runs in CI so search quality cannot silently regress.

03 Evidence

  • Retrieval evaluation in CI
  • Every answer linked to its source passage
  • Runs locally with Ollama

The repository README explains how to run each test suite, and its continuous integration history is public.