/AWS1/CL_BDKMODELCONFIGURATION¶
Contains the configuration for a model used in an advanced prompt optimization job, including the model ID and inference parameters.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_modelid TYPE /AWS1/BDKBEDROCKMODELID /AWS1/BDKBEDROCKMODELID¶
The ID of the model to use for optimization.
Optional arguments:¶
io_inferenceconfig TYPE REF TO /AWS1/CL_BDKINFERENCECONF /AWS1/CL_BDKINFERENCECONF¶
The inference configuration for the model, including parameters such as maximum tokens, temperature, and top-p.
it_addlmodelrequestfields TYPE /AWS1/CL_RT_DOCUMENT=>TT_MAP TT_MAP¶
Additional model request fields. Use this to pass model-specific parameters that are not included in the standard inference configuration.
Queryable Attributes¶
modelId¶
The ID of the model to use for optimization.
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 |
inferenceConfig¶
The inference configuration for the model, including parameters such as maximum tokens, temperature, and top-p.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INFERENCECONFIG() |
Getter for INFERENCECONFIG |
additionalModelRequestFields¶
Additional model request fields. Use this to pass model-specific parameters that are not included in the standard inference configuration.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ADDLMODELREQUESTFIELDS() |
Getter for ADDITIONALMODELREQUESTFIELDS, with configurable d |
ASK_ADDLMODELREQUESTFIELDS() |
Getter for ADDITIONALMODELREQUESTFIELDS w/ exceptions if fie |
HAS_ADDLMODELREQUESTFIELDS() |
Determine if ADDITIONALMODELREQUESTFIELDS has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_MODELCONFIGURATIONS¶
TYPES TT_MODELCONFIGURATIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDKMODELCONFIGURATION WITH DEFAULT KEY
.