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
This has to do with the way that the Google Generators are handling function calling (this also affects vertex). Other generators simply return a string with the message and the meta (which might contain the function data).
If the output type is changed to List[str], the error will go away, but we lose out on the function call return data. It can be added to meta if we also add meta as an output type.
I think there are three options:
Remove the function call part and redirect users to the Chat versions which can better handle functions through the use of roles
Store the function return in the meta and leave it to the user to extract it as they please.
Temporarily remove function calling until haystack-experimental's version of Tool usage is brought to main
Describe the bug
I encountered the following error when connecting
GoogleAIGeminiGenerator
with theAnswerBuilder
component.To Reproduce
Describe your environment (please complete the following information):
The text was updated successfully, but these errors were encountered: