#13114·rasa

How to Handle Out of Context Messeges and Unclear Messges in Chat

Author: Vishwa-udCreated Mar 18, 2025Updated Mar 18, 2025

Your input -> hello
Hey there! What's your name? Your input -> my name is john
In which city do you live? Your input -> im from new york
Can i get your phone number? Your input -> 0123456789
Hey vishwa,New York is a very beautifull place. Your phone number is 0123456789 Your input -> quit
Your input -> what is chat gpt
I'm here to assist with any questions related to forms. If you need help with our services, features, or how to fill out a form, feel free to ask! Your input -> sdas
Your input ->

i have some issues : 1 Out of Context what is chat gpt or what is world these are out of context messages for these i need to respons like this "I'm here to assist with any questions related to forms. If you need help with our services, features, or how to fill out a form, feel free to ask!" becuse user can ask differnet questions this bot will only focus on form filling. 2 Unclear sdas,asdw and in intent example if i give a something not difine in it there then say "Sorry, I didn't understand that. Can you rephrase?" ex there is example like this my name is [Jhon] (name) but i give a prompt like this my name is new york. for that i need to say i cant understand can you rephrase like that . and this is not only for name and i need a solution without hardcording how to do this what is the best way use in rasa. how to get a solution for both senarios.