- Update
modelfusion
- Fix
withCustomTest
assertions failing (again).
- Fix
withCustomTest
assertions failing (again).
- Fix
withCustomTest
assertions failing.
- Fix
withCustomTest
output generic parameter.
- Change
ExampleDataset
generic param to a normal type instead of a Zod schema.
- Try to fix calculateCost function.
- Fix small bug in
CandidatePrompt
class.
- Add prompt
calculateCost
method to calculate the cost of input tokens. - Add support for passing ModelFusion
Run
objects to theprompt.run
method.
- Fix function calling misbehaving in tests (again).
- Fix function calling misbehaving in tests.
- Add
onlyTestMainPrompt
option to test methods.
- Fix model params not assigned properly (again).
- Fix model params not assigned properly.
- Fix options not passed to tests.
- Add params to
prompt.chooseCandidatePrompt
function.
- Add
prompt.chooseCandidatePrompt
function.
- Support OpenAI instruct call stop sequences.
- Export
ExampleDataset
type. - Support basic string prompts.
- Better instruct model support.
- Export
toCamelCase
string utility function. - Add assertions rest parameter to
withCustomTest
function.
- Export more CLI dialog helpers.
- Support adding custom CLI dialog commands for each prompt using the
prompt.withCommand()
function.
- Remove required
state
field from thePrompt
class. - Improve typing.
- Add support for custom prompt run function in tests. See
prompt.withCustomTest
.
- More CLI table fixes.
- More CLI table fixes.
- More CLI table fixes.
- Fix test results table cell length limit.
- Fix test results table not showing up.
- Fix back command in CLI dialogs.
- Allow repeating tests.
- Fix running tests by name not working.
- Changed
skipCache
touseCache
with default oftrue
intest
function.
- Fix bug where
confirm
function was undefined.
- Fixed more ESM madness.
- Forgot to run build... :D
- Fixed
package.json
to publish as commonjs.
- Fixed a collection of bugs and inconveniences in the CLI dialog menus.
- Initial release 🎉.