Skip to content

Clean up SpanQuery and related APIs #1287

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

Merged
merged 4 commits into from
Mar 28, 2025
Merged

Conversation

dmontagu
Copy link
Contributor

Makes some changes to the SpanQuery API (evaluator got renamed to HasMatchingSpan) and other improvements suggested by Alex

Copy link
Contributor

hyperlint-ai bot commented Mar 28, 2025

PR Change Summary

Refactored the SpanQuery API and made related improvements based on feedback.

  • Renamed the evaluator to HasMatchingSpan for clarity.
  • Updated the method for finding processing spans in the span tree.
  • Simplified the error query handling in the SpanTracingEvaluator.

Modified Files

  • docs/evals.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

Copy link

github-actions bot commented Mar 28, 2025

Docs Preview

commit: 21f9568
Preview URL: https://47b6da01-pydantic-ai-previews.pydantic.workers.dev

@dmontagu dmontagu merged commit 3679b02 into main Mar 28, 2025
17 checks passed
@dmontagu dmontagu deleted the dmontagu/cleanup-evals-apis branch March 28, 2025 23:15
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 this pull request may close these issues.

1 participant