An open API service indexing awesome lists of open source software.

https://github.com/yucked/witty

⚗️ - .NET wrapper for Wit.ai. Targets .NET Standard 2.0.
https://github.com/yucked/witty

csharp dotnet netstandard wit-ai wit-api witai wrapper

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          



WitSharp






> Usage

**Creating new application:**
```cs
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:**
```cs
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);
```