Table of Contents

Enum TurnCoverage

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Options about which input is included in the user's turn.

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

Fields

TURN_COVERAGE_UNSPECIFIED = 0

If unspecified, the default behavior is TURN_INCLUDES_ONLY_ACTIVITY.

TURN_INCLUDES_ONLY_ACTIVITY = 1

The user's turn only includes activity since the last turn, excluding inactivity (e.g. silence on the audio stream). This is the default behavior.

TURN_INCLUDES_ALL_INPUT = 2

The user's turn includes all realtime input since the last turn, including inactivity (e.g. silence on the audio stream).

TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO = 3

Includes audio activity and all video since the last turn. With automatic activity detection, audio activity means speech and excludes silence.