# my input Your input → I have headache, fever and high body tempareture
2023-06-11 17:38:39 ERROR rasa.core.processor - Encountered an exception while running action 'action_get_diagnosis'.Bot will continue, but the actions events are lost. Please check t
he logs of your action server for more information.
Traceback (most recent call last):
File "c:\users\ritwik ganguly\pycharmprojects\chatbot development ritwik\chatbot\lib\site-packages\rasa\core\actions\action.py", line 770, in run
response: Any = await self.action_endpoint.request(
File "c:\users\ritwik ganguly\pycharmprojects\chatbot development ritwik\chatbot\lib\site-packages\rasa\utils\endpoints.py", line 175, in request
raise ClientResponseError(
rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body='b'{"error":"\'diagnosis\'","request_body":{"next_action":"action_get_diagnosis","sender_id":"9236d36a3e5c4ca4b2
d343bc903a0465","tracker":{"sender_id":"9236d36a3e5c4ca4b2d343bc903a0465","slots":{"session_started_metadata":null},"latest_message":{"intent":{"name":"inform_symptoms","confidence":0.999
9521970748901},"entities":[],"text":"I have headache, fever and high body tempareture","message_id":"24cbbd74004e4a4cb8b932ed36b76628","metadata":{},"text_tokens":[[0,1],[2,6],[7,15],[17,
22],[23,26],[27,31],[32,36],[37,48]],"intent_ranking":[{"name":"inform_symptoms","confidence":0.9999521970748901},{"name":"question_disease","confidence":1.690081444394309e-5},{"name":"bo
t_challenge","confidence":6.380548256856855e-6},{"name":"mood_unhappy","confidence":3.958702109230217e-6},{"name":"mood_great","confidence":3.941072918678401e-6},{"name":"get_name","confi
dence":3.1742397368361708e-6},{"name":"give_time","confidence":2.4167050014511915e-6},{"name":"intro_love","confidence":1.9450035324553028e-6},{"name":"intro_cute","confidence":1.91209369
4045325e-6},{"name":"thanks","confidence":1.6461567611258943e-6}],"response_selector":{"all_retrieval_intents":[],"default":{"response":{"responses":null,"confidence":0.0,"intent_response
_key":null,"utter_action":"utter_None"},"ranking":[]}}},"latest_event_time":1686485317.1641784,"followup_action":null,"paused":false,"events":[{"event":"action","timestamp":1686485183.712
9703,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"action_session_start","policy":null,"confidence":1.0,"action_text
":null,"hide_rule_turn":false},{"event":"session_started","timestamp":1686485183.7129703,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochori
c-duplex"}},{"event":"action","timestamp":1686485183.7129703,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"action_li
sten","policy":null,"confidence":null,"action_text":null,"hide_rule_turn":false},{"event":"user","timestamp":1686485184.1915748,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","
assistant_id":"20230605-110419-isochoric-duplex"},"text":"hi","parse_data":{"intent":{"name":"greet","confidence":0.9991430044174194},"entities":[],"text":"hi","message_id":"c0d5ef2d24674
6a29e178c33e5974be3","metadata":{},"text_tokens":[[0,2]],"intent_ranking":[{"name":"greet","confidence":0.9991430044174194},{"name":"question","confidence":0.00039854252827353776},{"name"
:"affirm","confidence":7.789670780766755e-5},{"name":"goodbye","confidence":5.9294721722835675e-5},{"name":"intro_love","confidence":5.898367817280814e-5},{"name":"get_name","confidence":
5.2665545808849856e-5},{"name":"deny","confidence":4.799182352144271e-5},{"name":"give_time","confidence":4.781575262313709e-5},{"name":"intro_unhappy","confidence":4.242738214088604e-5},
{"name":"intro_cute","confidence":2.183843207603786e-5}],"response_selector":{"all_retrieval_intents":[],"default":{"response":{"responses":null,"confidence":0.0,"intent_response_key":nul
l,"utter_action":"utter_None"},"ranking":[]}}},"input_channel":"cmdline","message_id":"c0d5ef2d246746a29e178c33e5974be3"},{"event":"user_featurization","timestamp":1686485184.2008317,"met
adata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"use_text_for_featurization":false},{"event":"action","timestamp":1686485184.20083
17,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"utter_greet","policy":"RulePolicy","confidence":1.0,"action_text":n
ull,"hide_rule_turn":false},{"event":"bot","timestamp":1686485184.2008317,"metadata":{"utter_action":"utter_greet","model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-1
10419-isochoric-duplex"},"text":"Hey!! Risa here, Know me, how can I help you","data":{"elements":null,"quick_replies":null,"buttons":null,"attachment":null,"image":null,"custom":null}},{
"event":"action","timestamp":1686485184.2105737,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"action_listen","policy
":"RulePolicy","confidence":1.0,"action_text":null,"hide_rule_turn":false},{"event":"user","timestamp":1686485194.1714966,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assist
ant_id":"20230605-110419-isochoric-duplex"},"text":"you are cute","parse_data":{"intent":{"name":"intro_cute","confidence":0.9971616268157959},"entities":[],"text":"you are cute","message
_id":"fa9ec694348749c2ae6fb037731c0521","metadata":{},"text_tokens":[[0,3],[4,7],[8,12]],"intent_ranking":[{"name":"intro_cute","confidence":0.9971616268157959},{"name":"get_name","confid
ence":0.0007440431509166956},{"name":"goodbye","confidence":0.0007053722511045635},{"name":"challenge","confidence":0.0003563712816685438},{"name":"deny","confidence":0.000288915471173822
9},{"name":"give_time","confidence":0.0002108616754412651},{"name":"question_disease","confidence":0.000191890329006128},{"name":"intro_unhappy","confidence":0.00011801496293628588},{"nam
e":"inform_symptoms","confidence":9.377217065775767e-5},{"name":"mood_great","confidence":4.4390875700628385e-5}],"response_selector":{"all_retrieval_intents":[],"default":{"response":{"r
esponses":null,"confidence":0.0,"intent_response_key":null,"utter_action":"utter_None"},"ranking":[]}}},"input_channel":"cmdline","message_id":"fa9ec694348749c2ae6fb037731c0521"},{"event"
:"user_featurization","timestamp":1686485194.1797261,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"use_text_for_featurizati
on":false},{"event":"action","timestamp":1686485194.1797261,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"utter_love
","policy":"TEDPolicy","confidence":0.9891573190689087,"action_text":null,"hide_rule_turn":false},{"event":"bot","timestamp":1686485194.1797261,"metadata":{"utter_action":"utter_love","mo
del_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"text":"thanks mate, so many thanks for your sweet words, it motivate me a lot.","data":{"ele
ments":null,"quick_replies":null,"buttons":null,"attachment":null,"image":null,"custom":null}},{"event":"action","timestamp":1686485194.1876411,"metadata":{"model_id":"c91b13ead2974dde838
1fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"action_listen","policy":"TEDPolicy","confidence":0.9994927644729614,"action_text":null,"hide_rule_turn":false},{"
event":"user","timestamp":1686485204.1366,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"text":"are you a bot","parse_data":
{"intent":{"name":"bot_challenge","confidence":0.9949285984039307},"entities":[],"text":"are you a bot","message_id":"cbff34db4ad84b8d934bbb11e98ac0ea","metadata":{},"text_tokens":[[0,3],
[4,7],[8,9],[10,13]],"intent_ranking":[{"name":"bot_challenge","confidence":0.9949285984039307},{"name":"deny","confidence":0.0019839091692119837},{"name":"intro_unhappy","confidence":0.0
008317066240124404},{"name":"challenge","confidence":0.00039989821380004287},{"name":"get_name","confidence":0.0003659901849459857},{"name":"mood_unhappy","confidence":0.00032631194335408
51},{"name":"give_time","confidence":0.00028382393065840006},{"name":"question","confidence":0.0002125929604517296},{"name":"mood_great","confidence":0.00019343540770933032},{"name":"gree
t","confidence":0.00016134751786012203}],"response_selector":{"all_retrieval_intents":[],"default":{"response":{"responses":null,"confidence":0.0,"intent_response_key":null,"utter_action"
:"utter_None"},"ranking":[]}}},"input_channel":"cmdline","message_id":"cbff34db4ad84b8d934bbb11e98ac0ea"},{"event":"user_featurization","timestamp":1686485204.142642,"metadata":{"model_id
":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"use_text_for_featurization":false},{"event":"action","timestamp":1686485204.142642,"metadata":{"mo
del_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"utter_bot","policy":"TEDPolicy","confidence":0.985858142375946,"action_text":null,"hi
de_rule_turn":false},{"event":"bot","timestamp":1686485204.142642,"metadata":{"utter_action":"utter_bot","model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isoc
horic-duplex"},"text":"I am a Healthcare Chatbot developed by team \'The Skill Prodigies\', Always for your service, how can I help you.","data":{"elements":null,"quick_replies":null,"but
tons":null,"attachment":null,"image":null,"custom":null}},{"event":"action","timestamp":1686485204.1555927,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"202306
05-110419-isochoric-duplex"},"name":"action_listen","policy":"TEDPolicy","confidence":0.9993705153465271,"action_text":null,"hide_rule_turn":false},{"event":"user","timestamp":1686485220.
489273,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"text":"you are doing excellent","parse_data":{"intent":{"name":"nlu_fa
llback","confidence":0.3},"entities":[],"text":"you are doing excellent","message_id":"767332c12a714b4badda7678fafb7087","metadata":{},"text_tokens":[[0,3],[4,7],[8,13],[14,23]],"intent_r
anking":[{"name":"nlu_fallback","confidence":0.3},{"name":"mood_great","confidence":0.18936221301555634},{"name":"intro_cute","confidence":0.1832685023546219},{"name":"intro_unhappy","con
fidence":0.1067519262433052},{"name":"challenge","confidence":0.07918668538331985},{"name":"get_name","confidence":0.05883895233273506},{"name":"bot_challenge","confidence":0.058476895093
91785},{"name":"greet","confidence":0.057661376893520355},{"name":"deny","confidence":0.04909893870353699},{"name":"inform_symptoms","confidence":0.047403980046510696},{"name":"question_d
isease","confidence":0.04586716741323471}],"response_selector":{"all_retrieval_intents":[],"default":{"response":{"responses":null,"confidence":0.0,"intent_response_key":null,"utter_actio
n":"utter_None"},"ranking":[]}}},"input_channel":"cmdline","message_id":"767332c12a714b4badda7678fafb7087"},{"event":"user_featurization","timestamp":1686485220.5031345,"metadata":{"model
_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"use_text_for_featurization":false},{"event":"action","timestamp":1686485220.5031345,"metadata":
{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"utter_name","policy":"TEDPolicy","confidence":0.5042136907577515,"action_text":nu
ll,"hide_rule_turn":false},{"event":"bot","timestamp":1686485220.5031345,"metadata":{"utter_action":"utter_name","model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110
419-isochoric-duplex"},"text":"Hey dear, Risa Here, Made by the team \'THE SKILL PRODIGIES\' with RASA, Always for your service in healthcare","data":{"elements":null,"quick_replies":null
,"buttons":null,"attachment":null,"image":null,"custom":null}},{"event":"action","timestamp":1686485220.5183115,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"2
0230605-110419-isochoric-duplex"},"name":"action_listen","policy":"TEDPolicy","confidence":0.9994767308235168,"action_text":null,"hide_rule_turn":false},{"event":"user","timestamp":168648
5241.0291598,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"text":"whats the time now dear","parse_data":{"intent":{"name":"
give_time","confidence":0.9968288540840149},"entities":[],"text":"whats the time now dear","message_id":"dfe82ee79d8b4c9d8f87716abd0b8ee9","metadata":{},"text_tokens":[[0,5],[6,9],[10,14]
,[15,18],[19,23]],"intent_ranking":[{"name":"give_time","confidence":0.9968288540840149},{"name":"question_disease","confidence":0.0006700927042402327},{"name":"question","confidence":0.0
0047102352255024016},{"name":"mood_great","confidence":0.0003320665273349732},{"name":"intro_cute","confidence":0.00030739937210455537},{"name":"greet","confidence":0.00023896674974821508
},{"name":"bot_challenge","confidence":0.0002215191925643012},{"name":"challenge","confidence":0.00020499723905231804},{"name":"deny","confidence":0.00017436275084037334},{"name":"intro_u
nhappy","confidence":0.00014596714754588902}],"response_selector":{"all_retrieval_intents":[],"default":{"response":{"responses":null,"confidence":0.0,"intent_response_key":null,"utter_ac
tion":"utter_None"},"ranking":[]}}},"input_channel":"cmdline","message_id":"dfe82ee79d8b4c9d8f87716abd0b8ee9"},{"event":"user_featurization","timestamp":1686485243.1796942,"metadata":{"mo
del_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"use_text_for_featurization":false},{"event":"action","timestamp":1686485243.1796942,"metadat
a":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"action_give_time","policy":"RulePolicy","confidence":1.0,"action_text":null,"h
ide_rule_turn":false},{"event":"bot","timestamp":1686485243.1796942,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"text":"Th
e current time is - 2023-06-11 17:37:23.082391","data":{"elements":null,"quick_replies":null,"buttons":null,"attachment":null,"image":null,"custom":null}},{"event":"action","timestamp":16
86485243.1882968,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isochoric-duplex"},"name":"action_listen","policy":"RulePolicy","confidence":1.0
,"action_text":null,"hide_rule_turn":false},{"event":"user","timestamp":1686485317.1493917,"metadata":{"model_id":"c91b13ead2974dde8381fd304e46d34c","assistant_id":"20230605-110419-isocho
ric-duplex"},"text":"I have headache, fever and high body tempareture","parse_data":{"intent":{"name":"inform_symptoms","confidence":0.9999521970748901},"entities":[],"text":"I have heada
che, fever and high body tempareture","message_id":"24cbbd74004e4a4cb8b932ed36b76628","metadata":{},"text_tokens":[[0,1],[2,6],[7,15],[17,22],[23,26],[27,31],[32,36],[37,48]],"intent_rank
ing":[{"name":"inform_symptoms","confidence":0.9999521970748901},{"name":"question_disease","confidence":1.690081444394309e-5},{"name":"bot_challenge","confidence":6.380548256856855e-6},{
"name":"mood_unhappy","confidence":3.958702109230217e-6},{"name":"mood_great","confidence":3.941072918678401e-6},{"name":"get_name","confidence":3.1742397368361708e-6},{"name":"give_time"
,"confidence":2.4167050014511915e-6},{"name":"intro_love","confidence":1.9450035324553028e-6},{"name":"intro_cute","confidence":1.912093694045325e-6},{"name":"thanks","confidence":1.64615
67611258943e-6}],"response_selector":{"all_retrieval_intents":[],"default":{"response":{"responses":null,"confidence":0.0,"intent_response_key":null,"utter_action":"utter_None"},"ranking"
:[]}}},"input_channel":"cmdline","message_id":"24cbbd74004e4a4cb8b932ed36b76628"},{"event":"user_featurization","timestamp":1686485317.1641784,"use_text_for_featurization":false}],"latest
_input_channel":"cmdline","active_loop":{},"latest_action":{"action_name":"action_listen"},"latest_action_name":"action_listen"},"version":"3.5.5","domain":{"version":"3.1","intents":["af
firm","bot_challenge","challenge","deny","get_name","give_time","goodbye","greet","inform_symptoms","intro_cute","intro_love","intro_unhappy","mood_great","mood_unhappy","question","quest
ion_disease","thanks"],"actions":["action_get_diagnosis","action_give_time"],"responses":{"utter_greet":[{"text":"Hey Welcome, how can I assist you today?"},{"text":"Hi dear!!!!, speak up
with your problem"},{"text":"Hey!! Risa here, Know me, how can I help you"},{"text":"Hi, What symptoms are you experiencing?"}],"utter_did_that_help":[{"text":"Did you find the solution?
"},{"text":"is this helpful??"},{"text":"Did you get the cure of your symptoms??"}],"utter_happy":[{"text":"Great, carry on!, tell me if you have any other problem"}],"utter_goodbye":[{"t
ext":"Goodbye, see you soon!"},{"text":"Come back!! Again and find your solution in Healthcare"},{"text":"Goodbye, take care!!!"}],"utter_thanks":[{"text":"No issues mate, We are here to
help."}],"utter_iamabot":[{"text":"I am Risa, powered by Rasa and made with love by \'The Skill Prodigies\'. "}],"utter_name":[{"text":"Hey dear, Risa Here, Made by the team \'THE SKILL P
RODIGIES\' with RASA, Always for your service in healthcare"},{"text":"Hey, Risa Here, Made by the team \'THE SKILL PRODIGIES\' with RASA, say your symptoms I will try my best to help you
out."},{"text":"Hey \\ud83d\\ude09, Risa Here, Made by the team \'THE SKILL PRODIGIES\' with RASA, tell me your symptoms, I will Help you out!!!"}],"utter_deny":[{"text":"Can you tell me
your 3 to 4 symptoms of your problem again"},{"text":"Can your repeat your problems, I will try to find the best solution again"},{"text":"Sorry!!! for the inconvenience caused, please t
ell me your problem again."}],"utter_unhappy":[{"text":"Don\'t worry tell me your symptoms, I will find the solution."},{"text":"Don\'t lose hope, Risa is ready for your service","image":
"https:\\/\\/dkk4qeqny48s0.cloudfront.net\\/wp-content\\/uploads\\/2019\\/02\\/chatbot_blog-1.jpg"}],"utter_bot":[{"text":"I am a Healthcare Chatbot developed by team \'The Skill Prodigie
s\', Always for your service, how can I help you."},{"text":"I am Risa, Your virtual healthcare bot, How can I help you out."}],"utter_challenge":[{"text":"Sorry, if I have said somthing
wrong, I only can help you at the healthcare support."},{"text":"Extreamly sorry if I said anything wrong, I only can give you the suggestion, for further tratment you have to consult any
doctor."}],"utter_love":[{"text":"Thanks for your sweet words, but I have not that time to give you time, there are so many ill persons whom I need to cure."},{"text":"thanks mate, so ma
ny thanks for your sweet words, it motivate me a lot."}]},"session_config":{"session_expiration_time":60,"carry_over_slots_to_new_session":true}}}}''
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File “c:\users\ritwik ganguly\pycharmprojects\chatbot development ritwik\chatbot\lib\site-packages\rasa\core\processor.py”, line 917, in _run_action events = await action.run( File “c:\users\ritwik ganguly\pycharmprojects\chatbot development ritwik\chatbot\lib\site-packages\rasa\core\actions\action.py”, line 797, in run raise RasaException( rasa.shared.exceptions.RasaException: Failed to execute custom action ‘action_get_diagnosis’
please tell me how to get the solution and what to change for preferance I attached the necessary files nlu.yml (4.1 KB) rules.yml (780 Bytes) stories.yml (1.4 KB) config.yml (691 Bytes) domain.yml (2.8 KB) endpoints.yml (1.4 KB) actions.py (4.4 KB)