v4.0.1
Breaking Changes
- Remove the
Trace
class, as it was no longer used. - Renamed
example_trace
toexample_tracer
and changed return type toOptional[Tracer]
. - Renamed
example_tracer
tocreate_tracer_for_example
. - Replaced langdetect with lingua as language detection tool. This mean that old thresholds for detection might need to be adapted.
New Features
Lineages
now containTracer
for individualOutput
s.convert_to_pandas_data_frame
now also creates a column containing theTracer
s.run_dataset
now has a flagtrace_examples_individually
to createTracer
s for each example. Defaults to True.- Added optional
metadata
field toExample
.
Fixes
- ControlModels throw a warning instead of an error in case a not-recommended model is selected.
- The
LimitedConcurrencyClient.max_concurrency
is now capped at 10, which is its default, as the underlyingaleph_alpha_client
does not support more currently. - ExpandChunk now works properly if the chunk of interest is not at the beginning of a very large document. As a consequence,
MultipleChunkRetrieverQa
now works better with larger documents and should return fewerNone
answers.
Full Changelog: v3.0.0...v4.0.1