IranCahtBot
V.I.P
Posts: 27
Joined: Sat Feb 25, 2017 7:36 pm

adding an Intent dynamically into a Bot

Sat Jun 24, 2017 9:37 pm

Hello Dear FranzZ,

I appreciate you for taking time to guide me.
Would you please help me; How I can develop an application so the user adds an Intent dynamically into a Bot. I want in the application, user define Expression and Response. Such as:
Message: “How are you?”
Response: “I'm fine, thank you”
With regards
Ebrahimi

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

Re: adding an Intent dynamically into a Bot

Sun Jun 25, 2017 11:54 am

You can add quick replies as shown below within the constructor. Quick replies must only be added within Constructors, anywhere else and the Bot will not process them.

CSharp Code

internal class MyDialog : Dialog
{
	public MyDialog()
	{
		QuickReplies.Add("How are you?", "I am fine.");
		QuickReplies.Add("How is life?","Life is going great!");
	}
}

IranCahtBot
V.I.P
Posts: 27
Joined: Sat Feb 25, 2017 7:36 pm

Re: adding an Intent dynamically into a Bot

Sun Jun 25, 2017 12:47 pm

Hello Dear FranzZ,,
I thank you for the response.
Would you please guide me, is another way to define a dialog (a set of intents) dynamically at run-time, instead of doing that through code-behind. Such as SIML bot that we can declare markup files which were used by the bot to build the dialog.
If it is possible, do you have C# Script that creates Dialog classes dynamically at run-time.
I sincerely appreciate you helping me.
With regards,
Ebrahimi

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

Re: adding an Intent dynamically into a Bot

Sun Jun 25, 2017 6:22 pm

Dynamically creating a C# class for OSCOVA dialog requires that you learn working with CS-Script. We haven't officially added any support external engines to directly interface with OSCOVA dialog creation process as a lot of pre-processing and dependencies will get involved if we tried to do so.

In the coming week between (26th of June to 30th of June) our Lead Software Architect - Leslie Timmy will be making an announcement regarding SIML Draft specification for OSCOVA.

IranCahtBot
V.I.P
Posts: 27
Joined: Sat Feb 25, 2017 7:36 pm

Re: adding an Intent dynamically into a Bot

Tue Jun 27, 2017 11:34 am

Hello Dear FranzZ,,
I appreciate your attention to this matter.

With regards,
Ebrahimi

IranCahtBot
V.I.P
Posts: 27
Joined: Sat Feb 25, 2017 7:36 pm

Re: adding an Intent dynamically into a Bot

Sat Sep 02, 2017 10:14 pm

Hello Dear FranzZ,,

Would you please guide me, how I can add or define a dialog (a set of intents) dynamically at run-time, instead of doing that through code-behind. I sincerely appreciate you helping me.
With regards,
Ebrahimi

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

Re: adding an Intent dynamically into a Bot

Sat Sep 02, 2017 11:01 pm

Dynamically creating dialogs for Oscova is not supported yet as during training Oscova does a lot of computation for each Expression so if a new dialog is added at run-time it will affect all other expressions and scoring will also be affected.

Return to “Feature Request and Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest