Same value for multiple entities

Hi all,

I was trying to create a form based chat, by following the tutorial Tutorial: Building Assistants

I Have two slots ( mapped to two entities) in the form which may take same value in one case.

For e.g.: One slot accept type of coffee ( entity coffee) which can take value cappuccino, latte, etc… and ’anything’ incase, the user does not ave any preference.

Same case goes with another slot (entity sugar) which accept type of sugar brown, white, powder and anything incase, the user does not ave any preference.

So I have to match value ‘anything’ to coffee and sugar entities.

Is this possible?

I tried it with ‘CRFEntityExtractor’ but it was recognising ‘anything’ only as coffee.

Any suggestion is welcome .

## intent:coffeeform

- [cappucino](coffee)

- [latte](coffee)

- [cold coffee](coffee)

- [cafe americano](coffee)

- [anything](coffee)

- [brown cube](sugar)

- [white cube](sugar)

- [powder](sugar)

- [anything](sugar)

hey @nadeeshtv could you please share the intents for both entities coffe and sugar so we can identify the problem :slight_smile:

@Youssef-0 updated with the intent

@nadeeshtv providing training examples where a single value, in this case “anything”, is more than one label will not teach it to provide both. In fact it will typically reduce the competency of your AI many cases. The CRF will however allow you to demonstrate a contextual understanding. This means that you could label I would take [anything](coffee) to warm me up. and You could put [anything](sugar) that will make it sweeter.

Thanks @Oli