Skip to content

v4.0.1

Compare
Choose a tag to compare
@FelixFehse FelixFehse released this 11 Jun 09:32
· 245 commits to main since this release
5c82bd4

Breaking Changes

  • Remove the Trace class, as it was no longer used.
  • Renamed example_trace to example_tracer and changed return type to Optional[Tracer].
  • Renamed example_tracer to create_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 contain Tracer for individual Outputs.
  • convert_to_pandas_data_frame now also creates a column containing the Tracers.
  • run_dataset now has a flag trace_examples_individually to create Tracers for each example. Defaults to True.
  • Added optional metadata field to Example.

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 underlying aleph_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 fewer None answers.

Full Changelog: v3.0.0...v4.0.1