mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 06:24:35 +00:00
Added settings for chat compression, with a model of its own (#1241)
This commit is contained in:
1 parent
899139c88b
commit
1fbc1f4796
71 files changed
+3023
-797
No files matched your search
@@ -0,0 +1,8 @@
|
||||
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);
|
||||
Reference in new issue
Block a user