Interview practice question
Inconsistent outputs for the same input
Machine Learning · LLM Fundamentals · Beginner
Your LLM gives different classifications for the same customer message each time. How do you make it consistent?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Lower temperature (near 0).
- Clear instructions and label definitions.
- Few-shot examples for borderline cases.
- Structured output with fixed label set.
- Evaluate consistency; note some nondeterminism remains.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.