Skip to content

Question hints

A <hint> supplies information after the user negatively accepts a question (for example, “I don't know”), before the question is asked again.

<parameters question_type="yn_question" predicate="added_water">
  <hint>
    <inform insist="true">
      <proposition predicate="helpful_information" value="added_water_hint"/>
    </inform>
  </hint>
</parameters>

The Tala 31.0.1 XML schema requires exactly one inform child. Define multiple hint elements to present hints in order; after the final hint, it is repeated until the question is answered. Hints are children of a question's parameters.

For example, two ordered hints for a WH question:

<parameters question_type="wh_question" predicate="ingredient_quantity">
  <hint><inform insist="true"><proposition predicate="helpful_information" value="quantity_hint_1"/></inform></hint>
  <hint><inform insist="true"><proposition predicate="helpful_information" value="quantity_hint_2"/></inform></hint>
</parameters>