BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/Settings/ConversationSetting.cs

26 lines
899 B
C#
Raw Normal View History

2023-06-19 16:33:27 +00:00
namespace BotSharp.Abstraction.Conversations.Settings;
public class ConversationSetting
{
2023-08-10 04:53:22 +00:00
public string DataDir { get; set; }
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-03-25 01:38:28 +00:00
public CleanConversationSetting CleanSetting { get; set; } = new CleanConversationSetting();
public RateLimitSetting RateLimit { get; set; } = new RateLimitSetting();
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; }
2023-06-19 16:33:27 +00:00
}