CompactionGroupKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the kind of a CompactionMessageGroup.
public enum CompactionGroupKind
type CompactionGroupKind =
Public Enum CompactionGroupKind
- Inheritance
-
CompactionGroupKind
Fields
| Name | Value | Description |
|---|---|---|
| System | 0 | A system message group containing one or more system messages. |
| User | 1 | A user message group containing a single user message. |
| AssistantText | 2 | An assistant message group containing a single assistant text response (no tool calls). |
| ToolCall | 3 | An atomic tool call group containing an assistant message with tool calls followed by the corresponding tool result messages. |
| Summary | 4 | A summary message group produced by a compaction strategy (e.g., |
Remarks
Message groups are used to classify logically related messages that must be kept together during compaction operations. For example, an assistant message containing tool calls and its corresponding tool result messages form an atomic ToolCall group.