mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-04 17:24:35 +00:00
8 lines
443 B
C#
8 lines
443 B
C#
namespace AIStudio.AIOperations.ConversationSummary;
|
|
|
|
/// <summary>
|
|
/// One message of the conversation as the AI reads it for the summary, together with its size.
|
|
/// </summary>
|
|
/// <param name="Text">The message, rendered for the summary, see ConversationSummaryInput.Render.</param>
|
|
/// <param name="Tokens">How many tokens the text takes, counted or estimated.</param>
|
|
public readonly record struct CountedMessage(string Text, int Tokens); |