GenerationConfig constructor

GenerationConfig({
  1. int? candidateCount,
  2. List<String> stopSequences = const [],
  3. int? maxOutputTokens,
  4. double? temperature,
  5. double? topP,
  6. int? topK,
  7. String? responseMimeType,
  8. Schema? responseSchema,
})

Implementation

GenerationConfig({
  this.candidateCount,
  this.stopSequences = const [],
  this.maxOutputTokens,
  this.temperature,
  this.topP,
  this.topK,
  this.responseMimeType,
  this.responseSchema,
});