Add bt datasets command for managing remote datasets#104
Open
Parker Henderson (parkerhendo) wants to merge 4 commits intomainfrom
Open
Add bt datasets command for managing remote datasets#104Parker Henderson (parkerhendo) wants to merge 4 commits intomainfrom
bt datasets command for managing remote datasets#104Parker Henderson (parkerhendo) wants to merge 4 commits intomainfrom
Conversation
bt datasets command for managing remote datasets
|
Latest downloadable build artifacts for this PR commit
Available artifact names
|
3085a64 to
fa97620
Compare
Contributor
just uploads the id I think the PR description is a bit out of date. There's no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Added a new
bt datasetscommand for managing remote Braintrust datasets with full CRUD operations and data synchronization capabilities.What changed?
Added comprehensive dataset management functionality:
bt datasetscommand with subcommands:list,create,upload/add/append,refresh,view, anddelete--file), inline JSON (--rows), or stdin--id-field metadata.case_id) and validates dataset row structureHow to test?
Run the dataset commands:
The test suite includes comprehensive fixtures testing various input methods and operations.
Why make this change?
This enables users to manage Braintrust datasets directly from the CLI without requiring local sync artifacts, providing a streamlined workflow for dataset creation, updates, and maintenance with support for deterministic refresh operations and flexible input formats.