8000 Feature request: [Bedrock Agent Event Handler] Add (prompt) session attributes and knowledgeBasesConfiguration to the response · Issue #5042 · aws-powertools/powertools-lambda-python · GitHub
[go: up one dir, main page]

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

Description

@isunli

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 6511 solutions

No response

Acknowledgment

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0