QueryAnswerType Struct

Definition

This parameter is only valid if the query type is semantic. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character | followed by the count-<number of answers> option after the answers parameter value, such as extractive|count-3. Default count is 1. The confidence threshold can be configured by appending the pipe character | followed by the threshold-<confidence threshold> option after the answers parameter value, such as extractive|threshold-0.9. Default threshold is 0.7.

public readonly struct QueryAnswerType : IEquatable<Azure.Search.Documents.Models.QueryAnswerType>
type QueryAnswerType = struct
Public Structure QueryAnswerType
Implements IEquatable(Of QueryAnswerType)
Inheritance
QueryAnswerType
Implements

Constructors

QueryAnswerType(String)

Initializes a new instance of QueryAnswerType.

Properties

Extractive

Extracts answer candidates from the contents of the documents returned in response to a query expressed as a question in natural language.

None

Do not return answers for the query.

Methods

Equals(QueryAnswerType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(QueryAnswerType, QueryAnswerType)

Determines if two QueryAnswerType values are the same.

Implicit(String to QueryAnswerType)

Converts a string to a QueryAnswerType.

Inequality(QueryAnswerType, QueryAnswerType)

Determines if two QueryAnswerType values are not the same.

Applies to