RuntimeExtensions.GenerateAnswerAsync Método

Definição

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)

Parâmetros

operations
IRuntime
kbId
String
generateAnswerPayload
QueryDTO
cancellationToken
CancellationToken

Retornos

Aplica-se a