Add a prompt to a Prompt Flows app - Amazon Bedrock Studio

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.

  1. Open the Prompt Flows app in Amazon Bedrock Studio.

  2. In the Prompt Flow builder pane, select the Nodes tab.

  3. From the Orchestration section, drag a Prompt node onto the flow builder canvas.

  4. In the the flow builder, select the Prompt node that you just added.

  5. In the Prompt Flow builder pane, choose the Configure tab and do the following:

    1. For Node name, enter a name for the Prompt node.

    2. For Prompt in the Prompt details section, select the prompt that you just created.

    3. For Version, select the version of the prompt that you just created.

    4. 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.

  6. 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.

  7. 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:

    Connect an Amazon Bedrock Studio prompt node to a downstream node.
  8. Choose Save to save your changes.