Mossharbor.AzureWorkArounds.QnaMaker 1.0.4

.Net wrapper around QnaMaker Rest Apis

Install-Package Mossharbor.AzureWorkArounds.QnaMaker -Version 1.0.4
dotnet add package Mossharbor.AzureWorkArounds.QnaMaker --version 1.0.4
<PackageReference Include="Mossharbor.AzureWorkArounds.QnaMaker" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mossharbor.AzureWorkArounds.QnaMaker --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Mossharbor.AzureWorkArounds.QnaMaker

.net wrapper around Microsofts QnaMaker REST api for managing knowledge bases.

Install the nuget package: Install-Package Mossharbor.AzureWorkArounds.QnaMaker -Version 1.0.1

Example:

using Mossharbor.AzureWorkArounds.QnaMaker;

// Ask a question
QnAMaker maker =new QnAMaker("", "", "", ""); // TODO enter your credentials in here!!
var answers = maker.GenerateAnswer("hi");

// Building/Modifying existing QnA information
QnaUpdateBuilder builder = new QnaUpdateBuilder();

// add new answer and questions to your qna knowledgebase
builder
    .Begin(maker)
    .AddQuestionAndAnswer("Hello", new string[] {"Hello", "There"})
    .Update();

List<string> answers = maker.GetAnswerStrings();
List<string> questions = maker.GetQuestionsFor("Hello");
maker.DeleteQuestion("Hello", "There");

Mossharbor.AzureWorkArounds.QnaMaker

.net wrapper around Microsofts QnaMaker REST api for managing knowledge bases.

Install the nuget package: Install-Package Mossharbor.AzureWorkArounds.QnaMaker -Version 1.0.1

Example:

using Mossharbor.AzureWorkArounds.QnaMaker;

// Ask a question
QnAMaker maker =new QnAMaker("", "", "", ""); // TODO enter your credentials in here!!
var answers = maker.GenerateAnswer("hi");

// Building/Modifying existing QnA information
QnaUpdateBuilder builder = new QnaUpdateBuilder();

// add new answer and questions to your qna knowledgebase
builder
    .Begin(maker)
    .AddQuestionAndAnswer("Hello", new string[] {"Hello", "There"})
    .Update();

List<string> answers = maker.GetAnswerStrings();
List<string> questions = maker.GetQuestionsFor("Hello");
maker.DeleteQuestion("Hello", "There");

Release Notes

Added dependencies for newtonsoft

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.4 82 5/31/2019
1.0.3 225 5/16/2018
1.0.2 209 5/16/2018
1.0.1 163 5/15/2018