Skip to content

Bedrock  >  Structures  >  EvaluationBedrockModel

EvaluationBedrockModel

Structure Class

EvaluationBedrockModel dataclass

Contains the ARN of the Amazon Bedrock model or inference profile specified in your evaluation job. Each Amazon Bedrock model supports different inferenceParams. To learn more about supported inference parameters for Amazon Bedrock models, see Inference parameters for foundation models.

The inferenceParams are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, "temperature":"0.25" key value pair would need to be formatted as "temperature":"0.25" to successfully accepted in the request.

Attributes

inference_params class-attribute instance-attribute
inference_params: str = field(repr=False, default='{}')

Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.

model_identifier instance-attribute
model_identifier: str

The ARN of the Amazon Bedrock model or inference profile specified.

performance_config class-attribute instance-attribute
performance_config: PerformanceConfiguration | None = None

Specifies performance settings for the model or inference profile.