Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uptrailing curly brace being stripped from slot value #793
Comments
|
@Shotgun167 , {
"input": "go to ${website}",
"intent": {
"intentName": "go_to_url",
"probability": 1.0
},
"slots": [
{
"entity": "url",
"range": {
"end": 15,
"start": 6
},
"rawValue": "${website", # TRUNCATED VALUE HERE
"slotName": "url",
"value": {
"kind": "Custom",
"value": "${website}" # FULL VALUE HERE
}
}
]
}The plan (mid-term) is to have a tokenizer component which will be customized through the NLU configuration. |
|
I am working around it right now. I substitute in a crazy string for the trailing punctuating before parsing, and then swap it back out of the response. This is a nasty, ugly hack that makes code reviewers cry. So, I look forward to the customizable parser. Is it possible to guesstimate a timeframe? |
|
It is not prioritized yet so I can't give you a good ETA, but I think this could be done within the next 3 months. |


I have some values in slots that are surrounded by curly braces and are meant to be returned as is. Instead, the trailing brace is being stripped. "${website}" becomes "${website". I have training examples where the whole "${website}" is included. Is there a way to change this behavior?