awslabs / agents-for-amazon-bedrock-blueprints

MIT No Attribution
15 stars 3 forks source link

[Feature Request] Support the code interpreter in AgentDefinitionBuilder #24

Open MrIce-9 opened 1 week ago

MrIce-9 commented 1 week ago

Is your feature request related to a problem? Please describe. Amazon Bedrock Agent offers a default Code interpreter that is not supported by the CDK construct

Describe the solution you'd like AgentDefinitionBuilder allows you to add the user input tool with "withUserInput()" at builder time. It would be great to have a similar ".withCodeInterpreter()"

Describe alternatives you've considered No real alternatives in mind that fits the current pattern of the blueprint.

Additional context https://docs.aws.amazon.com/bedrock/latest/userguide/agents-code-interpretation.html