candidateCount property

int? candidateCount
getter/setter pair

The number of candidate responses to generate.

A higher candidate_count can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.

Optional.

Implementation

core.int? candidateCount;