CactusCompletionParams constructor

CactusCompletionParams({
  1. String? model,
  2. double? temperature,
  3. int? topK,
  4. double? topP,
  5. int maxTokens = 512,
  6. List<String> stopSequences = const ["<|im_end|>", "<end_of_turn>"],
  7. List<CactusTool>? tools,
  8. CompletionMode completionMode = CompletionMode.local,
  9. String? cactusToken,
})

Implementation

CactusCompletionParams({
  this.model,
  this.temperature,
  this.topK,
  this.topP,
  this.maxTokens = 512,
  this.stopSequences = const ["<|im_end|>", "<end_of_turn>"],
  this.tools,
  this.completionMode = CompletionMode.local,
  this.cactusToken,
});