Intent & Entities Naming

1. Intent naming

It is recommended to structure your list of intents using the alphabetical order below.

Default contextFAQSmall talkProcesses*
bot_greetings
bot_bye
bot_functions
faq_insurance
faq_loan
faq_petpolicy
faq_payment
smalltalk_age
smalltalk_creator
smalltalk_joke
smalltalk_insult
booking_new
booking_change
booking_cancel
card_new
card_activate
card_block
appointment_new
appointment_cancel

**For processes, they are contexts which need confirmations.

👍

Context

We recommend naming your context the same way you name your intent. (See context Naming)

Context NameIntent Name
bot_greetingbot_greeting
faq_insurancefaq_insurance

2. Entity naming

Example from Banking use case:

  • client_type
  • loan_type
  • card_type
  • insurance_type

👍

Context & Entity naming syntax

  • no spaces
  • replace spaces with underscores
  • lowercase