Wit.ai.core
1.0.3
A wit.ai client for .net core
Install-Package Wit.ai.core -Version 1.0.3
dotnet add package Wit.ai.core --version 1.0.3
<PackageReference Include="Wit.ai.core" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wit.ai.core --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Wit.ai.core, 1.0.3"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
// Install Wit.ai.core as a Cake Addin #addin nuget:?package=Wit.ai.core&version=1.0.3 // Install Wit.ai.core as a Cake Tool #tool nuget:?package=Wit.ai.core&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
wit.ai.core
A wit.ai client for .net core 2
To get started just create an instance of WitAiClient and provide your token as a parameter.
WitAiClient witAiClient = new WitAiClient(token);
// The message response contains the entities
MessageResponse response = await witAiClient.MessageAsync("your text");
// Get the entity which has a Confidence value high enough
Entity entity = response.Entities.SelectMany(x => x.Value.Where(y => y.Confidence >= 0.8)).FirstOrDefault();
wit.ai.core
A wit.ai client for .net core 2
To get started just create an instance of WitAiClient and provide your token as a parameter.
WitAiClient witAiClient = new WitAiClient(token);
// The message response contains the entities
MessageResponse response = await witAiClient.MessageAsync("your text");
// Get the entity which has a Confidence value high enough
Entity entity = response.Entities.SelectMany(x => x.Value.Where(y => y.Confidence >= 0.8)).FirstOrDefault();
Release Notes
Intergrationtest changed. The token is stored in a environment variable.
Code refactored.
Dependencies
-
.NETCoreApp 2.1
- Newtonsoft.Json (>= 12.0.1)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.