Describe your voice conversation in YAML. Prepatu handles the rest.
states:
greet:
say: "Hi! What can I help you with?"
listen: true
transitions:
- match: "book"
goto: booking
- goto: fallback
booking:
say: "Sure, what date works for you?"
listen: true
transitions:
- goto: confirm
confirm:
say: "Got it — I'll book that for you."
goto: end