Slot name with "illegal character" should be flagged?
See original GitHub issueRasa Core version: 0.12.1 (but the master has the same issue)
Python version: 3.6.6
Operating system (windows, osx, …): Linux
Issue:
I had slot name with dot e.g. my_company_name.special_slot
this works as long as it is not used in a template but because the substitute is done with python built-in format
, dot notation won’t work.
https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/nlg/template.py#L79
I did the easy workaround of removing dot but perhaps either
(a) allow dot in slot by updating _fill_template_text
function or
(b) when domain file is passed, check and see if slot name with invalid python variable name is also used in template. if so error out
Would be helpful
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
slot: The Slots in an Object from a Formal Class - Rdrr.io
The name of the slot. The operator takes a fixed name, which can be unquoted if it is syntactically a name in the...
Read more >The Slots in an Object from a Formal Class - R
The name of the slot. The operator takes a fixed name, which can be unquoted if it is syntactically a name in the...
Read more >java.net.URISyntaxException: Illegal character in scheme ...
Exception in thread "main" org.redisson.client.RedisConnectionException: Can't connect to servers! at org.redisson.cluster.
Read more >Azure Functions deployment slots | Microsoft Learn
Learn to create and use deployment slots with Azure Functions. ... Use function app names shorter than 32 characters. Names longer than 32 ......
Read more >Dell PowerEdge M1000e Chassis Management Controller ...
Also standard, and special characters are allowed in the names. Slot names must be unique within the chassis. No two slots may have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Super nice 🚀 Thanks! Let me know if you have questions
@naoko Awesome! I discuss it with the team and come back to you 👍