Understanding the universe of your bot (domain)
A domain defines all the information a chatbot needs to know, including intents
, entities
, slots
, actions
, forms
, and responses
. All this information gives clear definitions of the inputs and outputs of a model.
A sample domain file is as follows:
intents: - greet - goodbye - affirm - thank_you entities: - name slots: name: type: text responses: utter_greet: - "hey there {name}!" # {name} is template variable utter_goodbye: - "goodbye" - "bye bye" utter_default: - "default message" actions: - utter_default - utter_greet - ...