BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/Settings/ConversationSetting.cs
2025-06-23 21:43:25 -05:00

28 lines
1 KiB
C#

namespace BotSharp.Abstraction.Conversations.Settings;
public class ConversationSetting
{
public string DataDir { get; set; } = "conversations";
public string ChatCompletion { get; set; }
public bool EnableKnowledgeBase { get; set; }
public bool ShowVerboseLog { get; set; }
public int MaxRecursiveDepth { get; set; } = 3;
public bool EnableLlmCompletionLog { get; set; }
public bool EnableExecutionLog { get; set; }
public bool EnableContentLog { get; set; }
public bool EnableStateLog { get; set; }
public bool EnableTranslationMemory { get; set; }
public bool EnableStreaming { get; set; }
public CleanConversationSetting CleanSetting { get; set; } = new();
public RateLimitSetting RateLimit { get; set; } = new();
}
public class CleanConversationSetting
{
public bool Enable { get; set; }
public int BatchSize { get; set; }
public int MessageLimit { get; set; }
public int BufferHours { get; set; }
public IEnumerable<string> ExcludeAgentIds { get; set; } = new List<string>();
}