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

Add delete_examples to Client library #1272

Open
Joshua-Briggs opened this issue Nov 29, 2024 · 1 comment · May be fixed by #1279
Open

Add delete_examples to Client library #1272

Joshua-Briggs opened this issue Nov 29, 2024 · 1 comment · May be fixed by #1279

Comments

@Joshua-Briggs
Copy link

Feature request

Currently there is a function called delete_example, which takes in only one example at a time, but for me I want to get rid of all my examples, I've also added a function that would basically do that and will also show details in-case your interested in adding it to the lib:
Screenshot 2024-11-29 133124

Motivation

Let's say your working with a big dataset, and you want to use only parts of that dataset at a time, For me, I don't want to have repeat examples going into the same evaluation function, so this eliminates that.

@hinthornw
Copy link
Collaborator

Bulk examples deletion makes sense (we have an API endpoint, just need the SDK sugar), but not for evaluating on a subset of the dataset.

For that you'd just want to pick which examples to evaluate.

https://docs.smith.langchain.com/evaluation/how_to_guides/dataset_subset#evaluate-on-a-filtered-view-of-a-dataset

@hinthornw hinthornw linked a pull request Dec 3, 2024 that will close this issue
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 a pull request may close this issue.

2 participants