langsmith-sdk icon indicating copy to clipboard operation
langsmith-sdk copied to clipboard

Test Run Exports

Open chasemcdo opened this issue 11 months ago • 5 comments

Feature request

The ability to export completed test runs in a similar manner to how you can export raw datasets.

Motivation

As a researcher or anyone hoping to present finding or evaluation metrics to other parties, it'd be great if these test results could be exported to a CSV file as can be done with raw datasets. I love the feature for datasets and is hopefully a small change to reuse that functionality for tests themselves.

I'm specifically working on a paper where we are hoping to use LLM evaluators for assessing different prompt versions and would love to be able to export the results from LangSmith for use in said paper.

Thanks!

chasemcdo avatar Mar 21 '24 14:03 chasemcdo

Would either of these examples unblock you?

We plan to implement in the UI but have a few other priorities to resolve first before getting to this

hinthornw avatar Mar 21 '24 20:03 hinthornw

Yep, Thanks @hinthornw ! Would also be great to have a button in the ui eventually, but this does the trick for now. Thank you!

chasemcdo avatar Mar 21 '24 20:03 chasemcdo

Hi - Sorry if this is not the right place to ask - I am trying to download the result of annotations (or feedback labels?) our human evaluators have marked in the Langsmith UI, but seems list_feedback doesn't include those results. Is this intended? Or maybe I am using it the wrong way?

junyu avatar Apr 15 '24 08:04 junyu

list_feedback does include those! Do you have a code snippet?

hinthornw avatar May 02 '24 16:05 hinthornw

list_feedback does include those! Do you have a code snippet?

Thank you for your assistance and sorry for the delayed response. The Langsmith library is now functioning properly after I updated it to the latest version.

junyu avatar Jun 11 '24 05:06 junyu