演習 › 全問
問題 Q4-02
66 / 120分野4・評価のカバレッジの不足
まだ解いていません。
予約エージェントの評価は、最後の返答に、「予約が完了しました」という文言があるかを、確認していた。本番で、文言は出るのに、予約が実際には登録されていない例が複数出た。評価の修正として最も適切なものはどれか。
正解は B
- A言い回しを増やしても、文言が出ること自体が、登録の有無を示しません。
- B正解です。見るべきは、記録の文言ではなく、結果としての状態です。予約が実際にあるかを採点します。
- C文字数は、登録の有無と無関係です。
- D利用者への質問は、評価の仕組みになりません。
考え方:完了の判定は、文言ではなく、最後の状態で採点する。
出典:Demystifying evals for AI agents
A flight-booking agent might say “Your flight has been booked” at the end of the transcript, but the outcome is whether a reservation exists in the environment’s SQL database.https://www.anthropic.com/research/demystifying-evals-for-ai-agents(取得 2026-11-23)
出典:Demystifying evals for AI agents
A grader is logic that scores some aspect of the agent’s performance.https://www.anthropic.com/research/demystifying-evals-for-ai-agents(取得 2026-11-23)