CompactionMessageGroup.TurnIndex Property

Definition

Gets user turn index this group belongs to, or null for groups that precede the first user message (e.g., system messages). A turn index of 0 corresponds with any non-system message that precedes the first user message, turn index 1 corresponds with the first user message and its subsequent non-user messages, and so on...

public int? TurnIndex { get; }
member this.TurnIndex : Nullable<int>
Public ReadOnly Property TurnIndex As Nullable(Of Integer)

Property Value

Remarks

A turn starts with a User group and includes all subsequent non-user, non-system groups until the next user group or end of conversation. System messages (System) are always assigned a null turn index since they never belong to a user turn.

Applies to