Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow session attributes as inputs to the invoke method for Bedrock Agents #288

Open
jicowan opened this issue Nov 22, 2024 · 2 comments
Open
Labels
bedrock agents enhancement New feature or request

Comments

@jicowan
Copy link

jicowan commented Nov 22, 2024

Description

Current Bedrock agent implementation does not allow passing promptSessionAttributes and sessionAttributes as inputs to the invoke method. These inputs are useful to pass in additional runtime context to the agents, for example passing in information from a user's profile, their username or location. Here is the documentation for these attributes in Bedrock agents.
https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html#session-state-attributes

@3coins
Copy link
Collaborator

3coins commented Nov 23, 2024

cc @jdbaker01
cc @kcgourishetti

@3coins 3coins added the enhancement New feature or request label Nov 23, 2024
@3coins 3coins changed the title Add parameters for passing SessionState to the invoke method Add ability to pass session attributes as inputs to the invoke method for Bedrock Agents Nov 23, 2024
@3coins 3coins changed the title Add ability to pass session attributes as inputs to the invoke method for Bedrock Agents Allow session attributes as inputs to the invoke method for Bedrock Agents Nov 23, 2024
@3coins
Copy link
Collaborator

3coins commented Nov 23, 2024

@jicowan
Thanks for raising this issue. I simplified the description for the issue, and added link to the documentation. Please feel free to edit as necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bedrock agents enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants