Assign an intention to a text

Hi community. Thanks already for all the answers you have given me so far. they were really useful to me. I have another problem. I would like to know how to assign an intention to a text. Here for example, I have the following answer which I display to the user.


  • text: “Please choose a city” buttons:
    • title: A) Paris payload: /paris
    • title: B) Marseille payload: /marseille
    • title: C) Lyon payload: /lyon

I would like that when the user enters a letter (A, B, C), that the intention matches their choice. For example that: A corresponds to intention /paris

Do you mean in case users ignore the buttons? In that case I’d add examples of this to your NLU training data.