Udostępnij za pośrednictwem


AnswersOptions Class

Definition

Parameters to query a knowledge base.

public class AnswersOptions
type AnswersOptions = class
Public Class AnswersOptions
Inheritance
AnswersOptions

Constructors

AnswersOptions()

Initializes a new instance of AnswersOptions.

Properties

AnswerContext

Context object with previous QnA's information.

ConfidenceThreshold

Minimum threshold score for answers, value ranges from 0 to 1.

Filters

Filter QnAs based on given metadata list and knowledge base sources.

IncludeUnstructuredSources

(Optional) Flag to enable Query over Unstructured Sources.

RankerKind

Type of ranker to be used.

ShortAnswerOptions

To configure Answer span prediction feature.

Size

Maximum number of answers to be returned for the question.

UserId

Unique identifier for the user.

Applies to