问题
We have a bot designed in C# SDK V3. The functionality is such that upon user input, the query is passed to qnamaker and the answers are given to the user. If there is no answer found in the qnamaker, the search is directed to sharepoint.
There was a new requirement wherein upon asking for any search keyword, the bot has to give the user a processed file - a web api was implemented for this purpose. The issue started while trying to integrate this web api in the bot.
A new intent was added to invoke this web api. However, adding this intent has disturbed the existing functionality. Hence, I have decided to proceed with the patterns- add simple entity and have a patterns.
I am not sure if adding patterns is the correct solution for this issue. The problem I face now is when I test within the qnamaker after adding all the entity utterances, the pattern based input does not show the entity or pattern prediction for some of the utterances even after training it several times.
回答1:
I was able to resolve the issue by following Zeryth's suggestion of training the model and publishing the Luis model again.
来源:https://stackoverflow.com/questions/55215111/luis-patterns-does-not-identify-all-entity-utterances