cancel
Showing results for 
Search instead for 
Did you mean: 

UserIDs as entity

a_figueredo
Explorer

Hi,

We are trying to get any userID as an entity in order to perform several queries via odata.

I mean, an example for our chatbot flow could be:

I need to check USER1 holidays.

--> Skill for checking holidays is activated, with USER1 as entity "userID". --> Odata call with "userID = USER1".

I'm really newbie with chatbots and so sure it's easy to solve, but I am not able to set USER1 as userid into memory. With user names "Ex. John Doe" it's easier because nlp auto-assign it.

With restricted values, we can set them into the entity value list, but for userIDs, they are not "known words" so nlp does not work and the list is not restricted, it changes so many times. Should we feed the entity list with all possible values and update it everytime we have a new user?

Thanks a lot,

Kr,

Agustín.

Accepted Solutions (1)

Accepted Solutions (1)

a_figueredo
Explorer

Thanks Sebastien for your help.

Finally I was able to save the userID/Free Text as entity following the steps from this thread:

https://answers.sap.com/questions/12710286/accepting-free-text-as-in-entity.html

Answers (2)

Answers (2)

sebastienb
Product and Topic Expert
Product and Topic Expert
0 Kudos

Great a.figueredo ! 🙂 Happy to help, and feel free to ask whenever you need support from our team 😉

sebastienb
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Agustin,

As I believe your userIDs have the same format (like AAA111), you can do a free entity and start tagging some examples in your expressions.
See our doc (Free custom entities) : https://help.sap.com/viewer/a4522a393d2b4643812b7caadfe90c18/1909/en-US/0f93771cc9f64e31acd50de20ccc...