Skip to content
/ Witty Public

⚗️ - .NET wrapper for Wit.ai. Targets .NET Standard 2.0.

License

Notifications You must be signed in to change notification settings

Yucked/Witty

Repository files navigation

WitSharp

Usage

Creating new application:

var Client = new WitClient("MY-APPLICATION-TOKEN");
var Create = await Client.Application.CreateAsync("WitSharp", Language.EN, true).ConfigureAwait(false);
Console.WriteLine(Create.AppId);

Getting sentence meaning:

var Meaning = Client.Training.SentenceMeaningAsync(new SentenceModel {
    Message = "How many people between monday and friday>",
    MaxTraits = 4
    }).ConfigureAwait(false);
Console.WriteLine(Meaning.Entities.Intents.FirstOrDefault().Value);

Releases

No releases published

Packages

No packages published

Languages