PhindConfig constructor

const PhindConfig({
  1. required String apiKey,
  2. String baseUrl = 'https://https.extension.phind.com/agent/',
  3. String model = 'Phind-70B',
  4. int? maxTokens,
  5. double? temperature,
  6. String? systemPrompt,
  7. Duration? timeout,
  8. double? topP,
  9. int? topK,
  10. List<Tool>? tools,
  11. ToolChoice? toolChoice,
  12. LLMConfig? originalConfig,
})

Implementation

const PhindConfig({
  required this.apiKey,
  this.baseUrl = 'https://https.extension.phind.com/agent/',
  this.model = 'Phind-70B',
  this.maxTokens,
  this.temperature,
  this.systemPrompt,
  this.timeout,
  this.topP,
  this.topK,
  this.tools,
  this.toolChoice,
  LLMConfig? originalConfig,
}) : _originalConfig = originalConfig;