Amazon Bedrock Studio is in preview release and is subject to change.
Add a prompt to a Prompt Flows app
In this procedure, you add a prompt to an existing Prompt Flow app.
-
Open the Prompt Flows app in Amazon Bedrock Studio.
-
In the Prompt Flow builder pane, select the Nodes tab.
-
From the Orchestration section, drag a Prompt node onto the flow builder canvas.
-
In the the flow builder, select the Prompt node that you just added.
-
In the Prompt Flow builder pane, choose the Configure tab and do the following:
-
For Node name, enter a name for the Prompt node.
-
For Prompt in the Prompt details section, select the prompt that you just created.
-
For Version, select the version of the prompt that you just created.
-
If you want to identify specific data from the upstream node that the prompt should use, change the value in Expression. For more information, see Define inputs with expressions.
-
-
The circles on the nodes are connection points. For each variable, draw a line from the circle on the upstream node (such as the Flow input node) to the circle for the variable in the Input section of the prompt node.
-
Connect the Output of the prompt node to the downstream node that you want the prompt to send its output to. The Prompt Flow should look similar to the following image:
Choose Save to save your changes.