Intent & Entities Naming

1. Intent naming

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

Default context

FAQ

Small talk

Processes

*

  • *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