Skip to content

Commit

Permalink
feat: AmazonBedrockChatGenerator - add tools support (#1304)
Browse files Browse the repository at this point in the history
* AmazonBedrockChatGenerator - add tools support

* Remove test not needed

* Add actual pipeline integration test with tools

* Extract instance functions to free standing

* No need to test serde on all models

* Add serde test

* Fix serde test

* Lint

* Always pack thinking + tool call into single ChatMessage

* Revert accidental changes

* Method renaming for Python Zen

* Add class pydocs

* Don't run pipeline in serde test

* Update test_serde_in_pipeline test

* Lint
  • Loading branch information
vblagoje authored and Amnah199 committed Jan 28, 2025
1 parent e6c4303 commit 3655ded
Show file tree
Hide file tree
Showing 3 changed files with 573 additions and 194 deletions.
1 change: 1 addition & 0 deletions integrations/amazon_bedrock/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ dependencies = [
"pytest",
"pytest-rerunfailures",
"haystack-pydoc-tools",
"jsonschema",
]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
Expand Down
Loading

0 comments on commit 3655ded

Please sign in to comment.