Changelog
Generated from CHANGELOG.md in the project repository. Never maintained twice.
Unreleased
- added
Signaturetrait and#[derive(TypedLm)]with#[lm(output, name, description, validate)]. - added
Programwith strategy selection, repair of invalid answers,runandexecute. - addedValidation pipeline: tolerant JSON extraction, schema validation with paths, custom rules.
- added
OpenAiCompatibleprovider with four strategies, schema dialects and transport retries. - addedEvaluation: datasets with partial labels,
ExactMatch,FieldAccuracy, reports with confidence intervals. - addedTracing spans with OpenTelemetry GenAI field names.
- addedRegression tests:
Baselinestores a report and compares later runs example by example,comparefor paired comparisons,Report::require_scoreagainst the interval. Reports carry per-example scores and a dataset fingerprint and can be read back. - added
evaluate_withandEvalOptions: several runs per example, with a count of examples whose runs agree. - added
typedlm::testing:TestProvider(fixed or schema-valid answers, recorded requests),FnProvider,RecorderandReplayfor offline tests. - added
Providerfor&PandArc<P>;Request,ResponseandCapabilitiesserialise. - added
typedlm-cli: theEvalsharness (runacross models with a matrix,compare,history, snapshots under.typedlm/evaluations) and thetypedlmbinary for stored reports. - added
Report::labelfor the run's configuration, e.g. the requested model. - addedWorked examples:
Program::demonstration, sent before the input as user/assistant turns. - addedCompiled programs:
Program::compile,CompiledProgram(JSON artefact with signature hash and optional provenance), loading with checks of signature and demonstrations. - added
ProgramimplementsDebugwithout showing the provider. - addedOptimizer (feature
optimize):optimize_few_shotchooses demonstrations by budgeted local search on a validation set; candidates fromdemonstrations_from_labelsorbootstrap_demonstrations; result asCompiledProgramwith a paired comparison. - added
optimize_instructions: a teacher model proposes instructions from the program's mistakes on a validation set; better proposals are kept. The teacher is a TypedLM program itself (ProposeInstructions). - fixedReports, baselines and artefacts read back numbers exactly (
serde_jsonwithfloat_roundtrip).