BTW, I got everything working. I was just confused in rasa interactive…with the utter_faq, but didn’t notice it was choosing the right retrieval intent and response texts.
If I add utter_faq
and utter_chitchat
as actions in the domain, I get warnings when I run rasa train, which makes sense:
UserWarning: Action ‘utter_faq’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain.
Other than that, nothing changes when I run rasa shell. I thought only custom actions are defined under actions: in the domain file. It was interesting to see rasa interactive auto add those.
I ran rasa interactive --e2e
, but didn’t see anything different, so it would be helpful to show the specific retrieval intent, rather than just viewing the response text.
Furthermore, I did get an error this time in rasa interactive.
Encountered an exception while running action 'utter_chitchat'.Bot will continue, but the actions events are lost. Please check the logs of your action server for more
information.
> Traceback (most recent call last):
File "/mnt/d/Documents/projects/rasa2.0/.venv/lib/python3.8/site-packages/rasa/core/processor.py", line 681, in _run_action
events = await action.run(output_channel, nlg, tracker, self.domain)
File "/mnt/d/Documents/projects/rasa2.0/.venv/lib/python3.8/site-packages/rasa/core/actions/action.py", line 313, in run
response_selector_properties = tracker.latest_message.parse_data[
KeyError: 'response_selector'
What is this response_selector here? Is it because I don’t have actions defined when using rasa interactive?