Skip to content

Conversation

@doronkopit5
Copy link
Contributor

@doronkopit5 doronkopit5 commented Jan 2, 2025

  • [BREAKING] Remove report_score

  • Introduce Client

  • Add user_feedback functionality

  • 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.

doronkopit5 and others added 12 commits December 30, 2024 09:30
- Introduced a new static method `report_labeling` in the Traceloop class to facilitate reporting labeling data with detailed parameters.
- Enhanced type hints across the SDK, including the use of `Optional` for several parameters and improved type definitions for API requests.
- Updated the Fetcher class to support posting to a new API endpoint with better error handling.
- Refactored existing code for clarity and consistency, including adjustments to environment variable handling and method signatures.
@doronkopit5 doronkopit5 marked this pull request as ready for review January 6, 2025 09:48
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. python Pull requests that update Python code testing labels Jan 6, 2025
signature = generate_signature(pirate_joke)
print(pirate_joke + "\n\n" + signature)

Traceloop.get().annotation.create(
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Traceloop.get().annotation.create(
client = Traceloop.get()
client.annotation.create(

just for the mental model of creating a client (and stop using this static impl)

@doronkopit5 doronkopit5 merged commit 8b0ad84 into main Jan 13, 2025
9 checks passed
@doronkopit5 doronkopit5 deleted the dk/labelings branch January 13, 2025 11:19
nina-kollman pushed a commit that referenced this pull request Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code size:L This PR changes 100-499 lines, ignoring generated files. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants