CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 32: CCA-F: Claude Certified Architect - Foundations

Your get_portfolio_value tool returns the total value of a user’s investment portfolio. You’re deciding between returning a structured JSON object with explicit fields versus returning the information as a formatted text string. What is the primary advantage of using structured output with defined fields?

Nội dung câu hỏi

Your get_portfolio_value tool returns the total value of a user’s investment portfolio. You’re deciding between returning a structured JSON object with explicit fields versus returning the information as a formatted text string. What is the primary advantage of using structured output with defined fields?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. JSON schemas automatically validate that the underlying API returned correct data before the agent processes it.
  2. B. Structured JSON consumes significantly fewer tokens than natural language, substantially reducing API costs.
  3. C. Structured JSON is processed deterministically by the model, significantly improving accuracy when extracting values.
  4. D. The agent can reliably extract specific values without parsing free-form text, reducing errors in subsequent operations. — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề