nbusy / nbusy-chatbot

NBusy chat bot for generating automated responses to incoming messages via NBusy SDK

Home Page:http://www.nbusy.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBusy Chat Bot

NBusy chat bot for generating automated responses to incoming messages via NBusy SDK.

What can it be used for?

As NBusy API is not publicly accessible yet, this cat bot cannot be used to connect to the NBusy services yet. Instead, it can be utilized as a sample for building an AIML based chat bot. There is a bundled console application so you can compile and t the chat bot immediately.

Documentation

See the documentation

Sample Usage

You can simply compile and run the bundled console application to start chatting with the bot. You can also use the ChatBot class to get a response for an input as a string.

var chatBot = new ChatBot("ConsoleUser");

while (true)
{
	Console.Write("You: ");
	var input = Console.ReadLine();
	if (string.IsNullOrEmpty(input) || input.ToLower() == "close")
	{
		break;
	}

	var response = chatBot.Chat(input);
	Console.WriteLine("Bot: " + response);
}

Changelog

See the release notes

LICENSE

GNU LGPL

Note: A.L.I.C.E. AIML sets (*.aiml files) included in this project are licensed separately under GNU GPL.

Acknowledgements

A.L.I.C.E. AIML sets included in this project are licensed under the GNU GPL and are based on the original work by Dr. Richard S. Wallace.

C# implementation of AIML interpreter, the AIMLbot, is based on the original work by Nicholas H.Tollervey and is licensed under GNU LGPL.

About

NBusy chat bot for generating automated responses to incoming messages via NBusy SDK

http://www.nbusy.com/

License:GNU Lesser General Public License v3.0


Languages

Language:C# 100.0%