Skip to content

Commit

Permalink
feat: Update AmazonBedrockChatGenerator to use Converse API (BREAKING…
Browse files Browse the repository at this point in the history
… CHANGE) (#1219)

* Initial commit

* Update models tested

* Add tool support

* Update Amazon Bedrock model names in tests

* Support for tool streaming

* Format

* Minot test updates

* Lint

* Remove truncate init parameter

* Pull try down

* Add extract_replies_from_response unit test

* Add process_streaming_response unit test

* Lint

* Small test fix

* Use EventStream from botocore

* Update integrations/amazon_bedrock/src/haystack_integrations/components/generators/amazon_bedrock/chat/chat_generator.py

Co-authored-by: Stefano Fiorucci <[email protected]>

* Update integrations/amazon_bedrock/src/haystack_integrations/components/generators/amazon_bedrock/chat/chat_generator.py

Co-authored-by: Stefano Fiorucci <[email protected]>

---------

Co-authored-by: Stefano Fiorucci <[email protected]>
  • Loading branch information
vblagoje and anakin87 authored Dec 10, 2024
1 parent d22deba commit df14a97
Show file tree
Hide file tree
Showing 3 changed files with 467 additions and 1,100 deletions.
Loading

0 comments on commit df14a97

Please sign in to comment.