Skip to content

Commit 9e5e5d3

Browse files
authored
feat: WatsonXChatGenerator - support Tools and use the StreamingChunk fields (#2902)
* feat: Update WatsonXChatGenerator to use the StreamingChunk fields * fix: Formatting issue * feat(watsonx): Add support for tool calling * fix: Fix dict key error bugs and update existing tests * Increase minimum version required * test: Add tests for tool calling and improve robustness of tool calling * test: Add test with real chunks and add more chunk metadata * Use public method for converting to openai dict format * Fix tool call parsing errors * Fix type error
1 parent 1b886d3 commit 9e5e5d3

4 files changed

Lines changed: 607 additions & 95 deletions

File tree

integrations/watsonx/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.12",
2323
"Programming Language :: Python :: 3.13",
2424
]
25-
dependencies = ["haystack-ai>=2.17.1", "ibm-watsonx-ai>=1.3.26", "pandas>=2.2.3"]
25+
dependencies = ["haystack-ai>=2.24.1", "ibm-watsonx-ai>=1.3.26", "pandas>=2.2.3"]
2626

2727
[project.urls]
2828
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/watsonx#readme"

0 commit comments

Comments
 (0)