v0.4.0
Breaking Changes
Evaluator
methods changed to support asynchronous processing for human eval. To run everything at once, changeevaluator.evaluate()
calls toevaluator.run_and_evaluate
- An evaluation also now returns a
EvaluationOverview
, with much more information about the output of the evaluation.
- An evaluation also now returns a
EmbeddingBasedClassify
: init arguments swapped places, fromlabels_with_examples, client
toclient, label_with_examples
PromptOutput
forInstruct
tasks now inherits fromCompleteOutput
to make it easier to use more information about the raw completion response.
New Features
- New
IntelligenceApp
builder to quickly spin up a FastAPI server with yourTask
s - Integration with Argilla for human evaluation
CompleteOutput
andPromptOutput
now support getting thegenerated_tokens
in the completion for downstream calculations.- Summarization use cases now allow for overriding the default model
- New
RecursiveSummarizer
allows for recursively calling one of theLongContextSummarize
tasks until certain thresholds are reached
Fixes
LimitedConcurrencyClient
'sfrom_token
method now supports a custom API host
Full Changelog: v0.3.0...v0.4.0