Skip to Content

UserIDs as entity

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Oct 29, 2019 at 09:59 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2019 at 09:35 AM

    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/0f93771cc9f64e31acd50de20ccc688b.html

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2019 at 10:07 AM

    Great Agustín Figueredo ! :) Happy to help, and feel free to ask whenever you need support from our team ;)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.