AI and LLMs · Middle · Question 62 of 75

How should an app handle a model answer that fails validation repeatedly?

Show the answer

Correct answer: Stop after a few retries and use a fallback or clear error

Explanation

Bounded retries protect cost and latency. Log the failures; they're valuable eval cases.

Further reading

Problem with a question

AI and LLMs · Middle · question 62

Test yourself

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

Take this quiz