namespace AIStudio.Chat.Compression; /// /// One part of the conversation which the AI summarizes in one request, see ChatCompressionInput.TakePart. /// /// The messages of the part, rendered for the summary, with markers where a message breaks off or goes on. /// Where the next part begins; its message index equals the number of messages when no part follows. public readonly record struct ChatCompressionPart(string Text, ChatCompressionPosition Next);