Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the new master branch #38

Closed
davidhsv opened this issue Nov 5, 2020 · 5 comments
Closed

Error in the new master branch #38

davidhsv opened this issue Nov 5, 2020 · 5 comments

Comments

@davidhsv
Copy link

davidhsv commented Nov 5, 2020

ERROR rasa.core.nlg.interpolator - Failed to fill utterance template "/inform{"priority":"low"}". Tried to replace ""priority":"low"" but could not find a value for it. There is no slot with this name nor did you pass the value explicitly when calling the template. Return template without filling the template.
Traceback (most recent call last):
File "/home/david/desenvolvimento/projetos/grupo8/venv/lib/python3.7/site-packages/rasa/core/nlg/interpolator.py", line 28, in interpolate_text
text = text.format(values)
KeyError: ""priority":"low""
2020-11-05 18:53:51 ERROR rasa.core.nlg.interpolator - Failed to fill utterance template "/inform{"priority":"medium"}". Tried to replace ""priority":"medium"" but could not find a value for it. There is no slot with this name nor did you pass the value explicitly when calling the template. Return template without filling the template.
Traceback (most recent call last):
File "/home/david/desenvolvimento/projetos/grupo8/venv/lib/python3.7/site-packages/rasa/core/nlg/interpolator.py", line 28, in interpolate_text
text = text.format(values)
KeyError: ""priority":"medium""
2020-11-05 18:53:51 ERROR rasa.core.nlg.interpolator - Failed to fill utterance template "/inform{"priority":"high"}". Tried to replace ""priority":"high"" but could not find a value for it. There is no slot with this name nor did you pass the value explicitly when calling the template. Return template without filling the template.
Traceback (most recent call last):

@sara-tagger
Copy link

Thanks for the issue, @samsucik will get back to you about it soon!

You may find help in the docs and the forum, too 🤗

@samsucik
Copy link

samsucik commented Nov 6, 2020

Hey @davidhsv, this looks like the string /inform{"priority":"low"} gets misidentified as a response with variables. First things first, which version of Rasa do you use? Secondly, do you know where the string is coming from? If it"s in your NLU data, could you share the relevant part of the data file? That could help us understand why the string is treated as a response.

@davidhsv
Copy link
Author

davidhsv commented Nov 6, 2020

I"m using the 2.0.3 version, and the nlu data is from the branch master of the help-desk-assistant. To reproduce, clone the code from this repo, rasa shell, and answer hi, open an incident, [email protected], and choose the priority

@samsucik
Copy link

samsucik commented Nov 9, 2020

Oh, sorry @davidhsv, I didn"t notice the repo and thought this issue belonged to the rasa one. I"ve been able to reproduce this and it looks like a bug. Thanks a lot for reporting! I believe @erohmensing will fix it.

@erohmensing
Copy link
Contributor

I"m going to close this as it"s a duplicate. Sorry for the annoying error, it should be gone soon! But it won"t affect the performance of your assistant. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants