Question 240
An agentic application at Green Valley Health needs to prioritize failures when an agent sometimes uses tools correctly but misses required data; it must independently select between fast text-only and costly multimodal model deployments for mixed input. Which pair of implementation changes fits?
Explanation
Correct Answer
The first action meets (1): Single-turn success does not establish reliable multi-step tool behavior. The second meets (2): Using multimodal capability only when images or audio are actually needed reduces cost. Together they satisfy both independent requirements.
Incorrect Answers
The second action is appropriate for requirement (2). The first is instead for measure whether tool latency causes request timeout spikes. Latency breakdowns distinguish slow tools from slow model generation. It does not satisfy requirement (1), to prioritize failures when an agent sometimes uses tools correctly but misses required data.
The first action correctly addresses (1). The second is for a different need—to measure whether tool latency causes request timeout spikes. Latency breakdowns distinguish slow tools from slow model generation. It leaves requirement (2), to select between fast text-only and costly multimodal model deployments for mixed input, unfulfilled.
The two steps in “Instrument timed spans and correlate timeouts with tool retry counts; then tune temperature and compare factual adherence on a fixed evaluation set” address separate purposes rather than the required combination. The selected “Run task-level tests across successful and error-path conversations; then route by verified input modality and quality requirements” covers both conditions stated in the question; this distractor does not complete that pair.