Skip to main content

Adds custom recognizers (DynamicList) which use Lucene.Net to Bot Framework and Bot Composer.

Total Downloads
3.4K
3,423
Published
Jun 16, 2023
3y ago

Get Started

dotnet add package Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucene --version 4.20.0
ProductVersions
.NET Standard
netstandard2.1

README

DynamicListRecognizer

Dynamic lists are lists which are contextual and so not cannot be built into a model like LUIS Recognizer. LUIS Recognizer allows you to define an external recognizer which is executed first. The results of the external recognizer can be passed to a recognizer like LUIS for it to consume.

This is super useful in situations where you need to recognize something contextual, like the names of people partipating in a conversation.

The DyanmicListRecognizer allows you to specify a list of entities to recgonize, and uses Lucene to do the recognition.

Usage

Add nuget package

Add Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucene nuget reference to your project.

To add to your schema for usage in Bot Framework Composer from cli:

bf dialog:merge -p yourproj.proj -o your.schema

Define a dynamic list recognizer as input to a luis recognizer

{
    "$kind": "Microsoft.LuisRecognizer",
    ...
    "externalEntityRecognizer": {
        "$kind": "Iciclecreek.DynamicListRecognizer",
        "dynamicList": {
        ...
        },
        "fuzzyMatch":false
    }
}

See https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.language.luis.runtime.models.dynamiclist.-ctor?view=azure-dotnet for shape of dynamiclist

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.