github aws-powertools/powertools-lambda-python v2.35.0

latest releases: v3.3.0, v3.2.0, v3.1.0...
8 months ago

Summary

We’re super excited to introduce a brand new utility to author Agents for Amazon Bedrock! 🎉🎉

Agents for Amazon Bedrock is a feature to build and deploy conversational agents that can interact with your customers using Large Language Models (LLM) and AWS Lambda functions.

image

Agents for Amazon Bedrock Event Handler

Docs

Building on top of the Event Handler validation framework and the OpenAPI generation feature introduced in December, we created a new utility to:

  • 🛠 Drastically reduce the boilerplate to build Agents for Amazon Bedrock
  • 🚀 Automatically generate OpenAPI schemas from your business logic code
  • ✅ Built-in data validation for requests and responses
  • 🌐 Similar experience when authoring REST and HTTP APIs

Here's an agent with an action to schedule a meeting, ensuring that a valid email was passed in by the user:

image

Check out our brand new docs on the feature and let us know what you think!

Oh and we also fixed some bugs :) Thank you @kbakk and @aminalaee for your contributions!

Changes

📜 Documentation updates

🐛 Bug and hot fixes

  • fix(event_handler): OpenAPI schema version respects Pydantic version (#3860) by @rubenfonseca

🔧 Maintenance

  • chore(docs): add Bedrock Agents to feature list (#3889) by @rubenfonseca
  • chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3887) by @dependabot
  • docs(event_handler): add bedrock agent resolver documentation (#3602) by @rubenfonseca
  • chore(deps-dev): bump cfn-lint from 0.85.3 to 0.86.0 (#3882) by @dependabot
  • chore(deps-dev): bump aws-cdk from 2.130.0 to 2.131.0 (#3883) by @dependabot
  • chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3884) by @dependabot
  • chore(deps-dev): bump aws-cdk-lib from 2.130.0 to 2.131.0 (#3881) by @dependabot
  • chore(deps): bump actions/download-artifact from 4.1.3 to 4.1.4 (#3875) by @dependabot
  • chore(deps): bump squidfunk/mkdocs-material from 49d1bfd to 7be068b in /docs (#3872) by @dependabot
  • chore(deps-dev): bump mkdocs-material from 9.5.11 to 9.5.12 (#3870) by @dependabot
  • chore(deps-dev): bump ruff from 0.2.2 to 0.3.0 (#3871) by @dependabot
  • chore(deps): bump redis from 5.0.1 to 5.0.2 (#3867) by @dependabot
  • chore(deps-dev): bump cfn-lint from 0.85.2 to 0.85.3 (#3861) by @dependabot
  • chore(deps): bump actions/download-artifact from 4.1.2 to 4.1.3 (#3862) by @dependabot
  • chore(deps): bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 (#3863) by @dependabot
  • chore(deps): bump docker/setup-buildx-action from 3.0.0 to 3.1.0 (#3864) by @dependabot
  • chore(deps-dev): bump black from 24.1.1 to 24.2.0 (#3760) by @dependabot
  • chore(deps): bump codecov/codecov-action from 4.0.2 to 4.1.0 (#3856) by @dependabot
  • chore(deps): bump squidfunk/mkdocs-material from 43b898a to 49d1bfd in /docs (#3857) by @dependabot

This release was made possible by the following contributors:

@aminalaee, @dependabot, @dependabot[bot], @github-actions, @github-actions[bot] and @rubenfonseca

Don't miss a new powertools-lambda-python release

NewReleases is sending notifications on new releases.