Add a function component to an Amazon Bedrock chat agent app
In this procedure, you add a function component to an existing chat agent app. You can add up to 5 functions to an app. For each function you add, be sure to update the system instruction with information about the function.
To add a function component to a chat agent app
- 
    
Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.
 - 
    
Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see Access Amazon SageMaker Unified Studio.
 If the project that you want to use isn't already open, do the following:
- 
						
Choose the current project at the top of the page. If a project isn't already open, choose Select a project.
 - 
						
Select Browse all projects.
 - 
						
In Projects select the project that you want to use.
 
- 
						
 Choose the Build menu option at the top of the page.
In MACHINE LEARNING & GENERATIVE AI choose My apps.
- 
        
In Apps choose the chat agent app that you want to add the function component to.
 - 
        
In the Configs pane, do the following:
- 
            
For Enter a system instruction, enter or update the system prompt so that it describes the function.
 - 
            
Choose Functions.
 - 
            
For Functions, select the function component that you created in Create an Amazon Bedrock function component.
 
 - 
            
 - 
        
Choose Save to save your changes.