diff --git a/src/Infrastructure/BotSharp.Abstraction/Agents/Models/Agent.cs b/src/Infrastructure/BotSharp.Abstraction/Agents/Models/Agent.cs index 68be9939..0950f97f 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Agents/Models/Agent.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Agents/Models/Agent.cs @@ -1,3 +1,5 @@ +using System.Text.Json.Serialization; + namespace BotSharp.Abstraction.Agents.Models; public class Agent @@ -11,26 +13,31 @@ public class Agent /// /// Instruction /// + [JsonIgnore] public string Instruction { get; set; } /// /// Samples /// + [JsonIgnore] public string Samples { get; set; } /// /// Functions /// + [JsonIgnore] public List Functions { get; set; } /// /// Responses /// + [JsonIgnore] public List Responses { get; set; } /// /// Domain knowledges /// + [JsonIgnore] public string Knowledges { get; set; } public bool IsPublic { get; set; }