Share via


QnAMakerOptions Class

Definition

Defines options for the QnA Maker knowledge base.

public class QnAMakerOptions
type QnAMakerOptions = class
Public Class QnAMakerOptions
Inheritance
QnAMakerOptions

Constructors

QnAMakerOptions()

Initializes a new instance of the QnAMakerOptions class.

Properties

Context

Gets or sets context of the previous turn.

EnablePreciseAnswer

Gets or sets a value indicating whether to include precise answer in response.

Filters

Gets or sets the metadata and sources used to filter QnA Maker results.

IncludeUnstructuredSources

Gets or sets a value indicating whether to include Unstructured Sources from the Knowledge Base to query.

IsTest

Gets or sets a value indicating whether to call test or prod environment of knowledge base to be called.

MetadataBoost
Obsolete.

Gets or sets the Metadata collection to be sent when calling QnA Maker to boost results.

QnAId

Gets or sets QnA Id of the current question asked (if available).

RankerType

Gets or sets the QnA Maker ranker type to use.

ScoreThreshold

Gets or sets the minimum score threshold, used to filter returned results.

StrictFilters

Gets or sets the Metadata collection to be sent when calling QnA Maker to filter results.

StrictFiltersJoinOperator

Gets or sets logical operation (OR/AND) for StrictFilters.

Timeout

Gets or sets the time in milliseconds to wait before the request times out.

Top

Gets or sets the number of ranked results you want in the output.

Applies to