Compartilhar via


QnASearchResult Construtores

Definição

Sobrecargas

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

QnASearchResult()

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

Aplica-se a

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

Origem:
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)

Parâmetros

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

Aplica-se a