-
Notifications
You must be signed in to change notification settings - Fork 499
Amazon Bedrock Agent support #2007
Copy link
Copy link
Open
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.mEffort estimation: mediumEffort estimation: mediummodule/aspnetcore-supportp2This is a standard priority issueThis is a standard priority issuequeued
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.mEffort estimation: mediumEffort estimation: mediummodule/aspnetcore-supportp2This is a standard priority issueThis is a standard priority issuequeued
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the feature
Add support for receiving JSON requests from a Amazon Bedrock Agent, with a Action Group configured with an OpenAPI specification. The JSON structures between the HttpApi/RestApi via API Gateway are incompatible with the current setup.
Use Case
Creating a .NET Core Web API that can be used by a Amazon Bedrock Agent. The API can generate the Swagger/OpenAPI specification that can be uploaded to the Agent as is
Proposed Solution
The general idea is to add a new EventSource specifically for Bedrock Agents, that translates that format into a AspNetCore request. It should make the setup as seamless as for HttpApi and RestApi for the end user.
The end result should look something like this:
builder.Services.AddAWSLambdaHosting(LambdaEventSource.BedrockAgentApi)Other Information
I created a Repost question detailing the issue: https://repost.aws/questions/QUXj8PAYBRQiKqd5VRWHNQfQ/amazon-lambda-aspnetcoreserver-hosting-as-bedrock-agent-action-group-lambda
Acknowledgements
AWS .NET SDK and/or Package version used
latest
Targeted .NET Platform
.NET 6, .NET 8
Operating System and version
any