Table of Contents

Enum ActivityHandling

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

The different ways of handling user activity.

[JsonConverter(typeof(JsonStringEnumConverter<ActivityHandling>))]
public enum ActivityHandling
Extension Methods

Fields

ACTIVITY_HANDLING_UNSPECIFIED = 0

If unspecified, the default behavior is START_OF_ACTIVITY_INTERRUPTS.

START_OF_ACTIVITY_INTERRUPTS = 1

Start of activity will interrupt the model's response (also called "barge in"). The model's current response will be cut-off in the moment of the interruption. This is the default behavior.

NO_INTERRUPTION = 2

The model's response will not be interrupted.