-
Notifications
You must be signed in to change notification settings - Fork 433
feat: predefined query for extracting tool calls #7438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: predefined query for extracting tool calls #7438
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
I was wondering if the parameters of the tool should also be returned by the query, maybe have that as an option? |
Thank you for this @tinuademargaret! Doing some final testing today with a range of providers |
@RogerHYang - tested from my side with our top 10 providers. All working fine! One note here: the helper exports the user input under the column header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution, @tinuademargaret!
I've added a flag to include function arguments to the result by default.
Issue: Fixes #7158
Description:
This PR introduces a predefined query
get_called_tools
for querying LLM tool calls and their associated input/output messages from span data.Example usage:
This has been tested to work with the top llm providers and framework auto-instrumentations noted in the issue