Udostępnij za pośrednictwem


QnASearchResult Constructors

Definition

Overloads

QnASearchResult()
QnASearchResult(IList<String>, String, Nullable<Double>, Nullable<Int32>, String, IList<MetadataDTO>, QnASearchResultContext)

QnASearchResult()

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

Applies to

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

questions
IList<String>
answer
String
score
Nullable<Double>
source
String
metadata
IList<MetadataDTO>

Applies to