2023-09-01 22:33:36 +00:00
|
|
|
namespace BotSharp.Plugin.MongoStorage.Collections;
|
2023-08-28 05:28:14 +00:00
|
|
|
|
2023-12-13 17:58:25 +00:00
|
|
|
public class AgentDocument : MongoBase
|
2023-08-26 04:41:01 +00:00
|
|
|
{
|
2025-02-13 03:25:32 +00:00
|
|
|
public string Name { get; set; } = default!;
|
|
|
|
|
public string Description { get; set; } = default!;
|
|
|
|
|
public string Type { get; set; } = default!;
|
2025-04-21 02:18:56 +00:00
|
|
|
public string Mode { get; set; } = default!;
|
2024-01-29 19:22:37 +00:00
|
|
|
public string? InheritAgentId { get; set; }
|
2024-01-16 03:26:18 +00:00
|
|
|
public string? IconUrl { get; set; }
|
2025-02-13 03:25:32 +00:00
|
|
|
public string Instruction { get; set; } = default!;
|
2024-11-20 23:57:44 +00:00
|
|
|
public bool IsPublic { get; set; }
|
|
|
|
|
public bool Disabled { get; set; }
|
|
|
|
|
public bool MergeUtility { get; set; }
|
2024-12-13 20:34:17 +00:00
|
|
|
public int? MaxMessageCount { get; set; }
|
2024-08-13 21:36:12 +00:00
|
|
|
public List<ChannelInstructionMongoElement> ChannelInstructions { get; set; }
|
2023-09-28 17:16:39 +00:00
|
|
|
public List<AgentTemplateMongoElement> Templates { get; set; }
|
2025-04-28 19:53:32 +00:00
|
|
|
public List<AgentLinkMongoElement> Links { get; set; }
|
2023-09-28 17:16:39 +00:00
|
|
|
public List<FunctionDefMongoElement> Functions { get; set; }
|
|
|
|
|
public List<AgentResponseMongoElement> Responses { get; set; }
|
2023-10-19 22:27:51 +00:00
|
|
|
public List<string> Samples { get; set; }
|
2024-11-20 23:10:38 +00:00
|
|
|
public List<AgentUtilityMongoElement> Utilities { get; set; }
|
2025-04-01 01:59:19 +00:00
|
|
|
public List<AgentMcpToolMongoElement> McpTools { get; set; }
|
2024-12-24 19:21:18 +00:00
|
|
|
public List<AgentKnowledgeBaseMongoElement> KnowledgeBases { get; set; }
|
2023-09-18 23:14:24 +00:00
|
|
|
public List<string> Profiles { get; set; }
|
2025-01-30 17:14:52 +00:00
|
|
|
public List<string> Labels { get; set; }
|
2023-09-19 18:20:41 +00:00
|
|
|
public List<RoutingRuleMongoElement> RoutingRules { get; set; }
|
2025-01-07 19:50:50 +00:00
|
|
|
public List<AgentRuleMongoElement> Rules { get; set; }
|
2023-12-13 20:26:46 +00:00
|
|
|
public AgentLlmConfigMongoElement? LlmConfig { get; set; }
|
2023-08-26 04:41:01 +00:00
|
|
|
|
2023-08-28 05:28:14 +00:00
|
|
|
public DateTime CreatedTime { get; set; }
|
|
|
|
|
public DateTime UpdatedTime { get; set; }
|
|
|
|
|
}
|