Area(s)
area:gen-ai
What's missing?
As a follow-up action item from PR #2702, enhance tool-definitions based on the feedback below -
-
Define a dedicated JSON schema for the tool_definitions attribute (similar to what we did for completion spans), rather than leaving it as a generic any type
-
Treat tool definitions as a form of instruction. For models without native tool-calling support, the information in tool_definitions could be incorporated into system instructions, with the model asked to generate JSON accordingly.
Describe the solution you'd like
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Area(s)
area:gen-ai
What's missing?
As a follow-up action item from PR #2702, enhance tool-definitions based on the feedback below -
Define a dedicated JSON schema for the tool_definitions attribute (similar to what we did for completion spans), rather than leaving it as a generic any type
Treat tool definitions as a form of instruction. For models without native tool-calling support, the information in tool_definitions could be incorporated into system instructions, with the model asked to generate JSON accordingly.
Describe the solution you'd like
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.