-
Notifications
You must be signed in to change notification settings - Fork 880
Add doc for reading experiment results locally #1361
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
Conversation
|
Mintlify preview ID generated: preview-locale-1762795591-e17c51c |
|
|
||
| ## Iterate over evaluation results | ||
|
|
||
| The @[`evaluate()`][Client.evaluate] function returns an iterator when called with `blocking=False`. This allows you to process results as they're produced: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would explain a little bit about what blocking does?
I think blocking=True returns an iterator too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jacoblee93 Yes! It is, good point. I've added in detail on both blocking=True / False and changed up one of the latter examples.
d5fc2ff to
d5e633d
Compare
|
Mintlify preview ID generated: preview-locale-1762973887-039afea |
| - `result["example"].inputs`: The input values. | ||
| - `result["example"].outputs`: The reference outputs (if any). | ||
|
|
||
| ## Example: Implement a quality gate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit/suggestion: move the example titles to H3, i.e., ## Example and ### Implement a quality gate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, great!
|
Mintlify preview ID generated: preview-locale-1763060172-dcaced8 |
Fixes DOC-354
Add a page for reading local experiment results from evaluate response.
Also included further link refs for SDK in link_map.py.
Preview
https://langchain-5e9cc07a-preview-locale-1762795591-e17c51c.mintlify.app/langsmith/read-local-experiment-results