core icon indicating copy to clipboard operation
core copied to clipboard

Amazon Bedrock Conversation Agent Integration

Open paul-enno opened this issue 1 year ago • 2 comments

Breaking change

Proposed change

Adds new conversation agent that calls Amazon Bedrock service on AWS. With this it is easily possible to interact with many different foundation models from leading AI companies like AI21 Labs, Anthropic, Cohere, Meta, Mistral AI, Stability AI, and Amazon.

Type of change

  • [ ] Dependency upgrade
  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New integration (thank you!)
  • [ ] New feature (which adds functionality to an existing integration)
  • [ ] Deprecation (breaking change to happen in the future)
  • [ ] Breaking change (fix/feature causing existing functionality to break)
  • [ ] Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request: https://github.com/home-assistant/home-assistant.io/pull/32007

Checklist

  • [x] The code change is tested and works locally.
  • [x] Local tests pass. Your PR cannot be merged unless tests pass
  • [x] There is no commented out code in this PR.
  • [x] I have followed the development checklist
  • [x] I have followed the perfect PR recommendations
  • [x] The code has been formatted using Ruff (ruff format homeassistant tests)
  • [x] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • [x] The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • [x] New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • [x] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
  • [x] Untested files have been added to .coveragerc.

To help with the load of incoming pull requests:

paul-enno avatar Mar 04 '24 13:03 paul-enno

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks :+1:

Learn more about our pull request process.

home-assistant[bot] avatar Mar 13 '24 18:03 home-assistant[bot]

This seems very promising, enabling to integrate all models available in Bedrock opens up a huge opportunity and reduces the need for specific integrations for each model. For example, I was just looking for a way to integrate Claude Sonnet until I came across this PR.

martijnrusschen avatar Jun 14 '24 14:06 martijnrusschen

@paul-enno You need to address the comments in reviews by @joostlek and @Shulyaka and then click the "Ready for review"-button for this PR to progress

emontnemery avatar Oct 16 '24 08:10 emontnemery

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. If you are the author of this PR, please leave a comment if you want to keep it open. Also, please rebase your PR onto the latest dev branch to ensure that it's up to date with the latest changes. Thank you for your contribution!

github-actions[bot] avatar Dec 15 '24 16:12 github-actions[bot]

comment to keep it open

paul-enno avatar Dec 15 '24 16:12 paul-enno

Because there hasn't been any activity on this PR for quite some time now, I've decided to close it for being stale.

Feel free to re-open this PR when you are ready to pick up work on it again 👍

../Frenck

frenck avatar Feb 28 '25 21:02 frenck