Skip to content
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

refactor(openai): rename functions to tools #1504

Closed
wants to merge 5 commits into from

Conversation

achang97
Copy link
Contributor

@achang97 achang97 commented Jul 9, 2024

  • I have added tests that cover my changes.
  • If adding a new instrumentation or changing an existing one, I've added screenshots from some observability platform showing the change.
  • PR name follows conventional commits format: feat(instrumentation): ... or fix(instrumentation): ....
  • (If applicable) I have updated the documentation accordingly.

@@ -138,10 +183,6 @@ async def test_open_ai_function_calls_tools_streaming(
open_ai_span.attributes[f"{SpanAttributes.LLM_COMPLETIONS}.0.tool_calls.0.id"],
str,
)
assert (
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dropped these checks because these tests are checking the LLM_COMPLETIONS output and the functionality for checking LLM_TOOLS shouldn't differ

@nirga
Copy link
Member

nirga commented Jul 19, 2024

This introduces a breaking change, and given that we have another breaking change coming soon which is the approved semantic convention I don't think we should merge this as of now.

@nirga nirga closed this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants