If you provide enough examples in the trainingdata where the entities are annotated, entities not listed in the lookup table should also be picked up by position in the sentence.
so this should work:
- intent: order_pizza
examples: |
- I would like a [pizza](food)
- I am hungry for a [calzone](food)
- I would like a [cucumber](food)
- I could go for a [ham and eggs](food)
- Can i have a [pineaple](food)
- please provide me with a [cherry](food)
- lookup: food
examples: |
- round doughy thing
- italian pancake
- heavenly food
If you now ask: “can I have a egg” the bot detects egg as the entity food because it looks like ham and eggs and is in the right position. I think if you provide more examples like this it should also detect entities that do not look like listed entities.