-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade promptfoo * test: β Add simple math test for 1+1 calculation * feat: π add vision model option to CLI commands * refactor: improve model configuration labels βοΈ * proper format of options * refactor: β»οΈ redirect stdout/stderr in logging module * better passing of test options
- Loading branch information
Showing
15 changed files
with
433 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1244,8 +1244,8 @@ Apache License | |
|
||
The following npm packages may be included in this product: | ||
|
||
- playwright-core@1.48.2 | ||
- playwright@1.48.2 | ||
- playwright-core@1.49.0 | ||
- playwright@1.49.0 | ||
|
||
These packages each contain the following license: | ||
|
||
|
@@ -1702,7 +1702,7 @@ MIT License | |
|
||
The following npm package may be included in this product: | ||
|
||
- genaiscript-vscode@1.75.3 | ||
- genaiscript-vscode@1.76.0 | ||
|
||
This package contains the following license: | ||
|
||
|
@@ -4862,9 +4862,9 @@ The following npm packages may be included in this product: | |
- @tokenizer/token@0.3.0 | ||
- [email protected] | ||
- [email protected] | ||
- genaiscript-core-internal@1.75.3 | ||
- genaiscript-sample@1.75.3 | ||
- genaiscript@1.75.3 | ||
- genaiscript-core-internal@1.76.0 | ||
- genaiscript-sample@1.76.0 | ||
- genaiscript@1.76.0 | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
@@ -8019,7 +8019,7 @@ THE SOFTWARE. | |
|
||
The following npm package may be included in this product: | ||
|
||
- [email protected].5 | ||
- [email protected].6 | ||
|
||
This package contains the following license: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
script({ | ||
title: 'Simple Math Test', | ||
description: 'Validates that the model correctly calculates 1+1.', | ||
group: 'Basic Tests', | ||
temperature: 0, | ||
maxTokens: 10, | ||
tests: [ | ||
{ | ||
files: [], | ||
rubrics: ['output correctly calculates 1+1 as 2'], | ||
facts: [`The model should return "2".`], | ||
asserts: [ | ||
{ | ||
type: 'equals', | ||
value: '2', | ||
}, | ||
], | ||
}, | ||
], | ||
}); | ||
|
||
$`What is 1 + 1?`; |
Oops, something went wrong.