-
Notifications
You must be signed in to change notification settings - Fork 88
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
python[minor]: manually set test case inputs/outputs #1362
base: main
Are you sure you want to change the base?
Conversation
I like the functionality. I kinda like using a single module/object to access the methods, like
or something |
This comment was marked as outdated.
This comment was marked as outdated.
I like |
This comment was marked as outdated.
This comment was marked as outdated.
why is it "reference" input vs target, expect, etc |
…angsmith-sdk into bagatur/rfc_set_test_vals
"reference outputs" is what we call this when defining evaluators for historically this decision was made bc target/expected seemed a bit too narrow/prescriptive when this can be any information relevant for evaluating outputs, not necessarily the actual expected outputs. eg could just be agent trajectories not actual agent outputs. but see the argument that target/expected are more common terms and it wasn't worth us introducing a new term for such a small nuance |
Log pytest tests to LangSmith. Useful for:
Install
Simple usage
Run
Results
Advanced usage
Run using pytest-xdist to parallelize (
pip install pytest-xdist first
)Results: https://dev.smith.langchain.com/public/cea0e7fd-2d27-47d1-8ada-141069acdf0d/d