Câu 41: CCA-F: Claude Certified Architect - Foundations
Your process_refund tool returns two types of errors: technical errors (“503 Service Unavailable”, “Connection timeout”) that are transient (5% of calls), and business errors (“Order exceeds 30 day return window”, “Item already refunded”) that are permanent (12% of calls). Monitoring shows the agent wastes 3-4 turns r…
Nội dung câu hỏi
Your process_refund tool returns two types of errors: technical errors (“503 Service Unavailable”, “Connection timeout”) that are transient (5% of calls), and business errors (“Order exceeds 30 day return window”, “Item already refunded”) that are permanent (12% of calls). Monitoring shows the agent wastes 3-4 turns retrying business errors that can never succeed. Currently, both error types return only a plain text message to Claude.What’s the most effective way to reduce wasted retries while improving customer-facing response quality?
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.
- A. Implement automatic retry logic at the tool level for technical errors only, passing business errors to Claude without retries.
- B. Add few-shot examples showing how to distinguish retriable from non-retriable errors by parsing error message text.
- C. Return structured error responses with retriable: false for business errors and a customer-friendly explanation for Claude to use. — đáp án hiện tại
- D. Add a check_refund_eligibility tool that must be called before process_refund to prevent business rule violations.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.