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 Name | Intent Name |
---|---|
bot_greeting | bot_greeting |
faq_insurance | faq_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
Updated over 2 years ago