Create training data with params

Let’s say I have lookup table for example “country”:“Zambia”,“Usa”,“Albania”.

Is there a way to not use the values in the training data, but to use a paramter instead?

  • “I want to fly from [country] to [country]”

Hi @eyal8698 yes you can do this. What you are referring to are entities. You are going to have to label a handful of examples in your training data for the model to learn like in the example below. You can find more about using entities in your training data in the docs: Training Data Format- Entities

I want to fly to (Zambia)[country]
Fly to (Albania)[country]

Given this specific use case it looks like you may also want to consider entity groups/roles as well: NLU Training Data- Roles and Groups