Reputation: 257
I am using API.AI system entity: @sys.given-name and it does not work on all kind of names,for example if I give some classic indian names like naresh, rahul, etc, then it goes to default fallback intent. Does anyone know how this issue can be solved?
Upvotes: 1
Views: 539
Reputation: 98
I've had a similar experience and problem using @sys.given-name for Dutch names. The company I'm working for requested for a functionality where information about an exmployee could be displayed by asking for someones name.
The way I've solved this issue is by using the @sys.any entity. @sys.any will capture any string responses as an entity in user query. From there I parse the @sys.any:name in my webhook and compare it with a string matching algorithm to a list of names from a database.
My user utterances in that intent look something like this:
I'd like to know more about @sys.any:name
Who is @sys.any:name
What do you know about @sys.any:name
This solution has been working decently and reliably for me.
Upvotes: 1