-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Issue with entity values #106
Comments
Indeed this isn't currently implemented. See The simplest way to do this would just be to create a list of aliases in your code & reconcile them later. Support for doing this natively (& more generally) is coming, but I can't tell you exactly when. |
My suggestion for how to implement this is to build up a map when we read through the training data. All entities are then mapped by their "value". So the map would look like :
built up from entities like
We would persist this in the model dir, as |
Fix connection to action server - [ENG 680]
Fix connection to action server - [ENG 680]
Hi,
I am trying to map synonyms and misspellings to predefined values (using spacy + sklearn). In demo-rasa.json, I add the following (plus several other possibilities):
{
"text": "show me tchineez restaurants",
"intent": ""restaurant_search"",
"entities": [
{
"start": 8,
"end": 16,
"value": ""chinese"",
"entity": "cuisine"
}
]
}
After training, when I send "show me tchineez restaurants" to parse, I get "tchineez" as the entity value instead of the "chinese".
The text was updated successfully, but these errors were encountered: