Freigeben über


Runtime.GenerateAnswerWithHttpMessagesAsync Methode

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResultList>> GenerateAnswerWithHttpMessagesAsync (string kbId, Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTO generateAnswerPayload, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateAnswerWithHttpMessagesAsync : string * Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTO * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResultList>>
override this.GenerateAnswerWithHttpMessagesAsync : string * Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTO * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QnASearchResultList>>
Public Function GenerateAnswerWithHttpMessagesAsync (kbId As String, generateAnswerPayload As QueryDTO, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of QnASearchResultList))

Parameter

kbId
String
generateAnswerPayload
QueryDTO
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Gibt zurück

Implementiert

Gilt für: