AccessibleAI.Bots.Language.Azure
0.0.19-dev
dotnet add package AccessibleAI.Bots.Language.Azure --version 0.0.19-dev
NuGet\Install-Package AccessibleAI.Bots.Language.Azure -Version 0.0.19-dev
<PackageReference Include="AccessibleAI.Bots.Language.Azure" Version="0.0.19-dev" />
paket add AccessibleAI.Bots.Language.Azure --version 0.0.19-dev
#r "nuget: AccessibleAI.Bots.Language.Azure, 0.0.19-dev"
// Install AccessibleAI.Bots.Language.Azure as a Cake Addin #addin nuget:?package=AccessibleAI.Bots.Language.Azure&version=0.0.19-dev&prerelease // Install AccessibleAI.Bots.Language.Azure as a Cake Tool #tool nuget:?package=AccessibleAI.Bots.Language.Azure&version=0.0.19-dev&prerelease
AccessibleAI.Bots.LanguageUnderstanding
The CLU Helpers project is designed to make interacting with Conversational Language Understanding (CLU) and Orchestration easier while the new version of the .NET SDK is still in development.
This package also includes logic for working with CLU-based chit-chat libraries in an object-oriented manner.
Intent Resolvers
IIntentResolver
s map an utterance string to a LanguageResult
for that utterance.
CluIntentResolver
The CluIntentResolver
class allows you to match an intent with its entities from an utterance using Conversational Language Understanding (CLU).
Its usage is as follows:
CluIntentResolver clu = new CluIntentResolver(_config["CluEndpoint"], _config["CluToken"], _config["CluProject"], _config["CluDeployment"]);
string utterance = context.Activity.Text;
CluResult cluResult = clu.FindIntent(utterance);
switch (cluResult.TopIntent)
{
case "Hello":
await turnContext.SendActivityAsync(MessageFactory.Text("Hi there!"), cancellationToken);
break;
case "WantToBuy":
EntityMatch? entity = intent.GetEntity("ItemToPurchase");
if (entity != null)
{
await turnContext.SendActivityAsync(MessageFactory.Text($"You want to buy {entity.ListKey}"), cancellationToken);
} else {
await turnContext.SendActivityAsync(MessageFactory.Text("What exactly do you want to buy?"), cancellationToken);
}
break;
default:
await turnContext.SendActivityAsync(MessageFactory.Text("I don't know how to reply to " + cluResult.TopIntent), cancellationToken);
break;
}
OrchestrationIntentResolver
TODO: This class is currently undocumented, but behaves similarly to CluIntentResolver.
LayeredOrchestrationIntentResolver
This class is an IIntentResolver
that allows you to use multiple IIntentResolver
s to resolve intents in a prioritized order.
This can help with class imbalances between CLU projects or can help prioritize one layer over another.
PooledOrchestrationIntentResolver
This is a multiple IIntentResolver
that pools the results of multiple IIntentResolver
s and returns the most common intent, with
optional weighting by layer priority. Under this model all layers will be asked for their opinion and the highest confidence wins.
Conversation
ChitChatHandlerBase
TODO: This class is currently early in development and is undocumented as a result
Product | Versions 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.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- AccessibleAI.Bots.Core (>= 0.0.16-dev)
- Azure.AI.Language.Conversations (>= 1.0.0)
- Microsoft.Bot.Builder (>= 4.17.2)
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 |
---|---|---|
0.0.19-dev | 128 | 10/27/2022 |
0.0.18-dev | 117 | 10/11/2022 |
0.0.17-dev | 125 | 9/23/2022 |
0.0.16-dev | 122 | 9/22/2022 |
Using new core