AWS bedrock-agentcore documentation change
Summary
Added documentation for viewing batch evaluation results through the AgentCore CLI including commands and examples.
Security assessment
Changes add CLI usage instructions without addressing security vulnerabilities or weaknesses. No security-related content was added or modified.
Diff
diff --git a/bedrock-agentcore/latest/devguide/batch-evaluations-results.md b/bedrock-agentcore/latest/devguide/batch-evaluations-results.md index 678b84ca9..2d150d59c 100644 --- a//bedrock-agentcore/latest/devguide/batch-evaluations-results.md +++ b//bedrock-agentcore/latest/devguide/batch-evaluations-results.md @@ -7 +7 @@ -Aggregate resultsPer-session detail in CloudWatch LogsInterpreting scoresError handlingComparing results across runs +Aggregate resultsPer-session detail in CloudWatch LogsInterpreting scoresError handlingComparing results across runsViewing results from the CLI @@ -164,0 +165,24 @@ A common workflow is to run batch evaluation before and after a change (prompt u +## Viewing results from the CLI + +In addition to the `GetBatchEvaluation` API, the AgentCore CLI surfaces the same results: + + * `agentcore view batch-evaluation <batch-evaluation-id>` — view a single job and its results (add `--json` for the raw output). + + * `agentcore batch-evaluations history` — list batch evaluation jobs (running jobs are refreshed from the service; add `--json`). + + * `agentcore run batch-evaluation … --json` — returns the same `batchEvaluationId` / `evaluationResults` / `evaluatorSummaries` object shown in the JSON example above. + + + + + + # View a single batch evaluation job and its results + agentcore view batch-evaluation 12345678-1234-1234-1234-123456789012 --json + + # List batch evaluation jobs (running jobs are refreshed from the service) + agentcore batch-evaluations history --json + +###### Note + +The run command flag for selecting evaluators is `-e, --evaluator <ids…>` (or `--evaluator-arn <arns…>`). +