Browse the study library +
← All practice questions

You process mixed document types with several possible schemas and must guarantee a structured result. Which tool_choice?

Show answer and explanation

Answer: B

any forces a tool call when the doc type is unknown among multiple schemas. auto may return text; forcing one tool assumes you already know the type.

`any` تب ٹول کال مجبور کرتا ہے جب دستاویز کی قسم کئی 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.