Skip to content

PromptFlowNodeConfiguration

Source code in docs_src/capo_bedrock_agent/types/prompt_flow_node_configuration.py
class PromptFlowNodeConfiguration(TypedDict, closed=True):
    source_configuration: "capo_bedrock_agent.types.prompt_flow_node_source_configuration.PromptFlowNodeSourceConfiguration"
    """<p>Specifies whether the prompt is from Prompt management or defined inline.</p>"""
    guardrail_configuration: NotRequired[
        "capo_bedrock_agent.types.guardrail_configuration.GuardrailConfiguration"
    ]
    """<p>Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.</p>"""

guardrail_configuration instance-attribute

guardrail_configuration: NotRequired[GuardrailConfiguration]

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.