If you disable user input, the agent doesn't request the user for additional details. if it needs to invoke an API in an action group, but doesn't have enough information to complete the API request. Instead, the model within the agent will use the default values and make a best guess at invoking the appropriate function or the method. This might cause agent to hallucinate on the function call prediction.
You can disable user input in Amazon Bedrock at any time.
To learn how to disable user input, choose the tab for your preferred method, and then follow the steps:
To disable user input,
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/
. -
Select Agents from the left navigation pane. Then, choose an agent in the Agents section.
-
Choose Edit in Agent builder.
-
Expand Additional setting section, choose Disabled for User input.
-
Select Prepare at the top of the page. And then select Save to save the changes to your agent.
After you've disabled user input for your agent, make sure to send a PrepareAgent request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint.