Invoke Service Query¶
Definition¶
<invoke_service_query type="wh_question" predicate="p"/>
<invoke_service_query type="yn_question">
<proposition predicate="p">
</invoke_service_query>
Calls for an query to be sent to a service.
Attribute | Type | Description |
---|---|---|
type | string | Optinal. Defaults to wh_question , but can be one of wh_question or yn_question . |
predicate | string | Required if type="wh_question". This attribute specifies the predicate of the question sent to the service. |
Parents¶
Children¶
Behaviour¶
An
The answer first becomes known to the system, and if the system knows the answer and the question is a goal question, this will trigger the system providing the answer to the user.
Examples¶
Invoke service query for getting the price of a trip.¶
<invoke_service_query type="wh_question" predicate="price"/>
Invoke service query for checking if a person needs a visa.¶
<invoke_service_query type="yn_question">
<proposition predicate="need_visa"/>
</invoke_service_query>
Last update: April 25, 2022