Cannot specify path AIML for Chat Bot in .Net Web API -


i developing chat bot web application. want integrate aiml make web application friendly. have problem when load file setting , load file aiml. code

           var mybot = new bot();             mybot.loadsettings(@"c:\users\user\desktop\workspace temp\test\webapplicationaiml\webapplicationaiml\bin\config\settings.xml");             mybot.isacceptinguserinput = false;             mybot.loadaimlfromfiles();             mybot.isacceptinguserinput = true;             var myuser = new user("defaultuser", mybot);              request question = new request("hi", myuser, mybot);             result answer = mybot.chat(question);             console.writeline(answer.output); 

but got error: "{"value cannot null.\r\nparameter name: path2"" @ mybot.loadsettings(@"c:\users\user\desktop\workspace temp\test\webapplicationaiml\webapplicationaiml\bin\config\settings.xml"); try way such as

mybot.loadsettings(); 

and include both aiml , config folder project, , coppy them /bin/debug/ got same error. use aiml 2.0 https://www.nuget.org/packages/aimlbot/

please me. thank lot.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -