/// <summary>
 /// GenerateAnswer call to query the knowledgebase.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='kbId'>
 /// Knowledgebase id.
 /// </param>
 /// <param name='generateAnswerPayload'>
 /// Post body of the request.
 /// </param>
 public static QnASearchResultList GenerateAnswer(this IRuntime operations, string kbId, QueryDTO generateAnswerPayload)
 {
     return(operations.GenerateAnswerAsync(kbId, generateAnswerPayload).GetAwaiter().GetResult());
 }