Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy 4.20.0

dotnet add package Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy --version 4.20.0
                    
NuGet\Install-Package Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy -Version 4.20.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="Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy" Version="4.20.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy" Version="4.20.0" />
                    
Directory.Packages.props
<PackageReference Include="Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy --version 4.20.0
                    
#r "nuget: Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy, 4.20.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.
#:package Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy@4.20.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy&version=4.20.0
                    
Install as a Cake Addin
#tool nuget:?package=Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy&version=4.20.0
                    
Install as a Cake Tool

LucyRecognizer

Lucy is an Entity Recognition engine which defines a simple syntax for recognizing entities in text.
See

Usage

Add nuget package

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

Register

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

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

Defining a model

This package adds a new recognizer kind Iciclecreek.LucyRecognizer.

Declaratively in .dialog files you can define the Lucy model in 3 ways:

Define as JSON inline to the .dialog file

"recognizer": {
    "$kind": "Iciclecreek.LucyRecognizer",
    "model": {
        "locale": "en",
        "entities": [
            {
                "name": "colors",
                "patterns": [
                    [ "red", "rojo" ],
                    "green",
                    "blue",
                    "yellow",
                    "purple",
                    "white",
                    "orange"
                ]
            },
            ...
        ]
    }
},

Storing model in a seperate a resource

Or you can put the model in a .json resource such as example.json

"recognizer": {
    "$kind": "Iciclecreek.LucyRecognizer",
    "resourceId": "example.json"
},

Or in a .yaml resource such as example.yaml. example.yaml:

locale: en
entities:
  - name: '@colors'
    patterns:
       - [red, rojo]
       - green
       - blue
       - yellow
       - purple
       - white
       - orange
"recognizer": {
    "$kind": "Iciclecreek.LucyRecognizer",
    "resourceId": "example.yaml"
},

Intents

The default is that if any entities are found then an intent of "Matched" is returned.

You can promote any named entity to an intent by adding it to the the intents array.

"recognizer": {
    "$kind": "Iciclecreek.LucyRecognizer",
    "resourceId": "example.yaml",
    "intents": [ "drinkOrder",... ] 
},
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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
4.20.0 452 6/16/2023
4.19.0 377 4/15/2023
4.16.2 799 4/26/2022
4.16.1 731 4/22/2022
4.16.0 745 4/22/2022
4.14.0 726 7/17/2021
4.13.1 616 5/29/2021
4.13.0 750 4/17/2021
4.12.2 720 3/14/2021
4.12.1 664 3/9/2021
4.12.0 643 3/8/2021
4.11.8-preview 489 2/9/2021
4.11.7-preview 475 2/3/2021
4.11.6-preview 469 2/3/2021
4.11.5-preview 558 1/1/2021
4.11.4-preview 517 12/31/2020
4.11.3-preview 478 12/29/2020
4.11.2-preview 454 12/29/2020
4.11.1-preview 459 12/29/2020
4.11.0-preview 482 12/29/2020