add comments

This commit is contained in:
Jicheng Lu 2024-08-29 15:00:28 -05:00
parent 09137ff8e7
commit c3f0bdea14

View file

@ -75,6 +75,9 @@ public class RoleDialogModel : ITrackableMessage
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public RichContent<IRichMessage>? RichContent { get; set; }
/// <summary>
/// Rich content for secondary language
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public RichContent<IRichMessage>? SecondaryRichContent { get; set; }
@ -86,6 +89,9 @@ public class RoleDialogModel : ITrackableMessage
public FunctionCallFromLlm Instruction { get; set; }
/// <summary>
/// Files to be used in conversation
/// </summary>
public List<BotSharpFile> Files { get; set; } = new List<BotSharpFile>();
/// <summary>
@ -94,7 +100,14 @@ public class RoleDialogModel : ITrackableMessage
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("generated_images")]
public List<ImageGeneration> GeneratedImages { get; set; } = new List<ImageGeneration>();
/// <summary>
/// Knowledge confidence
/// </summary>
[JsonPropertyName("knowledge_confidence")]
public float KnowledgeConfidence { get; set; } = 0.5f;
private RoleDialogModel()
{
}