-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OPIK-531] error tracking sdk implement error tracking in evaluate ca…
…lls (#855) * Draft error tracking * Implement error tracking for opik.track decorator, added new unit tests * Update tests * Fix non-integration type hints * Update decorator-based integrations * Update anthropic and openai tests to include error_info when LLM provider raises an exception * Fix lint errors * Update langchain integration. Add new test that handles error coming from openai * Fix tests * Fix langchain integration to properly handle errors * Update pre-commit * Add show-fixes argument to ruff * Add verbose flag for ruff * Remove unused fixture * Move openai configuration check fixture to conftest for library integration tests * Fix lint errors * Remove verbose flag for ruff * Add diff flag for ruff * Remove --show-fixes flag for ruff * Reorder imports * Add noqa for ANY_STRING import * Fix lint error * Fix example * Add error logging to evaluations * Add ErrorInfoDict type * Fix lint errors * Add missing docstrings * Update error_info_collector * Remove error info from update_current_span/trace functions. Update the type hint in scorer.py * Add unit test for evaluate with failing task
- Loading branch information
1 parent
8f75709
commit c4acf28
Showing
3 changed files
with
90 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters