你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
QueryDTO 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- qnaId
- String
- question
- String
- userId
- String
- context
- QueryDTOContext
- rankerType
- String
- strictFilters
- IList<MetadataDTO>
- strictFiltersCompoundOperationType
- String