candidateCount property

int? candidateCount
final

Optional. Number of generated responses to return. If unset, this will default to 1. Please note that this doesn't work for previous generation models (Gemini 1.0 family)

Implementation

final int? candidateCount;