mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 05:53:48 +00:00
8 lines
532 B
C#
8 lines
532 B
C#
namespace AIStudio.Chat.Compression;
|
|||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// One part of the conversation which the AI summarizes in one request, see ChatCompressionInput.TakePart.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="Text">The messages of the part, rendered for the summary, with markers where a message breaks off or goes on.</param>
|
||
|
|
/// <param name="Next">Where the next part begins; its message index equals the number of messages when no part follows.</param>
|
||
|
|
public readonly record struct ChatCompressionPart(string Text, ChatCompressionPosition Next);
|