Skip to content

/AWS1/CL_BDOHARNBDRKMODELCFG

Configuration for an Amazon Bedrock model provider.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_modelid TYPE /AWS1/BDOMODELID /AWS1/BDOMODELID

The Bedrock model ID.

Optional arguments:

iv_maxtokens TYPE /AWS1/BDOMAXTOKENS /AWS1/BDOMAXTOKENS

The maximum number of tokens to allow in the generated response per iteration.

iv_temperature TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The temperature to set when calling the model.

iv_topp TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The topP set when calling the model.


Queryable Attributes

modelId

The Bedrock model ID.

Accessible with the following methods

Method Description
GET_MODELID() Getter for MODELID, with configurable default
ASK_MODELID() Getter for MODELID w/ exceptions if field has no value
HAS_MODELID() Determine if MODELID has a value

maxTokens

The maximum number of tokens to allow in the generated response per iteration.

Accessible with the following methods

Method Description
GET_MAXTOKENS() Getter for MAXTOKENS, with configurable default
ASK_MAXTOKENS() Getter for MAXTOKENS w/ exceptions if field has no value
HAS_MAXTOKENS() Determine if MAXTOKENS has a value

temperature

The temperature to set when calling the model.

Accessible with the following methods

Method Description
GET_TEMPERATURE() Getter for TEMPERATURE, with configurable default
ASK_TEMPERATURE() Getter for TEMPERATURE w/ exceptions if field has no value
STR_TEMPERATURE() String format for TEMPERATURE, with configurable default
HAS_TEMPERATURE() Determine if TEMPERATURE has a value

topP

The topP set when calling the model.

Accessible with the following methods

Method Description
GET_TOPP() Getter for TOPP, with configurable default
ASK_TOPP() Getter for TOPP w/ exceptions if field has no value
STR_TOPP() String format for TOPP, with configurable default
HAS_TOPP() Determine if TOPP has a value