AccessibleAI.Bots.Tables
0.0.14-dev
dotnet add package AccessibleAI.Bots.Tables --version 0.0.14-dev
NuGet\Install-Package AccessibleAI.Bots.Tables -Version 0.0.14-dev
<PackageReference Include="AccessibleAI.Bots.Tables" Version="0.0.14-dev" />
paket add AccessibleAI.Bots.Tables --version 0.0.14-dev
#r "nuget: AccessibleAI.Bots.Tables, 0.0.14-dev"
// Install AccessibleAI.Bots.Tables as a Cake Addin #addin nuget:?package=AccessibleAI.Bots.Tables&version=0.0.14-dev&prerelease // Install AccessibleAI.Bots.Tables as a Cake Tool #tool nuget:?package=AccessibleAI.Bots.Tables&version=0.0.14-dev&prerelease
AccessibleAI.Bots.Tables
Azure Table Storage helpers for Microsoft Bot Framework chatbot development.
The intent of these offerings is to provide a table storage means of accessing a variety of bot content so that bots do not need to be frequently redeployed as edits and expansions are made.
TableEntityRepository
The TableEntityRepository
class lets you pull TableEntities
out of an Azure Table Storage by a partition key and row key.
This can be used to retrieve response data for a particular intent, possibly including additional information such as a card header, title, additional links, etc.
This class is still early on in its development and will make more sense once AccessibleAI.Bots.Core is available.
Usage
TableEntityRepository definitions = new TableEntityRepository(config["StorageConnStr"], config["DefinitionTableName"], config["DefinitionPartitionKey"])
string rowKey = "YourIntentName";
Definition? definition = definitions.FindDefinition(rowKey);
if (definition == null)
{
await turnContext.SendActivityAsync(MessageFactory.Text($"I'm sorry, I couldn't find info on {rowKey}"), cancellationToken);
}
else
{
await turnContext.SendActivityAsync(MessageFactory.Text(definition.DefinitionText), cancellationToken);
}
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
- Azure.Data.Tables (>= 12.6.1)
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.14-dev | 125 | 10/11/2022 |
0.0.13-dev | 120 | 9/22/2022 |
0.0.12-dev | 109 | 9/22/2022 |
0.0.11-dev | 112 | 9/22/2022 |
0.0.10-dev | 96 | 9/21/2022 |
0.0.9-dev | 102 | 9/21/2022 |
0.0.8-dev | 123 | 9/19/2022 |
0.0.6-dev | 135 | 9/16/2022 |
Using new core