Get Started
| Product | Versions |
|---|---|
| .NET Standard |
README
![]()
QLuceneRecognizer
This library provides a custom recognizers for .qna files using Lucene library.
Installation
To install into your project run the cli:
dotnet add package Iciclecreek.Bot.Builder.Dialogs.Recognizers.QLucene
In your startup code add:
ComponentRegistration.Add(new QLuceneComponentRegistration());
To add to your schema for usage in Bot Framework Composer from cli:
bf dialog:merge -p yourproj.proj -o your.schema
Library
This library adds Icicielcreek.QLuceneRecognizer which builds a lucene index from .qna json file and serves as an embedded recognizer for Bot Framework .qna files.
Sample Code
var dialog = new AdaptiveDialog()
{
Recognizer = new QLuceneRecognizer()
{
KnowledgeBase = "foo.en-us.qna"
}
...
}
Sample Json
{
"$kind": "Microsoft.AdaptiveDialog",
"recognizer": {
"$kind":"Iciclecrerek.QLuceneRecognizer",
"knowledgeBase": "foo.en-us.qna"
},
"triggers":[
{
"$kind":"Microsoft.OnIntent",
"intent":"QnAMatch",
"actions":[
{
"$kind":"Microsoft.SendActivity"
"activity":"${turn.recognized.entities.answer[0]}"
}
]
}
]
}
QLuBuild tool
The QLuBuild tool will process .qna files into the .qna.json files and automatically generate the supporting .dialog files bound to the output. It's useful, use it. :)
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.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.