Check Answerable
check_answerableChecks whether the ontology covers all entities in a question before querying, returning a coverage verdict and best matches per entity to avoid substituting similar measures.
Instructions
Cheap pre-flight: does the ontology cover every entity of the question? Returns coverage, a verdict (answerable, uncertain, partially_answerable, not_answerable) and the best matches per entity. When something material is not covered, tell the user instead of substituting a similar measure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entities | No | 1-5 entity phrases you extracted from the question, in the ontology's language. Extract 1-5 entity phrases from the question (ported from Auto Ontology's entity coverage prompt): - Include subject nouns and domain terms (invoice, customer, shipment) and qualified phrases (order shipment, employee hire). - Keep an aggregation word attached when it names a metric (total revenue, average order value), but not when it is only how the question is asked ("how many shipments" → shipment). - Keep a multi-word filter item together (waterproof hiking tent for family camping). - Keep names that identify something: product names, brands, categories, places. - Resolve glossary abbreviations to their definition (MRR → monthly recurring revenue). - Exclude bare verbs, numbers, calendar literals, standalone status adjectives and generic words (id, name, type, code, value). | |
| question | Yes | The user's question. | |
| datasource | No | Datasource name. Optional when only one datasource is registered. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||