I am trying to implement synonyms functionality but it is not working as expected.
Here is my nlu.md file data:
## intent:defect_flow
- i have an issue with [low](slot_name) priority
- i want to report a [high](slot_name) priority issue
- bug
## synonym:low
- less priority
- uncritical
- less important
## synonym:high
- critical
- major
- very important
##synonym format data is not working for me
I given user input as “i have an issue with critical priority” but is not able to fill the slot with “High”.
I don’t want to increase the training data with same kind of utterance. I want to use synonyms in order to reduce the number of training data.
Currently i am using nlu.md for synonyms and training data. Not in JSON format.
## intent:defect_flow
- i have an issue with [low](slot_name) priority
“i have an issue with critical priority” if i write like this it should automatically take critical as the synonym of high.
I don’t want to give training data with similar sentence with changed synonym
@huberrom
Yes, i agree synonyms are only here to extract the same slot value for different entity values.
eg: I have one training phrase and 2 synonyms my model should end up with 3 training phrases but its not working with nlu.md file.
Below is my training data in the intent.
intent:defect_flow
- i have an issue with [low](slot_name) priority
synonym:low
- uncritical
- less important
so my model should contain 3 training phrases after the training is completed like below
i have an issue with low priority
i have an issue with uncritical priority
i have an issue with less important priority