PromptFlowNodeConfiguration
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 Amazon Bedrock works in the Amazon Bedrock User Guide.
Contents
- sourceConfiguration
-
Specifies whether the prompt is from Prompt management or defined inline.
Type: PromptFlowNodeSourceConfiguration object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- guardrailConfiguration
-
Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
Type: GuardrailConfiguration object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: