GenerationConfig constructor

GenerationConfig({
  1. List<String>? stopSequences,
  2. double? temperature,
  3. int? maxOutputTokens,
  4. double? topP,
  5. int? topK,
})

Implementation

factory GenerationConfig({
  List<String>? stopSequences,
  double? temperature,
  int? maxOutputTokens,
  double? topP,
  int? topK,
}) = _GenerationConfig;