PlaygroundSettings constructor

const PlaygroundSettings({
  1. PlaygroundSourceKind kind = PlaygroundSourceKind.endpoint,
  2. String modelDir = '',
  3. String provider = 'cpu',
  4. String baseUrl = 'http://127.0.0.1:18200',
  5. String model = 'smollm2_135m_instruct-cpu',
  6. String apiKey = '',
  7. String systemPrompt = '',
  8. int maxNewTokens = 256,
  9. double temperature = 0.0,
})

Implementation

const PlaygroundSettings({
  this.kind = PlaygroundSourceKind.endpoint,
  this.modelDir = '',
  this.provider = 'cpu',
  this.baseUrl = 'http://127.0.0.1:18200',
  this.model = 'smollm2_135m_instruct-cpu',
  this.apiKey = '',
  this.systemPrompt = '',
  this.maxNewTokens = 256,
  this.temperature = 0.0,
});