File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ package openai
2+
3+ import (
4+ "github.com/1Password/shell-plugins/sdk"
5+ "github.com/1Password/shell-plugins/sdk/needsauth"
6+ "github.com/1Password/shell-plugins/sdk/schema"
7+ "github.com/1Password/shell-plugins/sdk/schema/credname"
8+ )
9+
10+ func OpenAIEvalSetCLI () schema.Executable {
11+ return schema.Executable {
12+ Name : "OpenAI Eval Set CLI" ,
13+ Runs : []string {"oaievalset" },
14+ DocsURL : sdk .URL ("https://github.com/openai/evals/blob/main/README.md" ),
15+ NeedsAuth : needsauth .IfAll (
16+ needsauth .NotForHelpOrVersion (),
17+ needsauth .NotWithoutArgs (),
18+ ),
19+ Uses : []schema.CredentialUsage {
20+ {
21+ Name : credname .APIKey ,
22+ },
23+ },
24+ }
25+ }
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ func New() schema.Plugin {
1818 Executables : []schema.Executable {
1919 OpenAICLI (),
2020 OpenAIEvalsCLI (),
21+ OpenAIEvalSetCLI (),
2122 },
2223 }
2324}
You can’t perform that action at this time.
0 commit comments