PromptDTOQna 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
PromptDTOQna() | |
PromptDTOQna(String, IList<String>, Nullable<Int32>, String, IList<MetadataDTO>, QnADTOContext) |
PromptDTOQna()
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
- source
- String
- metadata
- IList<MetadataDTO>
- context
- QnADTOContext
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.