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
<PackageReference Include="Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy" Version="4.20.0" />
paket add Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy --version 4.20.0
#r "nuget: Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy, 4.20.0"
// Install Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy as a Cake Addin #addin nuget:?package=Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy&version=4.20.0 // Install Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy as a Cake Tool #tool nuget:?package=Iciclecreek.Bot.Builder.Dialogs.Recognizers.Lucy&version=4.20.0
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.20.0)
- Microsoft.Bot.Builder.Dialogs.Adaptive (>= 4.20.0)
- Newtonsoft.Json (>= 13.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 | 250 | 6/16/2023 |
4.19.0 | 235 | 4/15/2023 |
4.16.2 | 595 | 4/26/2022 |
4.16.1 | 546 | 4/22/2022 |
4.16.0 | 558 | 4/22/2022 |
4.14.0 | 510 | 7/17/2021 |
4.13.1 | 414 | 5/29/2021 |
4.13.0 | 507 | 4/17/2021 |
4.12.2 | 502 | 3/14/2021 |
4.12.1 | 467 | 3/9/2021 |
4.12.0 | 409 | 3/8/2021 |
4.11.8-preview | 289 | 2/9/2021 |
4.11.7-preview | 268 | 2/3/2021 |
4.11.6-preview | 261 | 2/3/2021 |
4.11.5-preview | 364 | 1/1/2021 |
4.11.4-preview | 302 | 12/31/2020 |
4.11.3-preview | 253 | 12/29/2020 |
4.11.2-preview | 246 | 12/29/2020 |
4.11.1-preview | 266 | 12/29/2020 |
4.11.0-preview | 261 | 12/29/2020 |