How to format the result from ConversationAnalysisClient response

lakshmi 816 Reputation points
2023-08-04T12:09:57.4366667+00:00

We are using Orchestrator workflow of Custom question answering service for connecting to multiple Question answering service.

We are fetching the predictions using ConversationAnalysisClient. The response contains all data but to access the values we need to use json. Below code is not woring in .net ,

dynamic conversationalTaskResult = response.Content.ToDynamicFromJson(JsonPropertyNames.CamelCase); dynamic conversationPrediction = conversationalTaskResult.Result.Prediction;

Question answering is returning the data in KnowledgeBaseAnswer format which is easy to access. Is there any possible way to fetch the Question answering response from Orchester as KnowledgeBaseAnswer or which has a correct readable format.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,379 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.