Add a function component to a chat app - Amazon Bedrock Studio

Amazon Bedrock Studio, renamed to Amazon Bedrock IDE, is now available in Amazon SageMaker Unified Studio. Amazon Bedrock Studio will be available until February 28, 2025. You may access existing workspaces in this previous version through February 28, 2025, but you may not create new workspaces. To access the enhanced GA version of Amazon Bedrock Studio with additional features and capabilities, you can create a new Amazon SageMaker Unified Studio domain. To learn about Amazon Bedrock Studio IDE, see the documentation.

Add a function component to a chat app

In this procedure, you add a function component to an existing chat app. You can add up to 5 functions to an app. For each function you add, be sure to update the system prompt with information about the function.

  1. Open the chat app in Amazon Bedrock Studio.

  2. In the Configs pane, do the following:

    1. For System prompt and examples, enter or update the system prompt so that it describes the function.

    2. Choose Functions.

    3. For Functions, select the function component that you created in Create an Amazon Bedrock Studio function component.

  3. Choose Save to save your changes.