Intelligence Layer Release 5.0.0
What's new with version 5.0.0
5.0.0
Dear developers, we're excited to announce the latest release of the Intelligence Layer, packed with breaking changes, new features, and fixes to improve your development experience.
Breaking Changes
In this release, we've made two significant changes to the RunRepository
class:
RunRepository.example_output
now returnsNone
and prints a warning when there is no associated record for the givenrun_id
, instead of raising aValueError
.RunRepository.example_outputs
now returns an empty list and prints a warning when there is no associated record for the givenrun_id
, instead of raising aValueError
.
These changes aim to provide a more robust and fault-tolerant API, allowing your applications to handle unexpected scenarios more gracefully.
New Features
This release brings several exciting features to the table:
-
Resume failed runs: You can now resume a failed
Runner.run_dataset
execution by setting theresume_from_recovery_data
flag toTrue
and callingRunner.run_dataset
again. This feature is limited to runs that failed with an exception that did not crash the whole process/kernel forInMemoryRunRepository
basedRunners
. ForFileRunRepository
basedRunners
, even runs that crashed the whole process can be resumed. -
Skip examples: The
DatasetRepository.examples
method now accepts an optionalexamples_to_skip
parameter, allowing you to skipExamples
with specific IDs. -
New notebook: We've added a new notebook,
how_to_resume_a_run_after_a_crash
, to help you get started with resuming failed runs.
Fixes
We've also addressed a few issues in this release:
First of all, we removed dependencies not needed for making use of the IL wheel in your project.
Additionally, we added default values for labels and metadata for PartialEvaluationOverview.
For a detailed list, see our GitHub release page.
Take advantage of these new features and improvements by upgrading to the latest version. Happy coding!