Search clinic documents
search_clinic_docsFind relevant answers from clinic policies, services, insurance, pricing, hours, and booking rules by hybrid search across the knowledge base, returning cited chunks with scores.
Instructions
Hybrid-search the clinic knowledge base (pgvector + full-text, RRF-fused).
Returns cited chunks with source filename and scores when the best dense
similarity clears the SIMILARITY_FLOOR gate. Below that floor, returns
status=no_relevant_sources with an empty chunk list — do not fabricate
an answer from weak matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language question about BrightSmile policies, services, insurance networks, pricing, hours, booking rules, or care instructions. | |
| top_k | No | Max chunks to return when the relevance gate passes (default 5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| chunks | No | ||
| status | Yes | ||
| message | No | ||
| best_dense_score | Yes | ||
| similarity_floor | Yes |