Exam Preparation Quiz

Question 28 of 75

Understand Azure OpenAI Response Truncation Behavior

MDFT Pro, a well-known training agency, is testing their Azure OpenAI-powered course recommendation system to ensure it provides complete and helpful responses to student inquiries. Claire, the Quality Assurance Specialist, is analyzing system behavior to understand when responses might be cut off due to token limits, which could result in incomplete recommendations or answers to student questions.

The team needs to properly configure response limits to balance comprehensive answers with cost control, ensuring students receive complete information about course offerings, prerequisites, and enrollment procedures without unnecessary token consumption.

The system is configured with the following settings:

When asked about MDFT Pro’s founder, the system returns this response:

{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "content": "The founder of MDFT Pro is Mark Farragher.",
        "role": "assistant"
      }
    }
  ],
  "created": 1679014554,
  "id": "chatcmpl-6usfny2yyjkbmESe36JdqQ6bDsc01",
  "model": "gpt-3.5-turbo-0301",
  "object": "chat.completion",
  "usage": {
    "completion_tokens": 86,
    "prompt_tokens": 37,
    "total_tokens": 123
  }
}

Was the text completion truncated because the Max response tokens value was exceeded?

Choose the correct answer from the options below.

Explanations for each answer:

Learn more about Azure OpenAI response handling:
Azure OpenAI Responses
Next Question