Hi there everyone! I have a problem and I hope you can show me the right way to handle it.
I defined the following snippet in the stories.md of my rasa core:
finding a person
- find_person
- utter_ask_person_name
- enter_text
- action_find_person_by_name
The last action is a custom one and it successfully extracts the text from the user response in order to make a query against a database with the text as the keyword.
The problem is that I don’t know how to define the intent enter_text inside the data.md file of the NLU in order to accept any text without falling into the fallback action.
For example I would like to have a conversation like the following:
- (me) Find a person
- (bot) Tell me the name of that person please
- (me) Barack Obama
- (bot) [action execution…] I found out Barack Obama born in 1961
Any suggestion? I can change a little the flow of the conversation, but the one I have presented would be the ideal solution
Thank you in advance guys, I hope you can help me.