Service queries in question parameters¶
<service_query> selects the question sent to a service during incremental search. It is a child of question parameters, not a standalone plan item; invoke_service_query is the plan item that invokes a service query during a plan.
<parameters question_type="wh_question" predicate="contact"
source="service" incremental="true"
max_spoken_alts="5" max_reported_hit_count="15">
<service_query type="wh_question" predicate="available_contact"/>
<ask_feature predicate="contact_name"/>
<ask_feature predicate="contact_city" kpq="true"/>
</parameters>
With source="service" and incremental="true", the service query supplies the candidate results and each ask_feature narrows them. The child question uses the same question forms as other domain questions. See Question parameters and Ask features.