共用方式為


SearchModelFactory.QueryRewritesValuesDebugInfo Method

Definition

Initializes a new instance of QueryRewritesValuesDebugInfo.

public static Azure.Search.Documents.Models.QueryRewritesValuesDebugInfo QueryRewritesValuesDebugInfo (string inputQuery = default, System.Collections.Generic.IEnumerable<string> rewrites = default);
static member QueryRewritesValuesDebugInfo : string * seq<string> -> Azure.Search.Documents.Models.QueryRewritesValuesDebugInfo
Public Shared Function QueryRewritesValuesDebugInfo (Optional inputQuery As String = Nothing, Optional rewrites As IEnumerable(Of String) = Nothing) As QueryRewritesValuesDebugInfo

Parameters

inputQuery
String

The input text to the generative query rewriting model. There may be cases where the user query and the input to the generative model are not identical.

rewrites
IEnumerable<String>

List of query rewrites.

Returns

A new QueryRewritesValuesDebugInfo instance for mocking.

Applies to