Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.List model evaluation jobs that use human workers in Amazon Bedrock
You can list your current model evaluation jobs that use human workers using the AWS CLI, or a supported AWS SDK. In the Amazon Bedrock console, you can also view a table containing your current model evaluation jobs.
The following examples show you how to find your model evaluation jobs using the AWS Management Console, AWS CLI and SDK for Python.
- Amazon Bedrock console
-
- AWS CLI
-
In the AWS CLI, you can use the help command to view
parameters are required, and which parameters are optional when using
list-evaluation-jobs.
aws bedrock list-evaluation-jobs help
The follow is an example of using list-evaluation-jobs
and specifying that maximum of 5 jobs be returned. By default jobs are
returned in descending order from the time when they where
started.
aws bedrock list-evaluation-jobs --max-items 5
- SDK for Python
-
The following examples show how to use the AWS SDK for Python to find a model evaluation job you have previously created.
import boto3
client = boto3.client('bedrock')
job_request = client.list_evaluation_jobs(maxResults=20)
print (job_request)