You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional infos:
Also this integration could be modernized with the new "Converse" API from Bedrock, that allow cross-model integration (same API for all providers), thus making easier tools calling. https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html
To use tools with a model you can use the Converse API (Converse or ConverseStream). The example code in this topic uses the Converse API to show how to use a tool that gets the most popular song for a radio station. For general information about calling the Converse API, see Use the Converse API.
Describe the bug
When trying to use function calling with AWS Bedrock, the current integration ignore the tools keyword argument.
08/13/2024 01:25:03 PM Parameter 'tools' is not allowed and will be ignored.
Lines responsible of this error:
Describe your environment (please complete the following information):
amazon-bedrock-haystack==0.9.3
Additional infos:
Also this integration could be modernized with the new "Converse" API from Bedrock, that allow cross-model integration (same API for all providers), thus making easier tools calling.
https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html
The current integration with the kwargs
tools
is part of the oldInvokeModel
inference operation. But this would be a futur concern.The text was updated successfully, but these errors were encountered: