フリー問題

Claude Certified Architect – Foundations のフリー問題 8 / 20 問目

問題文

An extraction pipeline must always produce structured output for each document, never conversational text. Several extraction schemas exist and the document type is not known in advance. Which tool_choice setting fits?

選択肢

  1. No tool_choice setting, with a system prompt instruction to always return JSON.
  2. Forced selection with {"type": "tool", "name": "extract_invoice"} for every document.
  3. tool_choice: "auto", which lets the model decide whether to call a tool at all.
  4. tool_choice: "any", which guarantees the model calls a tool but lets it choose which schema applies.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。