Partager via


QueryDTO Constructeurs

Définition

Surcharges

QueryDTO()
QueryDTO(String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Double>, QueryDTOContext, String, IList<MetadataDTO>, String)

QueryDTO()

Source:
QueryDTO.cs
public QueryDTO ();
Public Sub New ()

S’applique à

QueryDTO(String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Double>, QueryDTOContext, String, IList<MetadataDTO>, String)

Source:
QueryDTO.cs
public QueryDTO (string qnaId = default, string question = default, int? top = default, string userId = default, bool? isTest = default, double? scoreThreshold = default, Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTOContext context = default, string rankerType = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.MetadataDTO> strictFilters = default, string strictFiltersCompoundOperationType = default);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTO : string * string * Nullable<int> * string * Nullable<bool> * Nullable<double> * Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTOContext * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.MetadataDTO> * string -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTO
Public Sub New (Optional qnaId As String = Nothing, Optional question As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional userId As String = Nothing, Optional isTest As Nullable(Of Boolean) = Nothing, Optional scoreThreshold As Nullable(Of Double) = Nothing, Optional context As QueryDTOContext = Nothing, Optional rankerType As String = Nothing, Optional strictFilters As IList(Of MetadataDTO) = Nothing, Optional strictFiltersCompoundOperationType As String = Nothing)

Paramètres

qnaId
String
question
String
userId
String
isTest
Nullable<Boolean>
scoreThreshold
Nullable<Double>
context
QueryDTOContext
rankerType
String
strictFilters
IList<MetadataDTO>
strictFiltersCompoundOperationType
String

S’applique à