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

Feature request: [Bedrock Agent Event Handler] Add (prompt) session attributes and knowledgeBasesConfiguration to the response #5042

Open
1 of 2 tasks
isunli opened this issue Aug 21, 2024 · 2 comments
Labels

Comments

@isunli
Copy link

isunli commented Aug 21, 2024

Use case

We are using bedrock event handler and we want to add session attributes and prompt session attributes in our response. In the current event handler there is no way to do that unless we build the json object manually. code.

We want to have a proper why to inject those attributes into response.

In the doc there is one more attribute called knowledgeBasesConfiguration which should also included in the solution.

Solution/User Experience

Maybe we have a bedrock response object like API Gateway (https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#fine-grained-responses) to allow user to inject additional attributes.

Alternative solutions

No response

Acknowledgment

@isunli isunli added feature-request feature request triage Pending triage from maintainers labels Aug 21, 2024
Copy link

boring-cyborg bot commented Aug 21, 2024

Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

@isunli isunli changed the title Feature request: [Bedrock Event Handler] Add (prompt) session attributes and knowledgeBasesConfiguration to the response Feature request: [Bedrock Agent Event Handler] Add (prompt) session attributes and knowledgeBasesConfiguration to the response Aug 21, 2024
@leandrodamascena
Copy link
Contributor

Hi @isunli! Thanks for opening this issue! I'm adding it to the backlog and will return to this issue once we release v3.

@leandrodamascena leandrodamascena added openapi-schema and removed triage Pending triage from maintainers labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants