Skip to content

support custom serialization for datasets, remote evals, and scorers#136

Open
Andrew Kent (realark) wants to merge 1 commit into
mainfrom
ark/dataset-generics
Open

support custom serialization for datasets, remote evals, and scorers#136
Andrew Kent (realark) wants to merge 1 commit into
mainfrom
ark/dataset-generics

Conversation

@realark

@realark Andrew Kent (realark) commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

in several places of the codebase we lost type info due to erasure which made it impossible to ser/de complex objects which fetching json from the braintrust api. Our examples used simple types jackson could handle out of the box, which is why we didn't hit this before. This change introduces type info into the public apis for fetching objects from braintrust. It also includes options for custom serializers (and by default uses the global braintrust mapper)

fixes #111

affected:

  • remote datasets
  • remote scorers
  • devserver

@realark Andrew Kent (realark) force-pushed the ark/dataset-generics branch 2 times, most recently from 881a8c7 to 6abf086 Compare July 7, 2026 07:32
@realark Andrew Kent (realark) changed the title fix generics for brainstore-backed datasets support custom serialization for datasets, remote evals, and scorers Jul 7, 2026
@realark Andrew Kent (realark) marked this pull request as ready for review July 7, 2026 08:08
@realark Andrew Kent (realark) force-pushed the ark/dataset-generics branch 6 times, most recently from 9c17005 to a3d2460 Compare July 7, 2026 20:10
in several places of the codebase we lost type info due to erasure which made it impossible to ser/de complex objects which fetching json from the braintrust api. Our examples used simple types jackson could handle out of the box, which is why we didn't hit this before. This change introduces type info into the public apis for fetching objects from braintrust. It also includes options for custom serializers (and by default uses the global braintrust mapper)

affected:
- remote datasets
- remote scorers
- devserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant