Browse the study library +
← All practice questions

You process mixed document types with several possible schemas and want to guarantee structured output. What tool_choice setting fits?

Show answer and explanation

Answer: B

any forces the model to call some extraction tool (its choice) when the doc type is unknown among multiple schemas. auto might return prose; forcing one tool assumes you already know the type.

`any` ماڈل کو کوئی نہ کوئی extraction ٹول (اپنی مرضی سے) چلانے پر مجبور کرتا ہے جب دستاویز کی قسم کئی schemas میں سے پتا نہ ہو۔ `auto` میں وہ عبارت دے سکتا ہے؛ اور ایک ٹول مجبور کرنا یہ مان لیتا ہے کہ قسم پہلے سے پتا ہے۔

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.