Teros.ChatResponder 1.0.2

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Teros.ChatResponder --version 1.0.2
NuGet\Install-Package Teros.ChatResponder -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Teros.ChatResponder" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Teros.ChatResponder --version 1.0.2
#r "nuget: Teros.ChatResponder, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Teros.ChatResponder as a Cake Addin
#addin nuget:?package=Teros.ChatResponder&version=1.0.2

// Install Teros.ChatResponder as a Cake Tool
#tool nuget:?package=Teros.ChatResponder&version=1.0.2

ChatResponder

Teros ChatResponder is a customizable tool for creating chatbots using scripts, parsing and classifiers.

Quick Start

Create a Visual Studio project (c# and .net core). Load the ChatResponder package from nuGet. Put this code in the "Main" entry point:

static void Main (string[] args)
{
    var chatResponder = ChatServices.Prebuilt.ChatBotChatResponder.Create("Scripts");

    while (true)
    {
        Console.Write("query> ");
        var query = Console.ReadLine();

        if (query.Length == 0) break;

        var matches = chatResponder.FindMatches(query);

        var match = matches.FirstOrDefault();
        
        if (match != null)
        {
            foreach (var response in match.Responses)
            {
                Console.WriteLine($"reply> " + response);
            }
        }

        Console.WriteLine();
    }
}

Create a folder named "Scripts" in the project. Create a text file named "Demo.txt" in that folder. Open its properties and set Copy to Output Directory to "Copy always". Add the following content (including indents):

Hello

    Hi, nice to see you!

Run the program, and at the prompt enter "Hello" and press ENTER to get ChatResponder's response. It's as easy as that!

query> hello
reply> Hi, nice to see you!

Learn more

https://terosresearch.com/ChatResponder/

License

MIT

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

This release includes documentation and updates code to match the documentation.

Learn about ChatResponder at https://terosresearch.com/ChatResponder/Index.html