BedrockClient.create_evaluation_job
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Creates an evaluation job.
Install and imports
from rboto import BedrockClient
from collections.abc import Sequence
from rboto_bedrock.types import (
ApplicationType,
CreateEvaluationJobOutput,
EvaluationConfig,
EvaluationInferenceConfig,
EvaluationOutputDataConfig,
Tag,
)
Signature
async def create_evaluation_job(
*,
job_name: str,
role_arn: str,
evaluation_config: EvaluationConfig,
inference_config: EvaluationInferenceConfig,
output_data_config: EvaluationOutputDataConfig,
job_description: str | None = None,
client_request_token: str | None = None,
customer_encryption_key_id: str | None = None,
job_tags: Sequence[Tag] | None = None,
application_type: ApplicationType | None = None,
) -> CreateEvaluationJobOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
job_name |
Yes | A name for the evaluation job. Names must unique with your Amazon Web Services account, and your account's Amazon Web Services region. |
role_arn |
Yes | The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. To learn more about the required permissions, see Required permissions for model evaluations . |
evaluation_config |
Yes | Contains the configuration details of either an automated or human-based evaluation job. |
inference_config |
Yes | Contains the configuration details of the inference model for the evaluation job. For model evaluation jobs, automated jobs support a single model or inference profile , and jobs that use human workers support two models or inference profiles. |
output_data_config |
Yes | Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job. |
job_description |
No | A description of the evaluation job. |
client_request_token |
No | A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency . |
customer_encryption_key_id |
No | Specify your customer managed encryption key Amazon Resource Name (ARN) that will be used to encrypt your evaluation job. |
job_tags |
No | Tags to attach to the model evaluation job. |
application_type |
No | Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation). |
Output
CreateEvaluationJobOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
job_arn |
str |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ApplicationType, CreateEvaluationJobOutput, EvaluationConfig, EvaluationInferenceConfig, EvaluationOutputDataConfig, Tag
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.