BotSharp/src/Infrastructure/BotSharp.Abstraction/Agents/Models/AgentKnowledgeBase.cs

26 lines
491 B
C#
Raw Normal View History

2024-12-24 19:21:18 +00:00
namespace BotSharp.Abstraction.Agents.Models;
public class AgentKnowledgeBase
{
2024-12-30 03:49:38 +00:00
public string Name { get; set; }
public string Type { get; set; }
2024-12-24 19:21:18 +00:00
public bool Disabled { get; set; }
public AgentKnowledgeBase()
{
}
2024-12-30 03:49:38 +00:00
public AgentKnowledgeBase(string name, string type, bool enabled)
2024-12-24 19:21:18 +00:00
{
Name = name;
2024-12-30 03:49:38 +00:00
Type = type;
2024-12-24 19:21:18 +00:00
Disabled = enabled;
}
public override string ToString()
{
return Name ?? string.Empty;
}
}