v10.0.0
·
120 commits
to main
since this release
10.0.0
Features
- Introduced
AsyncDocumentIndexClientandAsyncDocumentIndexRetrieveras drop-in replacements for their blocking counterparts, enabling coroutine-based, non-blocking document indexing and retrieval.
Fixes
InMemoryDatasetRepositorynow has a more descriptive error message when creating a dataset fails due to an ID clash.StudioClientnow deserializes and serializes examples while maintaining type information, which was previously dropped.RunRepositoryandEvaluationRepositorynow more accurately reflect their actual return types in their signatures. Previously, it was not obvious that failed examples could be returned.FileTracer.tracesnow uses "utf-8" encoding to read the persisted trace file. Previously, the machines default encoding was used, which could lead to a mismatch between the encoding used for writing and reading.
Breaking Changes
StudioClientnow handles project_id as a string instead of an integer. This is only relevant when you handle project ids (not names) manually.InMemoryDatasetRepositorynow returns the exact types given by users when retrievingExample. Previously, it disregarded the types it was given and returned what was saved.- This is in line with how the other repositories work.
InMemoryDatasetRepository,InMemoryRunRepository,InMemoryEvaluationRepository, andInMemoryAggregationRepositorynow either return the exact types given by users when retrieving example-related data or fail. Specifically, this means that passing the wrong type when retrieving data will now fail with aValidationError. Previously, the repositories disregarded the types they were given and returned whatever object was saved.- This is in line with how the other repositories work.
EloQaEvaluationLogicnow has an expected output type ofNoneinstead ofSingleChunkQaOutput. The information was unused.- If you have pipelines that define data to be processed by this logic, or if you subclass from this specific logic, you may need to adapt it.
log_probsin theCompletionInputof thedo_runmethod been set to 20 instead of the prior value of 30
- The legacy
Trace Viewerhas now been removed along with all references to it.
Full changelog: v9.1.0...v10.0.0