/AWS1/CL_BDAPROMPTFLOWNODECONF¶
Contains configurations for a prompt node in the flow. You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
io_sourceconfiguration
TYPE REF TO /AWS1/CL_BDAPROMPTFLOWNODESR00
/AWS1/CL_BDAPROMPTFLOWNODESR00
¶
Specifies whether the prompt is from Prompt management or defined inline.
Optional arguments:¶
io_guardrailconfiguration
TYPE REF TO /AWS1/CL_BDAGUARDRAILCONF
/AWS1/CL_BDAGUARDRAILCONF
¶
Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
Queryable Attributes¶
sourceConfiguration¶
Specifies whether the prompt is from Prompt management or defined inline.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SOURCECONFIGURATION() |
Getter for SOURCECONFIGURATION |
guardrailConfiguration¶
Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
Accessible with the following methods¶
Method | Description |
---|---|
GET_GUARDRAILCONFIGURATION() |
Getter for GUARDRAILCONFIGURATION |