generationConfig

public final Interaction.Builder generationConfig(GenerationConfig generationConfig)

Input only. Configuration parameters for the model interaction.


public final Interaction.Builder generationConfig(JsonField<GenerationConfig> generationConfig)

Sets Builder.generationConfig to an arbitrary JSON value.

You should usually call Builder.generationConfig with a well-typed GenerationConfig value instead. This method is primarily for setting the field to an undocumented or not yet supported value.