2023-06-19 16:33:27 +00:00
|
|
|
namespace BotSharp.Abstraction.Conversations.Settings;
|
|
|
|
|
|
|
|
|
|
public class ConversationSetting
|
|
|
|
|
{
|
2025-04-07 04:15:27 +00:00
|
|
|
public string DataDir { get; set; } = "conversations";
|
2023-06-27 18:31:13 +00:00
|
|
|
public string ChatCompletion { get; set; }
|
2023-06-29 23:14:57 +00:00
|
|
|
public bool EnableKnowledgeBase { get; set; }
|
2023-08-20 20:33:35 +00:00
|
|
|
public bool ShowVerboseLog { get; set; }
|
2023-08-28 03:50:10 +00:00
|
|
|
public int MaxRecursiveDepth { get; set; } = 3;
|
2023-11-29 16:40:27 +00:00
|
|
|
public bool EnableLlmCompletionLog { get; set; }
|
|
|
|
|
public bool EnableExecutionLog { get; set; }
|
2024-02-15 20:43:36 +00:00
|
|
|
public bool EnableContentLog { get; set; }
|
|
|
|
|
public bool EnableStateLog { get; set; }
|
2024-06-28 16:29:43 +00:00
|
|
|
public bool EnableTranslationMemory { get; set; }
|
2024-09-09 17:26:26 +00:00
|
|
|
public CleanConversationSetting CleanSetting { get; set; } = new();
|
|
|
|
|
public RateLimitSetting RateLimit { get; set; } = new();
|
2024-03-07 17:25:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class CleanConversationSetting
|
|
|
|
|
{
|
|
|
|
|
public bool Enable { get; set; }
|
|
|
|
|
public int BatchSize { get; set; }
|
|
|
|
|
public int MessageLimit { get; set; }
|
|
|
|
|
public int BufferHours { get; set; }
|
2024-09-09 17:26:26 +00:00
|
|
|
public IEnumerable<string> ExcludeAgentIds { get; set; } = new List<string>();
|
2023-06-19 16:33:27 +00:00
|
|
|
}
|