Page 1 of 1

Usage of @sys.math.expression not working [SOLVED]

Posted: Mon Apr 30, 2018 11:05 pm
by musthafa1996
Hi there! The usage of the pre-built entity for math expression @sys.math.expression doesn't seem to work. I'm using the latest version of OSCOVA.
And this is my code:

Code: Select all

	[Expression("Evaluate the expression @sys.math.expression:exp")]
	public void SolveMathProblem1(Context context, Result result)
        {
                var exp = result.Entities.OfType("exp");
        }
When I give input as "Evaluate the expression 3+2", it responds with a fallback message. Can anyone help me out?

Re: Usage of @sys.math.expression not working

Posted: Tue May 01, 2018 3:42 pm
by Fantom
Tested your code and its working for me. Whats the version of Syn Bot framework you are using in your code?

Re: Usage of @sys.math.expression not working

Posted: Wed May 02, 2018 10:29 am
by musthafa1996
Thanks for your response. I'm using Syn.Bot Framework version 2.9.5.1, the latest stable version. But it doesn't work for me. What might be the problem? Can you help?

Re: Usage of @sys.math.expression not working

Posted: Wed May 02, 2018 11:19 am
by musthafa1996
I updated Syn.Bot framework and everything works fine now. Thank you so much :)