Rajesh
Newbie
Posts: 5
Joined: Wed Oct 05, 2016 12:52 pm

simlpk data read

Wed Oct 05, 2016 2:34 pm

Hi i need to read simlpk data to string without sending input parameter please help me out

User avatar
Leslie
Lead Software Architect
Posts: 353
Joined: Fri Sep 14, 2012 12:20 pm
Contact: Website

Re: simlpk data read

Wed Oct 05, 2016 6:59 pm

Hey Rajesh, I am sorry but I am not certain if I understand your question correctly.

To load an SimlPk file into SimlBot you can use something like the following code:

CSharp Code

var packageString = File.ReadAllText(@"C:\BotMyBot.simlpk");
simlBot.PackageManager.LoadFromString(packageString);
Tutorials on reading and loading an SimlPk file can be found here

Rajesh
Newbie
Posts: 5
Joined: Wed Oct 05, 2016 12:52 pm

Re: simlpk data read

Thu Oct 06, 2016 11:18 am

Hi Leslie,

I am creating a application where chat bot is been used, I dont have any issue with loading simlpk file to SimlBot and i am getting the response for the user input .But i am creating a option where we can edit and update simlpk file from c# application so that a non technical user can add new pattern or item can be added as he needed so. i need to get a xml pattern data from simlpk and display in gridview or whaterver control we have

Rajesh
Newbie
Posts: 5
Joined: Wed Oct 05, 2016 12:52 pm

Re: simlpk data read

Thu Oct 06, 2016 12:25 pm

Finally i got it :-)

Rajesh
Newbie
Posts: 5
Joined: Wed Oct 05, 2016 12:52 pm

Re: simlpk data read

Mon Oct 10, 2016 12:13 pm

Hi i need to know how to integrate emotional siml to the chat bot can any one help me on that

JeffersonStack
Pro
Posts: 44
Joined: Fri Apr 05, 2013 1:20 am

Re: simlpk data read

Mon Oct 10, 2016 12:41 pm

You could try the tutorial on BotEmotion tag in SIML :roll:

Rajesh
Newbie
Posts: 5
Joined: Wed Oct 05, 2016 12:52 pm

Re: simlpk data read

Mon Oct 10, 2016 1:12 pm

Hi i need to integrate emotional set in chat bot like normal chat application will have attachment

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest