Rasa Version : 3.0.6
Minimum Compatible Version: 3.0.0
Rasa SDK Version : 3.0.4
Rasa X Version : None
Python Version : 3.8.10
Operating System : Windows-10-10.0.18363-SP0
I want to create an application which searches does a google search on the basis of the user input. For example: User: find rasa
Computer: rasa - Google Search
the computer output is the one given by the created in rasa. I am able to do the same for the example keywords I have given in the nlu.md file but if I search for the keyword which is not in the examples in the nlu intent, the entity is not being picked.
This is my domain file: version: “3.0”
intents:
- greet
- goodbye
- affirm
- deny
- mood_great
- mood_unhappy
- bot_challenge
- tell_name
- out_of_scope
- my_name:
use_entities:
- search
entities:
- search
slots:
search:
type: text
influence_conversation: true
mappings:
- type: from_entity
entity: search
responses:
utter_greet:
- text: "Hey! How can I help you"
utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"
utter_did_that_help:
- text: "Did that help you?"
utter_happy:
- text: "Great, carry on!"
utter_goodbye:
- text: "Bye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
utter_name:
- text: My name is Innovate Yourself.
utter_ask_name:
- text: What is your name?
utter_ask_number:
- text: What is your mobile number?
utter_thanks:
- text: Thanks for providing the values.
utter_details_thanks:
- text: "Your search for \nName: {Name}"
utter_out_of_scope:
- text: Sorry, I didn't get what you said. Please rephrase what you said.
actions:
- action_submit
forms:
user_details_form:
required_slots:
- search
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
My action.py is working perfectly for the keywords in the nlu.md file, for the words outside the entity is showing to be empty.
nlu.yml (2.2 KB)
Tutorial which I am following: RASA OPEN SOURCE 2.0 | FORMS IN DETAILS - YouTube
Yes, the goolge api is working for the keywords already given in the nlu.md file
What do you mean by </>? Yes, I must have got confused with the tutorial I was following as he was using RASA 2.0 and nlu.md
I have changed the category
@shruti_1234 its fine no worries, what you saying regarding google search and what you mentioned in the domain and nlu.yml its not matching with code. In nlu.yml in google search are you sure you want to search this?