generationConfig

public abstract CountTokensConfig.Builder generationConfig(GenerationConfig generationConfig)

Setter for generationConfig.

generationConfig: Configuration that the model uses to generate the response. Not supported by the Gemini Developer API.


@CanIgnoreReturnValue()
public CountTokensConfig.Builder generationConfig(GenerationConfig.Builder generationConfigBuilder)

Setter for generationConfig builder.

generationConfig: Configuration that the model uses to generate the response. Not supported by the Gemini Developer API.