Udostępnij za pośrednictwem


QnADTO Constructors

Definition

Overloads

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

QnADTO()

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

Applies to

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

Source:
QnADTO.cs
public QnADTO (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.QnADTO : 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.QnADTO
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