Skip to content
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

add attachments to evaluate #1237

Merged
merged 21 commits into from
Dec 10, 2024
Merged

Conversation

isahers1
Copy link
Contributor

No description provided.

@isahers1
Copy link
Contributor Author

need to add to summary evaluators as well I think

Copy link
Contributor

@baskaryan baskaryan left a comment

Choose a reason for hiding this comment

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

do we need to inspect the evaluator signature ahead of time so that if user passes in just a dataset name/id, we know if we need to load attachments?

python/tests/integration_tests/test_client.py Show resolved Hide resolved
python/langsmith/client.py Outdated Show resolved Hide resolved
@isahers1 isahers1 marked this pull request as ready for review December 6, 2024 23:37
inspect.signature(
e.__call__ if hasattr(e, "__call__") else e
).parameters.values()
if callable(e) or hasattr(e, "__call__")
Copy link
Contributor

Choose a reason for hiding this comment

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

ooc what kinds of objects have __call__ but aren't callable?

@agola11 agola11 merged commit c841ec6 into isaac/multipartstuff Dec 10, 2024
5 checks passed
@agola11 agola11 deleted the isaac/addattachmentsevaluator branch December 10, 2024 20:29
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.

4 participants