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
Describe the bug
From v2.9.0 tool calls and message texts are separated in the ChatMessage structure. However, OpenAPIServiceConnector has not been updated to support the new structure.
Error message
ValueError: The provided ChatMessage has no text
Expected behavior OpenAPIServiceConnector should retrieve the tool call information from the tool_calls attribute rather than from the text attribute.
To Reproduce
Try and use OpenAPIServiceConnector in conjunction with the v2.9.0 ChatMessage structure.
Hi @anakin87, thanks for your swift reply. It's true that this component is something of a nice to have, but it's a very useful one so it would be a shame to see it disappear.
The point is that OpenAPI is a standard way of describing APIs that extends beyond the context of LLMs and AI. This means that in a large organisation, when we as the team responsible for AI and Machine Learning want to make REST services exposed by other teams available for function calling, we can simply ask the other team to send us the OpenAPI description of their service and load that description into this component. It typically works more or less immediately without significant changes and without us needing to develop a detailed knowledge of the service in question.
What I meant to say is that in the future we may replace this component with a somewhat different, revised and improved version, but we are not going to remove the feature.
Describe the bug
From v2.9.0 tool calls and message texts are separated in the
ChatMessage
structure. However,OpenAPIServiceConnector
has not been updated to support the new structure.Error message
ValueError: The provided ChatMessage has no text
Expected behavior
OpenAPIServiceConnector
should retrieve the tool call information from thetool_calls
attribute rather than from thetext
attribute.To Reproduce
Try and use
OpenAPIServiceConnector
in conjunction with the v2.9.0ChatMessage
structure.FAQ Check
System:
The text was updated successfully, but these errors were encountered: