Search found 320 matches

Go to advanced search

by Fantom
Sun Apr 22, 2018 3:21 pm
Forum: Report Bugs and Issues
Topic: Jint Issue
Replies: 1
Views: 2063

Re: Jint Issue

the exception is bcoz you have upgraded to latest version of Syn Bot but the dependencies might not have updated or maybe Jint is not present in the project. In your project you have to remove all Syn.Bot framework packages (Uninstall-Package <PACKAGE-NAME>) including Syn.Bot and then re-install Syn...
by Fantom
Sat Apr 21, 2018 11:20 am
Forum: General Discussion
Topic: Implementation of adapters
Replies: 8
Views: 3681

Re: Implementation of adapters

the code is okay but you can also check if <Item> elements exist by using XElement.Elements("Item")
by Fantom
Sat Apr 21, 2018 11:17 am
Forum: Report Bugs and Issues
Topic: case sensitive Attribute("inc"); [SOLVED]
Replies: 2
Views: 2194

Re: case sensitive Attribute("inc");

XElement.Attribute(string) is case sensitive so no changes can be made to the implementation by us as it is a standard .NET implementation. I am confused why it was case insensitive for you in 3.0.0-rc :?
by Fantom
Wed Apr 18, 2018 11:39 pm
Forum: General Discussion
Topic: Implementation of adapters
Replies: 8
Views: 3681

Re: Implementation of adapters

You can simplify it, also you should enable recursion. The example I wrote below shows a different way of writing your adapter. I hope it helps :) internal class CounterAdapter : ISimlAdapter { //Use recursive public bool IsRecursive => true; public XName TagName => "Counter"; public string Evaluate...
by Fantom
Wed Mar 07, 2018 4:52 pm
Forum: General Discussion
Topic: Using SQL Server connection in Oscova dialog
Replies: 24
Views: 9081

Re: Using SQL Server connection in Oscova dialog

sorry but larger code support is not possible for us in forum but I will mention some problem with the code In the following code @name means a entity type but in your code there is no entity type for such name only @property, also you have a entity with the name @property mentioned but you are not ...
by Fantom
Mon Mar 05, 2018 1:20 pm
Forum: General Discussion
Topic: Using SQL Server connection in Oscova dialog
Replies: 24
Views: 9081

Re: Using SQL Server connection in Oscova dialog

I will try to answer your previous questions also. if you are using SQL then you have to evaluate the sql query and then handle how you will return the value from the table you get. "Who is abc" should work without a entity. are you using the Web channels Bot property to add dialogs and train? becau...
by Fantom
Mon Mar 05, 2018 1:05 pm
Forum: General Discussion
Topic: exact expression match fails with score of -1
Replies: 7
Views: 3460

Re: exact expression match fails with score of -1

can you tell me which version of syn bot are you using? I changed the siml code a little and tried to test in a console project and it is kinda working for me in version 2.9.4 <Siml> <Dialog Name="General"> <Intent Name="who"> <Expression Value="who" /> <Response>You said WHO.<Context Add="scene.int...
by Fantom
Mon Feb 26, 2018 1:14 pm
Forum: General Discussion
Topic: Form flow using Oscova Web Widget
Replies: 4
Views: 2852

Re: Form flow using Oscova Web Widget

if you are trying to create options for a bot message you can use the vertical bar as delimiter in Hint property. In SIML Modern <Siml> <Dialog Name="CommitToDatabase"> <Intent Name="UpdateDetail"> <Expression Value="Commit to database" /> <Response Hint="Yes|No"> Are you sure you wish to commit the...
by Fantom
Tue Feb 20, 2018 1:41 am
Forum: General Discussion
Topic: Syn Wordnet
Replies: 2
Views: 2300

Re: Syn Wordnet

you can call the GetRelatedSynSets method and pass in the SynSetRelation to get hypernyms and hyponyms. Console.WriteLine("\nType word"); var word = Console.ReadLine(); var synSetList = wordNet.GetSynSets(word); if (synSetList.Count == 0) Console.WriteLine($"No SynSet found for '{word}'"); //Console...
by Fantom
Wed Feb 07, 2018 5:31 am
Forum: General Discussion
Topic: Modern Structure (vs. Classic) is there a philosophy doc?
Replies: 3
Views: 2506

Re: Modern Structure (vs. Classic) is there a philosophy doc?

New Migrating to SIML Modern section is now available in Developer Network.

Go to advanced search