Posts: 1
Joined: Tue Apr 16, 2019 5:52 pm

Oscova doesn't react to Entities

Tue Apr 16, 2019 6:19 pm

Hi. I am trying to build a chat bot with OSCOVA. It should ask the user for the name. But i have trouble to recognise the username with help of Entities. Hope some one can help me.

Chatbot Page

CSharp Code

            // Add Entities
            bot.CreateRecognizer("property", new[] { "username", "birthdate" });

CSharp Code

        [Expression("My name is {username}")]
        public void AddUserName(Context context, Result result)
            var username = result.Entities.OfType("property").Value;

User avatar
Help & Support
Posts: 312
Joined: Fri Oct 25, 2013 9:20 pm

Re: Oscova doesn't react to Entities

Fri May 17, 2019 12:15 am

you'll have to understand what entity entry values mean. Please refer this link

Return to “Report Bugs and Issues”

Who is online

Users browsing this forum: No registered users and 1 guest