Browse the study library +
← All practice questions

The document type is unknown among several possible schemas. Which tool_choice guarantees structured output?

Show answer and explanation

Answer: B

tool_choice: "any" guarantees the model calls one of the schema tools rather than returning text, without committing to a single schema up front.

`tool_choice: "any"` یقینی بناتا ہے کہ ماڈل متن دینے کے بجائے schema والے ٹولز میں سے کوئی ایک چلائے، اور پہلے سے کسی ایک schema پر بندھے بغیر۔

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.