modelArmorConfig

Setter for modelArmorConfig.

modelArmorConfig: Settings for prompt and response sanitization using the Model Armor service. If supplied, safety_settings must not be supplied.


@CanIgnoreReturnValue()
public GenerateContentConfig.Builder modelArmorConfig(ModelArmorConfig.Builder modelArmorConfigBuilder)

Setter for modelArmorConfig builder.

modelArmorConfig: Settings for prompt and response sanitization using the Model Armor service. If supplied, safety_settings must not be supplied.