BotSharp/src/Plugins/BotSharp.Plugin.MongoStorage/Collections/AgentCollection.cs

23 lines
845 B
C#
Raw Normal View History

2023-09-09 21:44:25 +00:00
using BotSharp.Abstraction.Agents.Models;
2023-09-27 20:49:44 +00:00
using BotSharp.Abstraction.Functions.Models;
2023-09-18 23:14:24 +00:00
using BotSharp.Plugin.MongoStorage.Models;
2023-09-09 21:44:25 +00:00
2023-09-01 22:33:36 +00:00
namespace BotSharp.Plugin.MongoStorage.Collections;
2023-08-28 05:28:14 +00:00
public class AgentCollection : MongoBase
2023-08-26 04:41:01 +00:00
{
2023-08-28 05:28:14 +00:00
public string Name { get; set; }
public string Description { get; set; }
public string Instruction { get; set; }
2023-09-12 22:08:58 +00:00
public List<AgentTemplate> Templates { get; set; }
2023-09-27 20:49:44 +00:00
public List<FunctionDef> Functions { get; set; }
2023-09-09 21:44:25 +00:00
public List<AgentResponse> Responses { get; set; }
2023-09-04 15:15:11 +00:00
public bool IsPublic { get; set; }
2023-09-18 23:14:24 +00:00
public bool AllowRouting { get; set; }
public bool Disabled { get; set; }
public List<string> Profiles { get; set; }
2023-09-19 18:20:41 +00:00
public List<RoutingRuleMongoElement> RoutingRules { 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; }
}