Multiple entities in same intent

I am doing multiple entity extraction for a hotel chatbot. Here is my nlu.md

intent:greet

  • hey

  • hello

  • hi

  • good morning

  • good evening

  • hey there

intent:goodbye

  • bye

  • goodbye

  • see you around

  • see you later

intent:affirm

  • yes

  • indeed

  • of course

  • that sounds good

  • correct

intent:deny

  • no

  • never

  • I don’t think so

  • don’t like that

  • no way

  • not really

intent: book_room

  • i would like to book a room

  • i want a room

  • i want to book room

  • i would like a room

  • i want to have a room

  • i want to book

  • i would like to book

intent: book_n_rooms

  • [num_rooms] rooms

  • I would like to book [num_rooms]

  • I want [num_rooms] rooms

  • I need [num_rooms] rooms

  • I want to have [num_rooms] rooms

intent: room_type

  • I would like a [room_type_name] room

  • Well, I want [room_type_name]

  • I need [room_type_name] rooms

  • I prefer [room_type_name] rooms

book_room_all_details

  • I would like a [room_type_name] [num_rooms]

  • I would like [num_rooms] of [room_type_name]

  • I want [num_rooms] of [room_type_name]

  • I prefer [room_type_name] [num_rooms]

  • I like [num_rooms] of [room_type_name]

  • book [num_rooms] [room_type_name] rooms

  • I would like to book [num_rooms] [room_type_name]

  • I would like to book 2 deluxe rooms

  • I would like to book 3 deluxe type rooms

  • I want 1 simple room

  • I want 1 simple type room

  • I want 2 simple rooms

  • book 3 simple type rooms

  • book 3 simple rooms

  • I would like 5 rooms deluxe

  • I want 5 rooms deluxe

  • I prefer 5 rooms deluxe

  • I prefer 5 rooms deluxe

regex:num_rooms

  • [0-9]+

lookup:room_type_name

  • Simple

  • Deluxe

  • simple

  • deluxe

  • SIMPLE

  • DELUXE

intent:bot_challenge

  • are you a bot?

  • are you a human?

  • am I talking to a bot?

  • am I talking to a human?

When I try the intent book_rooms_all_details The chatbot asks me again the number of rooms. I presume the intent is wrongly classified in this case. What is the work around ? Please help. I am new to Rasa.

Hi @rahulseetharaman!

The intents seems very similar to each other. Any reason why you can’t merge the intents boom_room_all_details, room_type, book_n_rooms, and book_room under the same intent book_room?