Class ProactivityConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Configures the proactivity of the model.
public class ProactivityConfig
- Inheritance
-
ProactivityConfig
- Inherited Members
- Extension Methods
Properties
ProactiveAudio
If enabled, the model can reject responding to the last prompt. For example, this allows the model to ignore out of context speech or to stay silent if the user did not make a request, yet.
[JsonPropertyName("proactiveAudio")]
public bool? ProactiveAudio { get; set; }
Property Value
- bool?
ProactiveVideo
If enabled, the system might trigger a generation on each received image. This requires that ProactiveAudio is enabled. The rate of generation depends on the rate of incoming images and can cause a significant increase in cost.
[JsonPropertyName("proactiveVideo")]
public bool? ProactiveVideo { get; set; }
Property Value
- bool?