API/SDK: add bulk dataset item insert to improve versioning #11567
VildMedPap
started this conversation in
Ideas
Replies: 1 comment
-
|
Agree! This is helpful to add. For the record, CSV upload or duplicating a dataset already works in this way. Will share here when we build a POST API for multiple dataset items. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature or potential improvement
You support version history for dataset items, but since we can only insert items one by one via the API / SDK, your platform creates a new version for every single insert. Version history would be much more useful if versions were tied to bulk or batch inserts instead of individual ones.
To achieve that, you would need to add bulk or batch dataset item insert support to the API / SDK. As an alternative, you could group single inserts into one version on your side if they happen within a short time window, but that feels brittle. So my suggestion is to simply support bulk or batch inserts in the API / SDK, similar to what you already allow via the Langfuse UI.
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions