2026-11-27 16:35:51 +01:00
|
|
|
namespace AIStudio.AIOperations.ConversationSummary;
|
2026-11-21 14:16:04 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// One message of the conversation as the AI reads it for the summary, together with its size.
|
|
|
|
|
/// </summary>
|
2026-11-27 16:35:51 +01:00
|
|
|
/// <param name="Text">The message, rendered for the summary, see ConversationSummaryInput.Render.</param>
|
2026-11-21 14:16:04 +01:00
|
|
|
/// <param name="Tokens">How many tokens the text takes, counted or estimated.</param>
|
|
|
|
|
public readonly record struct CountedMessage(string Text, int Tokens);
|