Skip to content

/AWS1/CL_BDKEVALBEDROCKMODEL

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.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_modelidentifier TYPE /AWS1/BDKEVALBEDROCKMODELID /AWS1/BDKEVALBEDROCKMODELID

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

Optional arguments:

iv_inferenceparams TYPE /AWS1/BDKEVALMDELINFERENCEPRMS /AWS1/BDKEVALMDELINFERENCEPRMS

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

io_performanceconfig TYPE REF TO /AWS1/CL_BDKPERFORMANCECONF /AWS1/CL_BDKPERFORMANCECONF

Specifies performance settings for the model or inference profile.


Queryable Attributes

modelIdentifier

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

Accessible with the following methods

Method Description
GET_MODELIDENTIFIER() Getter for MODELIDENTIFIER, with configurable default
ASK_MODELIDENTIFIER() Getter for MODELIDENTIFIER w/ exceptions if field has no val
HAS_MODELIDENTIFIER() Determine if MODELIDENTIFIER has a value

inferenceParams

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

Accessible with the following methods

Method Description
GET_INFERENCEPARAMS() Getter for INFERENCEPARAMS, with configurable default
ASK_INFERENCEPARAMS() Getter for INFERENCEPARAMS w/ exceptions if field has no val
HAS_INFERENCEPARAMS() Determine if INFERENCEPARAMS has a value

performanceConfig

Specifies performance settings for the model or inference profile.

Accessible with the following methods

Method Description
GET_PERFORMANCECONFIG() Getter for PERFORMANCECONFIG