Text Analytics
This endpoint performs comprehensive text analysis on provided content and answers specific questions about the text.Each response is supported by reasoning and the exact phrase extracted from the content.
Headers
Your subscription key
Body
The text content to be analyzed. This should be a non-empty string containing the full text for analysis.
List of questions to be answered based on the call content. Each question should be a valid JSON object with the following structure: {id: string, text: string, description: string (optional), type: string, properties: object}. The 'type' field must be one of: boolean, enum, short answer, long answer, or number. For 'enum' type questions, include an 'options' list in the properties.
Response
Represents the response from text analytics.
This model encapsulates the results of analyzing a text based on the provided questions. It includes a list of answers, each corresponding to a question from the original request.
Attributes: answers (Optional[List[QNAResponse]]): List of answers derived from the text analysis. Null if no valid answers are found.
List of answers derived from the text analysis. Each answer corresponds to a question from the original request. This field will be null if no valid answers could be generated.