Completing Tasks

Completing Tasks

Simple Questions

Simple questions, or FAQs, should receive the same answer no matter what happened previously in the conversation. Users will often ask a basic set of questions and your assistant should answer them reliably.

Examples:

Just like greetings and goodbyes, you can use the mapping policy to achieve this. See Greetings.

Business Logic

Your AI assistant will often have to follow some pre-defined business logic. To figure out how to help users, your assistant will often have to ask a few questions. The answers you get will impact the rest of the conversation; for example, some products might be limited to users in a certain country or above a certain age.

Examples:

See Handling conditional slot logic for details on how to use forms to implement business logic.

Contextual Questions

Unlike answers to FAQs, correct responses to contextual questions depend on the conversation history. These include questions which refer to something earlier in the conversation and are ambiguous on their own.

Examples:

Unhappy Paths

When your assistant asks a user for information, you will often get responses other than the information you asked for.

Examples: