Skip to content

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

License

Notifications You must be signed in to change notification settings

nbusy/nbusy-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages