add json ignore
This commit is contained in:
parent
d1ff4c0c3c
commit
7e3e58aba1
|
|
@ -1,3 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace BotSharp.Abstraction.Agents.Models;
|
||||
|
||||
public class Agent
|
||||
|
|
@ -11,26 +13,31 @@ public class Agent
|
|||
/// <summary>
|
||||
/// Instruction
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string Instruction { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Samples
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string Samples { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Functions
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public List<string> Functions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Responses
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public List<AgentResponse> Responses { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Domain knowledges
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string Knowledges { get; set; }
|
||||
|
||||
public bool IsPublic { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue