Skip to content

Bedrock Agent  >  Structures  >  PromptFlowNodeConfiguration

PromptFlowNodeConfiguration

Structure Class

PromptFlowNodeConfiguration dataclass

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.

Attributes

guardrail_configuration class-attribute instance-attribute
guardrail_configuration: GuardrailConfiguration | None = None

Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.

source_configuration instance-attribute
source_configuration: PromptFlowNodeSourceConfiguration

Specifies whether the prompt is from Prompt management or defined inline.