Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy
4.16.2
See the version list below for details.
dotnet add package Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy --version 4.16.2
NuGet\Install-Package Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy -Version 4.16.2
<PackageReference Include="Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy" Version="4.16.2" />
paket add Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy --version 4.16.2
#r "nuget: Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy, 4.16.2"
// Install Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy as a Cake Addin #addin nuget:?package=Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy&version=4.16.2 // Install Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy as a Cake Tool #tool nuget:?package=Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy&version=4.16.2
LucyRecognizer
Lucy is an Entity Recognition engine which defines a simple syntax for recognizing entities in text.
See
- Lucy Documentation
- LucyPad2 - online editor for working with Lucy models.
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 | 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
- Lucy.net (>= 1.0.12-preview)
- Microsoft.Bot.Builder (>= 4.16.0)
- Microsoft.Bot.Builder.Dialogs.Adaptive (>= 4.16.0)
- Newtonsoft.Json (>= 12.0.3)
- YamlDotNet (>= 11.2.1)
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 | 249 | 6/16/2023 |
4.19.0 | 234 | 4/15/2023 |
4.16.2 | 594 | 4/26/2022 |
4.16.1 | 545 | 4/22/2022 |
4.16.0 | 557 | 4/22/2022 |
4.14.0 | 509 | 7/17/2021 |
4.13.1 | 413 | 5/29/2021 |
4.13.0 | 506 | 4/17/2021 |
4.12.2 | 501 | 3/14/2021 |
4.12.1 | 466 | 3/9/2021 |
4.12.0 | 408 | 3/8/2021 |
4.11.8-preview | 288 | 2/9/2021 |
4.11.7-preview | 267 | 2/3/2021 |
4.11.6-preview | 260 | 2/3/2021 |
4.11.5-preview | 363 | 1/1/2021 |
4.11.4-preview | 301 | 12/31/2020 |
4.11.3-preview | 252 | 12/29/2020 |
4.11.2-preview | 245 | 12/29/2020 |
4.11.1-preview | 265 | 12/29/2020 |
4.11.0-preview | 260 | 12/29/2020 |