Values.PromptFlowNodeConfigurationSourceContains 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.
type nonrec t = {sourceConfiguration : PromptFlowNodeSourceConfiguration.t;Specifies whether the prompt is from Prompt management or defined inline.
*)guardrailConfiguration : GuardrailConfiguration.t option;Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
*)}val make :
?guardrailConfiguration:??? ->
sourceConfiguration:PromptFlowNodeSourceConfiguration.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `String of GuardrailIdentifier.t
| `Structure of
(string
* [> `Enum of string
| `String of FlowPromptArn.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Float of Temperature.t
| `Integer of MaximumLength.t
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `Enum of string ])
list ])
list ]
list
| `String of
PromptInputVariableName.t
| `Structure of
(string * [> `Enum of string ])
list ])
list ]
list
| `String of TextPrompt.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of
Boolean.t
| `Enum of string
| `String of
ToolName.t
| `Structure of
(string
* [> `Structure of
'a list ])
list ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [> `String of ToolName.t ])
list ])
list ])
list ])
list ])
list ])
list ])
list ])
list ]