Skip to content

Answer the hospital address, ED waiting time and cafe questions - #237

Merged
MAOFILHO merged 1 commit into
stagingfrom
sandcastle/simple-qs
Oct 29, 2026
Merged

MAOFILHO merged 1 commit into
stagingfrom
sandcastle/simple-qs

Conversation

@MAOFILHO

Copy link
Copy Markdown
Owner

Problem

Simple visitor questions escalate: the hospital address, the emergency waiting time and "Is there a cafe". The Knowledge Base ranks the facilities guide first for the address, but that guide held no address. No approved document said anything about waiting times. Narrowing did not fold "café" to "cafe" and counted "there" as a match.

Fix

  • Facilities guide: a short Address section (the same example address as the contact directory).
  • Emergency guide: a section saying there is no live waiting time, patients are seen by medical need, call main reception, and call 911 in a life-threatening emergency. No number is invented.
  • narrowing.py: fold accents so "cafe" matches "café"; add "there" to the stop words.

Tests

A narrowing test with the real documents for the 4 questions. Full suite: the same 6 existing import errors, nothing new.

🤖 Generated with Claude Code

…approved docs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@MAOFILHO
MAOFILHO merged commit 2760c90 into staging Oct 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant