liveBook · Manning

Static question-answering action

As explained in Effective Conversational AI

A static question-answering action detects an intent and returns a fixed response without conditional logic or a subsequent step.

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

How Effective Conversational AI covers it

How deep it goes
Defines triggers, responses, and termination, then stops short of conditional or dynamic follow-up behavior.
Examples
Uses Cake Shop FAQ intents for background, store hours, cake options, cost, and rewards.
What it assumes
Assumes intent-based chatbot setup while teaching trigger examples and response definition through a small FAQ.
What you can do after
Build simple single-step chatbot answers and test recognition with varied questions.
How it connects
Connects user utterances, intent detection, training examples, chatbot testing, and dynamic responses.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Conversational AI. The section links point to the parts of the book it draws on.