AI and LLMs · Junior · Question 26 of 75

Why ask for structured output like JSON from a model?

Show the answer

Correct answer: So the application can reliably parse and use the result

Explanation

Many APIs can enforce a JSON schema. The app should still validate the result before using it.

Further reading

Problem with a question

AI and LLMs · Junior · question 26

Test yourself

Take the AI and LLMs · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz