is there no way to update a dataset or delete via code?
You can delete a dataset via code using the Phoenix REST API endpoint DELETE /v1/datasets/{id} or the corresponding client method; this is fully supported and documented for both Python and TypeScript clients. However, while you can create and append to datasets programmatically, there is currently no official API or SDK method to update (edit) an existing dataset or its examples鈥攅diting and deleting individual examples is only available in the UI, not via the SDK or REST API at this time, though there are open feature requests for this functionality. For deletion, see the REST API docs and API reference. For updates, see this GitHub issue and another discussion confirming the limitation. Would you like more detail or code examples for deletion?Sources:
- REST API: Datasets
- GitHub Issue: dataset management from SDK
- GitHub Issue: dataset versioning and editing
馃挕聽Hint: Mention RunLLM in the thread for followups.
would love the delete / update functionality to be added to the sdk!
added a ticket
