[Question] ActionBinding - Resolution in matching entity throwing InvalidCastException when using Custom List Entities #139
Labels
question
Further information is requested. Stack Overflow candidate
I faced a problem yesterday when the user typed a value that is a list entity which would cause an InvalidCastException to be thrown in the ActionBinding project.
Exception message:
Object must implement IConvertible
After some debugging (pictures attached) I found the problem and came up with a temporary fix.
In LuisActionResolver.cs (line ~445)
Before:
After:
(and the required imports)
It works for me since I don't have the same synonym in multiple entries.
I could create a pull request but I'm not sure if this is the best approach to solve the problem.
The text was updated successfully, but these errors were encountered: