ConfigCompletion constructor

ConfigCompletion({
  1. String? model = "text-davinci-003",
  2. int? maxTokens = 150,
  3. double? temperature = 0.9,
  4. int? topP = 1,
  5. int? n = 1,
  6. bool? stream = false,
  7. int? logprobs,
  8. String? stop = "",
})

Implementation

ConfigCompletion(
    {this.model = "text-davinci-003",
    this.maxTokens = 150,
    this.temperature = 0.9,
    this.topP = 1,
    this.n = 1,
    this.stream = false,
    this.logprobs,
    this.stop = ""});