← Quiz: Structured Outputs: all 10 questions
Quiz: Structured Outputs · Question 8 of 10
The schema says cgpa is a number. The model returns 84 for a CGPA out of 10. What catches this?
The schema says cgpa is a number. The model returns 84 for a CGPA out of 10. What catches this?
- A.The JSON schema type check
- B.Nothing can catch it
- C.Asking the model to be careful
- D.Your own business-rule validation, such as a range check from 0 to 10
Answer & explanation
Correct answer: Your own business-rule validation, such as a range check from 0 to 10
The schema guarantees shape, not truth.
Can you get the rest right without peeking?
Take the timed Quiz: Structured Outputs quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →