QueryDTO Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
QueryDTO() | |
QueryDTO(String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Double>, QueryDTOContext, String, IList<MetadataDTO>, String) |
QueryDTO()
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)
Parameters
- qnaId
- String
- question
- String
- userId
- String
- context
- QueryDTOContext
- rankerType
- String
- strictFilters
- IList<MetadataDTO>
- strictFiltersCompoundOperationType
- String
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET