Udostępnij za pośrednictwem


PromptDTOQna Constructors

Definition

Overloads

PromptDTOQna()
PromptDTOQna(String, IList<String>, Nullable<Int32>, String, IList<MetadataDTO>, QnADTOContext)

PromptDTOQna()

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

Applies to

PromptDTOQna(String, IList<String>, Nullable<Int32>, String, IList<MetadataDTO>, QnADTOContext)

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

Parameters

answer
String
questions
IList<String>
source
String
metadata
IList<MetadataDTO>
context
QnADTOContext

Applies to