-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
promptfoo / redteam #1114
promptfoo / redteam #1114
Changes from 22 commits
4e84038
ec80141
e420126
ace7a05
dae8f68
aebee32
9192f6f
6aecf5c
421c50d
536d817
16fadd1
184be71
fec5743
f80a2ac
38035af
1a1d00e
13cb79c
e697408
72b1a55
74c558b
61d47e8
55d2deb
0fd588f
9b6cd48
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,8 +84,8 @@ | |
|
||
## `test` | ||
|
||
``` | ||
Usage: genaiscript test [options] [command] | ||
Usage: genaiscript test|eval [options] [command] | ||
|
||
Options: | ||
-h, --help display help for command | ||
|
@@ -106,9 +106,10 @@ | |
|
||
Arguments: | ||
script Script ids. If not provided, all scripts | ||
are tested | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Options should be grouped logically and consistently ordered. Consider moving
|
||
|
||
Options: | ||
--redteam run red team tests | ||
-p, --provider <string> Preferred LLM provider aliases (choices: | ||
"openai", "azure", "azure_serverless", | ||
"azure_serverless_models", "anthropic", | ||
|
@@ -144,9 +145,10 @@ | |
``` | ||
Usage: genaiscript test list [options] | ||
|
||
List available tests in workspace | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Options should be grouped logically and consistently ordered. Consider moving
|
||
|
||
Options: | ||
--redteam list red team tests | ||
-g, --groups <groups...> groups to include or exclude. Use :! prefix to | ||
exclude | ||
-h, --help display help for command | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command usage should be consistent. Consider using a single pipe symbol (
|
) to separate the commands for clarity.