QnASearchResult 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
QnASearchResult() | |
QnASearchResult(IList<String>, String, Nullable<Double>, Nullable<Int32>, String, IList<MetadataDTO>, QnASearchResultContext) |
QnASearchResult()
QnASearchResult(IList<String>, String, Nullable<Double>, Nullable<Int32>, String, IList<MetadataDTO>, QnASearchResultContext)
- Source:
- QnASearchResult.cs
public QnASearchResult (System.Collections.Generic.IList<string> questions = default, string answer = default, double? score = default, int? id = default, string source = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.MetadataDTO> metadata = default, Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResultContext context = default);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResult : System.Collections.Generic.IList<string> * string * Nullable<double> * Nullable<int> * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.MetadataDTO> * Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResultContext -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResult
Public Sub New (Optional questions As IList(Of String) = Nothing, Optional answer As String = Nothing, Optional score As Nullable(Of Double) = Nothing, Optional id As Nullable(Of Integer) = Nothing, Optional source As String = Nothing, Optional metadata As IList(Of MetadataDTO) = Nothing, Optional context As QnASearchResultContext = Nothing)
Parameters
- answer
- String
- source
- String
- metadata
- IList<MetadataDTO>
- context
- QnASearchResultContext
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