Projects STRLCPY aix Commits 31632b4d
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    examples/main.go
    skipped 7 lines
    8 8  )
    9 9   
    10 10  func main() {
    11  - options := runner.ParseOptions()
     11 + options := runner.Options{
     12 + OpenaiApiKey: "API-KEY",
     13 + Prompt: "what is the capital of france?",
     14 + Gpt3: true,
     15 + Gpt4: false,
     16 + Update: false,
     17 + DisableUpdateCheck: false,
     18 + Output: "out.txt",
     19 + Jsonl: false,
     20 + Verbose: false,
     21 + Silent: true,
     22 + NoColor: false,
     23 + Version: false,
     24 + }
    12 25   aixRunner, err := runner.NewRunner(options)
    13 26   if err != nil {
    14 27   gologger.Fatal().Msgf("Could not create runner: %s\n", err)
    skipped 11 lines
Please wait...
Page is in error, reload to recover