Skip to content

Conversation

@katmayb
Copy link
Contributor

@katmayb katmayb commented Nov 10, 2025

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

@katmayb katmayb requested a review from lnhsingh as a code owner November 10, 2025 17:24
@github-actions github-actions bot added langsmith For docs changes to LangSmith python For content related to the Python version of LangChain projects docs-infra labels Nov 10, 2025
@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-locale-1762795591-e17c51c

@katmayb katmayb requested a review from jacoblee93 November 10, 2025 17:33

## 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:
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@katmayb katmayb force-pushed the local-experiment-results branch from d5fc2ff to d5e633d Compare November 12, 2025 18:57
@github-actions
Copy link
Contributor

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
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, great!

@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-locale-1763060172-dcaced8

@katmayb katmayb merged commit e4b461a into main Nov 14, 2025
11 checks passed
@katmayb katmayb deleted the local-experiment-results branch November 14, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-infra langsmith For docs changes to LangSmith python For content related to the Python version of LangChain projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants