/AWS1/CL_LM2BEDROCKMODELSPEC¶
Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_modelarn TYPE /AWS1/LM2BEDROCKMODELARN /AWS1/LM2BEDROCKMODELARN¶
The ARN of the foundation model used in descriptive bot building.
Optional arguments:¶
io_guardrail TYPE REF TO /AWS1/CL_LM2BEDROCKGUARDRAIL00 /AWS1/CL_LM2BEDROCKGUARDRAIL00¶
The guardrail configuration in the Bedrock model specification details.
iv_tracestatus TYPE /AWS1/LM2BEDROCKTRACESTATUS /AWS1/LM2BEDROCKTRACESTATUS¶
The Bedrock trace status in the Bedrock model specification details.
iv_customprompt TYPE /AWS1/LM2BEDROCKMDELCUSTPROMPT /AWS1/LM2BEDROCKMDELCUSTPROMPT¶
The custom prompt used in the Bedrock model specification details.
Queryable Attributes¶
modelArn¶
The ARN of the foundation model used in descriptive bot building.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MODELARN() |
Getter for MODELARN, with configurable default |
ASK_MODELARN() |
Getter for MODELARN w/ exceptions if field has no value |
HAS_MODELARN() |
Determine if MODELARN has a value |
guardrail¶
The guardrail configuration in the Bedrock model specification details.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GUARDRAIL() |
Getter for GUARDRAIL |
traceStatus¶
The Bedrock trace status in the Bedrock model specification details.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRACESTATUS() |
Getter for TRACESTATUS, with configurable default |
ASK_TRACESTATUS() |
Getter for TRACESTATUS w/ exceptions if field has no value |
HAS_TRACESTATUS() |
Determine if TRACESTATUS has a value |
customPrompt¶
The custom prompt used in the Bedrock model specification details.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CUSTOMPROMPT() |
Getter for CUSTOMPROMPT, with configurable default |
ASK_CUSTOMPROMPT() |
Getter for CUSTOMPROMPT w/ exceptions if field has no value |
HAS_CUSTOMPROMPT() |
Determine if CUSTOMPROMPT has a value |