When users ask routine questions such as store hours or cake prices, a static question-answering action detects the intent and returns one prepared answer. The action ends immediately, without conditional logic or another conversational step. section 2.1.2
A static question-answering action contains three parts:
- Triggering utterances that provide examples of how users may express the intent. section 2.1.2
- A fixed text response returned after the intent is detected. section 2.1.2
- No conditional logic and no next step; giving the answer ends the action. section 2.1.2
Cake price question
The #cost intent can recognize “How much does a cake cost?”, “Is there a minimum order value?”, or “Is there a surcharge for delivery?” and answer, “Our cakes typically cost around $30, with a $5 delivery fee.” A test such as “cost for a cake?” can receive the same response even without exactly matching a training example. section 2.1.2
Table 2.2 Initial set of FAQ intents, with associated utterances and responses
|
Intent
|
Example utterances
|
Response
|
|---|---|---|
#background
|
Tell me about Cake Shop
What's the background on your business?
History of Cake Shop
|
Founded by Grandma Cake in 1980, we've made over 10,000 cakes for local residents!
|
#store_hours
|
Store hours
What are your store hours?
When are you open?
|
We are open Monday through Friday, 9:00 a.m. to 9:00 p.m.
|
#cake_options
|
Cake options
Do you make wedding cakes?
What kinds of cakes do you sell?
|
We offer cakes for many occasions, such as weddings, birthdays, anniversaries, retirement, and all- occasion cakes.
|
#cost
|
How much does a cake cost?
Is there a minimum order value?
Is there a surcharge for delivery?
|
Our cakes typically cost around $30, with a $5 delivery fee.
|
#cake_club
|
Cake rewards
Cake Club
Any special promotions or discounts?
|
Our Cake Club rewards program earns you a $10 gift certificate for every ten cakes you purchase.
|
Browse the FAQ mapping of intents, example utterances, and fixed responses. section 2.1.2
