AccessibleAI.Bots.Tables 0.0.9-dev

This is a prerelease version of AccessibleAI.Bots.Tables.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package AccessibleAI.Bots.Tables --version 0.0.9-dev                
NuGet\Install-Package AccessibleAI.Bots.Tables -Version 0.0.9-dev                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AccessibleAI.Bots.Tables" Version="0.0.9-dev" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AccessibleAI.Bots.Tables --version 0.0.9-dev                
#r "nuget: AccessibleAI.Bots.Tables, 0.0.9-dev"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AccessibleAI.Bots.Tables as a Cake Addin
#addin nuget:?package=AccessibleAI.Bots.Tables&version=0.0.9-dev&prerelease

// Install AccessibleAI.Bots.Tables as a Cake Tool
#tool nuget:?package=AccessibleAI.Bots.Tables&version=0.0.9-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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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

Standardized on Core 3 and Bot Builder 17