Encamina.Enmarcha.Conversation 8.2.0

dotnet add package Encamina.Enmarcha.Conversation --version 8.2.0                
NuGet\Install-Package Encamina.Enmarcha.Conversation -Version 8.2.0                
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="Encamina.Enmarcha.Conversation" Version="8.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Encamina.Enmarcha.Conversation --version 8.2.0                
#r "nuget: Encamina.Enmarcha.Conversation, 8.2.0"                
#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 Encamina.Enmarcha.Conversation as a Cake Addin
#addin nuget:?package=Encamina.Enmarcha.Conversation&version=8.2.0

// Install Encamina.Enmarcha.Conversation as a Cake Tool
#tool nuget:?package=Encamina.Enmarcha.Conversation&version=8.2.0                

Conversation

Nuget package

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 an IMemoryCache.
IIntentResponsesProvider Methods

As an implementation of the IIntentResponsesProvider interface, this class should implement methods such as GetResponsesAsync

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 (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 326 10/22/2024
8.2.0-preview-01-m01 179 9/17/2024
8.1.9-preview-02 113 10/22/2024
8.1.9-preview-01 338 10/4/2024
8.1.8 297 9/23/2024
8.1.8-preview-07 581 9/12/2024
8.1.8-preview-06 275 9/11/2024
8.1.8-preview-05 148 9/10/2024
8.1.8-preview-04 403 8/16/2024
8.1.8-preview-03 223 8/13/2024
8.1.8-preview-02 154 8/13/2024