shamim237
(Shamim Mahbub)
January 26, 2022, 6:35pm
1
Hello,
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?
nik202
(NiK202)
January 26, 2022, 6:43pm
2
@shamim237 hello and welcome to the forum!!
Can you share an example of a bot/user conversation?
shamim237
(Shamim Mahbub)
January 26, 2022, 7:03pm
3
bot- hi
user- hi
bot- welcome
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
nik202
(NiK202)
January 26, 2022, 7:26pm
4
@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?
shamim237
(Shamim Mahbub)
January 26, 2022, 7:30pm
7
I can get the search result from google only if the user input is already in the intent. Besides this, I can’t.
shamim237
(Shamim Mahbub)
January 26, 2022, 7:31pm
8
please enlighten me. I will really appreciate that.
nik202
(NiK202)
January 26, 2022, 7:31pm
9
@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.
shamim237
(Shamim Mahbub)
January 26, 2022, 7:35pm
10
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.
shamim237
(Shamim Mahbub)
January 26, 2022, 7:39pm
11
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.
nik202
(NiK202)
January 26, 2022, 8:09pm
12
shamim237:
intent.md
@shamim237 share me rasa --version please?
nik202
(NiK202)
January 26, 2022, 8:11pm
13
@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
RasaMasterclass
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!
shamim237
(Shamim Mahbub)
January 26, 2022, 8:15pm
14
Just tell me one thing, is there any way to map your stories.md file without giving an intent first?
Like–
story
—custom_action
nik202
(NiK202)
January 26, 2022, 8:25pm
15
answer is no
- story: welcome path1
steps:
- intent: get_started
- action: utter_welcome_message
- action: action_custom_actions
anshal
(Anshal_Khan)
June 20, 2022, 8:28am
16
HIi @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
1 Like
I’m just going through forum themes and can not find information about how to use ANY user input.
For example, in my use case bot asks for additional commentaries which I just want to save. But it’s impossible to write intents for such use case, they will always fail. It’s ridiculous if it’s impossible to somehow take any input from user.