Commit 9e5e5d3
authored
* 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
- src/haystack_integrations/components/generators/watsonx/chat
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments