Training with 1 sentence and 3 possibilities of words instead of 3 different sentences

Suppose I have an intent about fruit, with a user sentence – “I like orange”. I want to teach the bot that “I like orange” could also be “I like apple” or “I like banana”. Instead of training the bot with 3 different sentences in my intent, I would like to train it with only one sentence like “I like (orange, apple, banana)”. Is that possible? Thanks.

1 Like

You can use an entity called Fruit for example and add a lookup table as outlined here: Entity extraction with the new lookup table feature in Rasa NLU.

1 Like

@ameid is correct, but you have to make sure that you have enough examples to recognize the intent. For small amounts of different sentences like that, i would recommend chatito. If your list of e.g. fruits grows very long, then i would recommend lookup tables