Nested Intent Classification

Hey @samarth12! It’s strange how I’ve had the same idea a few days back when thinking out a problem here. I’m planning on using three entities as a way to categorize a technical issue. So I ask the user a question and by its answer (here I’m using an intent wildcard i.e. inform) I extract the text:

  1. its underlying necessity
  2. its feeling towards a
  3. problem-object

The way I thought of mapping those is by using featurized Slots, in a way that I would write such a story:

- utter_ask_problem
* inform{"feeling": "order", "necessity": "support", "problem-object": "hardware"}
- utter_hardware_orientation
- utter_ask_specify
* inform{"specific-object": "keyboard"}
- utter_inform_steps
* affirm
..

So that by each slot combination I would have different stories, handling each case specifically. I would have to elaborate on these slots definitions as to rightfully influence Action choosing but that’s the jist of it.

1 Like