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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET