Dela via


SemanticSearchOptions.QueryAnswer Property

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 Azure.Search.Documents.Models.QueryAnswer QueryAnswer { get; set; }
member this.QueryAnswer : Azure.Search.Documents.Models.QueryAnswer with get, set
Public Property QueryAnswer As QueryAnswer

Property Value

Applies to