Encamina.Enmarcha.Conversation
8.1.9-preview-01
See the version list below for details.
dotnet add package Encamina.Enmarcha.Conversation --version 8.1.9-preview-01
NuGet\Install-Package Encamina.Enmarcha.Conversation -Version 8.1.9-preview-01
<PackageReference Include="Encamina.Enmarcha.Conversation" Version="8.1.9-preview-01" />
paket add Encamina.Enmarcha.Conversation --version 8.1.9-preview-01
#r "nuget: Encamina.Enmarcha.Conversation, 8.1.9-preview-01"
// Install Encamina.Enmarcha.Conversation as a Cake Addin #addin nuget:?package=Encamina.Enmarcha.Conversation&version=8.1.9-preview-01&prerelease // Install Encamina.Enmarcha.Conversation as a Cake Tool #tool nuget:?package=Encamina.Enmarcha.Conversation&version=8.1.9-preview-01&prerelease
Conversation
Conversation is a project that primarily contains cross-cutting utilities that can be used in conversational applications.
Setup
Nuget package
First, install NuGet. Then, install Encamina.Enmarcha.Conversation from the package manager console:
PM> Install-Package Encamina.Enmarcha.Conversation
.NET CLI:
Install .NET CLI. Next, install Encamina.Enmarcha.Conversation from the .NET CLI:
dotnet add package Encamina.Enmarcha.Conversation
How to use
Below are some of the most important utilities.
TableStorageResponseProvider
TableStorageResponseProvider
is a class that provides responses based on values configured and stored in an Azure Table Storage. It implements the IIntentResponsesProvider
interface.
Usage
To use this class, you need to create an instance and provide the necessary parameters:
string tableConnectionString = "Your Azure Table Storage connection string";
string tableName = "Your table name";
string defaultLocale = "en-US";
string intentCounterSeparator = "-";
double cacheAbsoluteExpirationSeconds = 86400;
IMemoryCache memoryCache = new MemoryCache(new MemoryCacheOptions());
var responseProvider = new TableStorageResponseProvider(tableConnectionString, tableName, defaultLocale, intentCounterSeparator, cacheAbsoluteExpirationSeconds, memoryCache);
You can then use this instance to get responses:
var responses = await responseProvider.GetResponsesAsync("YourIntent", "en-US");
Constructor
TableStorageResponseProvider
: Initializes a new instance of the class. It takes a table connection string, a table name, a default locale, an intent counter separator, a cache absolute expiration time in seconds, and anIMemoryCache
.
IIntentResponsesProvider Methods
As an implementation of the IIntentResponsesProvider
interface, this class should implement methods such as GetResponsesAsync
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.9.0)
- CommunityToolkit.Diagnostics (>= 8.2.2)
- Encamina.Enmarcha.Conversation.Abstractions (>= 8.1.9-preview-01)
- Encamina.Enmarcha.DependencyInjection (>= 8.1.9-preview-01)
- Microsoft.Extensions.Caching.Abstractions (>= 8.0.0)
- System.Linq.Async (>= 6.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Encamina.Enmarcha.Conversation:
Package | Downloads |
---|---|
Encamina.Enmarcha.Bot
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.2.0 | 477 | 10/22/2024 |
8.2.0-preview-01-m01 | 185 | 9/17/2024 |
8.1.9-preview-03 | 132 | 11/19/2024 |
8.1.9-preview-02 | 116 | 10/22/2024 |
8.1.9-preview-01 | 350 | 10/4/2024 |
8.1.8 | 301 | 9/23/2024 |
8.1.8-preview-07 | 713 | 9/12/2024 |
8.1.8-preview-06 | 279 | 9/11/2024 |
8.1.8-preview-05 | 150 | 9/10/2024 |
8.1.8-preview-04 | 405 | 8/16/2024 |
8.1.8-preview-03 | 225 | 8/13/2024 |
8.1.8-preview-02 | 156 | 8/13/2024 |