QueryAnswer Class

Definition

Configuration for how semantic search returns answers to the search.

public class QueryAnswer
type QueryAnswer = class
Public Class QueryAnswer
Inheritance
QueryAnswer

Constructors

QueryAnswer(QueryAnswerType)

Initializes a new instance of the QueryAnswer class.

Properties

AnswerType

A value that specifies whether Answers should be returned as part of the search response.

Count

A value that specifies the number of Answers that should be returned as part of the search response and will default to 1.

Threshold

A value that specifies the threshold of Answers that should be returned as part of the search response. The threshold is optional and will default to 0.7.

Applies to