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

[OPIK-148] Implement batching for feedback scores, update and add new tests #1008

Merged

Conversation

alexkuzmik
Copy link
Collaborator

@alexkuzmik alexkuzmik commented Jan 9, 2025

Details

Feedback scores for spans and traces can now be batched in the background.
Implementation detail note: since SDK already had methods for logging batches of scores, current PR introduced merging those batches into a bigger one. When this big batch is released - it get's a flag supports_batching=False so the streamer knows its a batch that shouldn't be merged with anything else.

Testing

New unit tests have been added, slightly updated existing e2e tests.

Documentation

No documentation changes needed.

@alexkuzmik alexkuzmik requested a review from a team as a code owner January 9, 2025 11:19
@alexkuzmik alexkuzmik marked this pull request as draft January 9, 2025 12:00
@alexkuzmik alexkuzmik marked this pull request as ready for review January 9, 2025 17:21
japdubengsub
japdubengsub previously approved these changes Jan 10, 2025
@alexkuzmik alexkuzmik merged commit 3d2492e into main Jan 10, 2025
41 checks passed
@alexkuzmik alexkuzmik deleted the OPIK-148-sdk-implement-batching-span-trace-feedback-scores branch January 10, 2025 19:48
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