Greetings community. I would like to get some advice for what i’m trying to do here.
I want my bot to execute an “action” over a certain “object”. For example, “insert a new ticket” where “insert” and "ticket” are categorical slots, each one with multiple possible values and influence_conversation set to true. Depending on the entities extracted and slot sets, I will activate a form specific for that combination of values.
I’ve merged all into a single intent
nlu:
- intent: ask_action_object
examples: |
- (insert)[action] a new (ticket)[object]
- (delete)[action] a (story)[object]
slots:
action:
type: categorical
influence_conversation: true
values:
- insert
- delete
- modify
- show
object:
type: categorical
influence_conversation: true
values:
- ticket
- story
- activity
- list
The problem is that I can have a reasonable number of actions and objects, therefore I think I will need to write a story for every possible combination. Is there another way to implement this?