mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 07:04: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,26 @@
|
||||
namespace AIStudio.AIOperations.ConversationSummary;
|
||||
|
||||
/// <summary>
|
||||
/// Whether a message the AI reads for the summary follows the summary in the new chat word for word.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The AI reads the last exchange for the summary as well, so that the summary leads up to it, but
|
||||
/// it must neither summarize nor repeat it, see ChatCompressionPlan.
|
||||
/// </remarks>
|
||||
public enum KeptMessage
|
||||
{
|
||||
/// <summary>
|
||||
/// The summary replaces the message.
|
||||
/// </summary>
|
||||
NONE,
|
||||
|
||||
/// <summary>
|
||||
/// The last message of the user, which follows the summary with its files.
|
||||
/// </summary>
|
||||
LAST_QUESTION,
|
||||
|
||||
/// <summary>
|
||||
/// The last answer of the AI.
|
||||
/// </summary>
|
||||
LAST_ANSWER,
|
||||
}
|
||||
Reference in new issue
Block a user