How to Deal with Unpredictable Entities

Hello again! I’m making a bot to search for a youtube video that the user requests. Obviously I can’t prepare for every potential youtube video a user might ask for. For example this is what I’ve got right now:

- intent: ytr
  examples: |
    - I want to watch [Never Gonna Give You Up](video_request)
    - I want to watch [Conversational AI with Rasa: Basic Forms](video_request)

The user might want a different video, and my bot can’t handle that. How can I accomplish this?

Thanks!

1 Like

Hello!

What I would suggest is taking the whole input as the name - maybe even guide the user by saying you want the name only.

Look at from_text mapping.

1 Like

Thanks so much! That solved it!

God Bless,

LeadPoison

1 Like