powertools-lambda-python icon indicating copy to clipboard operation
powertools-lambda-python copied to clipboard

feat(bedrock_agent): WIP - Add new Amazon Bedrock Agents Functions

Open anafalcao opened this issue 8 months ago • 2 comments

Issue number: #6300

Summary

WIP

Changes

  • [x] Bedrock Agent Functions data class
  • [x] BedrockFunctionsResponseBuilder
  • [x] BedrockAgentFunctionResolver
  • [ ] Optional response fields - sessionAttributes, promptSessionAttributes, knowledgeBasesConfiguration
  • [ ] Additional validations
  • [ ] name on Tool decorator
  • [ ] Documentation with examples

User experience

Please share what the user experience looks like before and after this change

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • [ ] Migration process documented
  • [ ] Implement warnings (if it can live side by side)

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.

anafalcao avatar Apr 25 '25 15:04 anafalcao

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.15%. Comparing base (9c16b81) to head (13d5569). Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6564      +/-   ##
===========================================
+ Coverage    96.09%   96.15%   +0.05%     
===========================================
  Files          254      256       +2     
  Lines        12179    12350     +171     
  Branches       905      916      +11     
===========================================
+ Hits         11704    11875     +171     
  Misses         373      373              
  Partials       102      102              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Apr 25 '25 15:04 codecov[bot]

Hello @anafalcao! I finished the first review and we need to fix the parameters part before proceeding with another review. Can you please work on that?

Hey @leandrodamascena ! Thank you so much for all the feedbacks, I pushed a new commit addressing them.

anafalcao avatar May 08 '25 23:05 anafalcao

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 15 '25 18:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 15 '25 18:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 15 '25 18:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 26 '25 19:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 26 '25 21:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 26 '25 21:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 26 '25 21:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 26 '25 21:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 27 '25 10:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 28 '25 17:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 28 '25 17:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar May 28 '25 17:05 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar Jun 02 '25 15:06 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar Jun 02 '25 21:06 github-actions[bot]

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

github-actions[bot] avatar Jun 03 '25 09:06 github-actions[bot]