toPublic method

GenerationConfig toPublic()

Implementation

public_types.GenerationConfig toPublic(){
  return public_types.GenerationConfig(
      temperature: temperature,
      topP: topP,
      topK: topK,
      candidateCount: candidateCount,
      maxOutputTokens: maxOutputTokens,
      stopSequences: stopSequences
  );
}