← All practice questions
QUESTION 101 OF 245Domain: Prompt Engineering & Structured Output
Source documents sometimes lack a 'tax_id' field. How should the schema treat it to avoid fabrication?
Show answer and explanation
Answer: B
A required field on possibly-absent data pressures the model to invent a value. Nullable/optional fields let it correctly return null.
جو ڈیٹا شاید موجود ہی نہ ہو، اسے 'لازمی' خانہ بنا دینا ماڈل پر قدر گھڑنے کا دباؤ ڈالتا ہے۔ خانے کو optional/nullable رکھیں تاکہ وہ درست طور پر null دے سکے۔
One practice question a week
Get a new exam-style question with a clear explanation in your inbox. Free, no spam, unsubscribe any time.
We only use your email for these updates. See our privacy policy.