共用方式為


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.

MaxCharLength

A value that specifies the maximum character length for answers returned as part of the search response. Optional and will default to null.

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