BrainstormCommand constructor

BrainstormCommand()

Implementation

BrainstormCommand() {
  argParser.addOption(
    'openai-key',
    help: 'Define the OpenAI API key.',
  );
  argParser.addOption(
    'model',
    help: 'Specify the GPT model.',
    defaultsTo: 'gpt-3.5-turbo',
  );
  argParser.addOption(
    'limit',
    abbr: 'l',
    help:
        'Specify the maximum number of available domains the model should find.',
    valueHelp: 'number',
    defaultsTo: '10',
  );
  argParser.addSeparator('Model Settings');
  argParser.addOption(
    'temperature',
    help: 'Specify the model temperature.',
    valueHelp: 'from 0.0 to 2.0',
    defaultsTo: '1.0',
  );
  argParser.addOption(
    'frequency-penalty',
    help:
        'Specify the model frequency penalty to decrease the likelihood of the model repeating the same line verbatim.',
    valueHelp: 'from 0.0 to 2.0',
    defaultsTo: '0.0',
  );
}