다음을 통해 공유


RuntimeExtensions.GenerateAnswerAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResultList> GenerateAnswerAsync (this Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.IRuntime operations, string kbId, Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTO generateAnswerPayload, System.Threading.CancellationToken cancellationToken = default);
static member GenerateAnswerAsync : Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.IRuntime * string * Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTO * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResultList>
<Extension()>
Public Function GenerateAnswerAsync (operations As IRuntime, kbId As String, generateAnswerPayload As QueryDTO, Optional cancellationToken As CancellationToken = Nothing) As Task(Of QnASearchResultList)

Parameters

operations
IRuntime
kbId
String
generateAnswerPayload
QueryDTO
cancellationToken
CancellationToken

Returns

Applies to