-
Notifications
You must be signed in to change notification settings - Fork 31
chore: Feature/bedrock agent function resolver #894
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
Conversation
…tailed XML documentation and support for various handler signatures
…s-lambda-dotnet into feature/bedrock-agent-function-resolver
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #894 +/- ##
===========================================
+ Coverage 76.53% 76.95% +0.41%
===========================================
Files 248 264 +16
Lines 9703 10292 +589
Branches 1071 1164 +93
===========================================
+ Hits 7426 7920 +494
- Misses 1938 1998 +60
- Partials 339 374 +35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ession attribute handling
…ing and streamline task result processing
…it and add attribute-based tool registration support
… fluent API for function registration and automatic request processing
…d result processing with dedicated helper classes
…alidator, ResultConverter, and BedrockAgentFunctionResolver
…ParameterMapper, ParameterTypeValidator, and ResultConverter; enhance error handling in ParameterAccessor
Signed-off-by: Henrique Graca <[email protected]>
Signed-off-by: Henrique Graca <[email protected]>
Signed-off-by: Henrique Graca <[email protected]>
…ce error handling and session attributes management
…hub.com/aws-powertools/powertools-lambda-dotnet into feature/bedrock-agent-function-resolver
…ODO for CDK integration and remove redundant resource requirements
…tailed XML documentation and support for various handler signatures
…ession attribute handling
…ing and streamline task result processing
…it and add attribute-based tool registration support
… fluent API for function registration and automatic request processing
…d result processing with dedicated helper classes
…alidator, ResultConverter, and BedrockAgentFunctionResolver
…ParameterMapper, ParameterTypeValidator, and ResultConverter; enhance error handling in ParameterAccessor
…ce error handling and session attributes management
Signed-off-by: Henrique Graca <[email protected]>
…ODO for CDK integration and remove redundant resource requirements
…nd JSON serialization options
…sure proper instantiation
…esolver' into feature/bedrock-agent-function-resolver # Conflicts: # libraries/src/AWS.Lambda.Powertools.EventHandler.Resolvers.BedrockAgentFunction/BedrockAgentFunctionResolver.cs
…at details and examples
Signed-off-by: Henrique Graca <[email protected]>
|
Issue number: #887
Summary
Changes
This pull request introduces a new utility,
BedrockAgentFunctionResolver
, to simplify the development of AWS Lambda functions interacting with Amazon Bedrock Agents. It includes documentation, project setup, core implementation, and dependency injection support. Below is a summary of the most important changes:Documentation and Usage Guide
bedrock_agent_function.md
documenting theBedrockAgentFunctionResolver
utility. It includes an overview, features, installation instructions, basic and advanced usage examples, and benefits.Project Setup
AWS.Lambda.Powertools.EventHandler.BedrockAgentFunctionResolver
to the solution fileAWS.Lambda.Powertools.sln
. This includes configuration for build settings and solution hierarchy. [1] [2] [3].csproj
file with dependencies onAmazon.Lambda.Core
,AWSSDK.BedrockAgentRuntime
, andMicrosoft.Extensions.DependencyInjection
.Core Implementation
ParameterAccessor
class for strongly-typed parameter extraction in Bedrock Agent function calls, supporting various data types likestring
,int
,bool
, and more.InternalsVisibleTo
attribute to allow internal access for unit testing.Dependency Injection Support
DiBedrockAgentFunctionResolver
and extension methods inBedrockAgentFunctionResolverExtensions.cs
to enable seamless integration with .NET's dependency injection system.User experience
Checklist
Please leave checklist items unchecked if they do not apply to your change.
Is this a breaking change?
RFC issue number:
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.