GenerationHints.forJSON constructor

GenerationHints.forJSON()

Create hints optimized for JSON output

Implementation

factory GenerationHints.forJSON() {
  return const GenerationHints(
    temperature: 0.3,
    stopAtFirstValidJSON: true,
  );
}