I want to build a bot that can redirect a link from google if the user input is not defined in the intent list.
But, I don’t know how to use actions.py to process this. How can I get the user input and check if it is matching to any intent or not?
Can anyone help me?
@shamim237 hello and welcome to the forum!!
Can you share an example of a bot/user conversation?
user- machine (not in intent list)
if user’s message not in the intent list, i want to get this message and search the message in google, then processing it
@shamim237 Means you want this scenario.
Bot: Hello welcome! How can I assist you?
User: Please tell me the latest version or Rasa X
Bot: Rasa X latest version is 1.0.x
these user queries should have in the intents examples.
But, if user asked :
User: Tell me the Window OS latest version
Which is not the part of intent’s it will go to google, search this user query and reply the answer? Right?
I can get the search result from google only if the user input is already in the intent. Besides this, I can’t.
please enlighten me. I will really appreciate that.
@shamim237 Yes, because rasa is trained based on the training examples only.
@shamim237 as you have already gotten the result, means you have tried all the suggestions which I was trying to suggest smart you.
@shamim237 You are basically building the search engine, not the chatbot, I am afraid.
Let me think about this use case and lets see how other developers comment on this use case.
not really. Our training dataset is always limited. I just want to make this chatbot, if it can fetch some data, which are not in the intent.md file.
In the real scenario, it is simple. We don’t know all the things in the world, but whenever it comes to learn, we google it. Likely, the bot has limited intents, so, when it gets any unknown input from the user, it will check the input and try to match with the intent list. If it can’t find any matching intent, it will google it. isn’t it simple? But I don’t know rasa well enough. I am using rasa for about 2-3 days.
@shamim237 share me rasa --version please?
@shamim237 but here the things do not go as per the real scenario, a model needs to be trained based on intents and some sets of examples.
@shamim237 I’d recommend please see some resources.
Valuable links and resources for your reference
Conversational AI with Rasa - Video Series [Latest based on 2.x]
Rasa for Beginners
Rasa Certification Workshop
Rasa Advanced Custom Actions, Forms, & Responses Workshop No-longer accepting enrolment
Rasa Advanced Deployment Workshop
Rasa Youtube Channel Please subscribe and hit the bell icon for notification.
Rasa Github Mini Project
Rasa Masterclass Handbook
Hardcopy Book: Conversational AI with Rasa
I hope these links will help you to learn Rasa!
Just tell me one thing, is there any way to map your stories.md file without giving an intent first?
answer is no
- story: welcome path1
- intent: get_started
- action: utter_welcome_message
- action: action_custom_actions
@nik202 i wanted to know the same i just want to take an input and then without matching the intent i want to pass it in actions how can i do that