GptCompletionRequest constructor

GptCompletionRequest({
  1. required String model,
  2. required List<String> prompt,
  3. int? topP,
  4. int? presencePenalty,
  5. int? n,
  6. int? maxTokens,
  7. int? frequencyPenalty,
})

Implementation

GptCompletionRequest({required this.model, required this.prompt, this.topP, this.presencePenalty, this.n, this.maxTokens, this.frequencyPenalty});