namespace BotSharp.Abstraction.Conversations.Models; public class RoleDialogModel { /// /// user, system, assistant, function /// public string Role { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public string Content { get; set; } /// /// Function name if LLM response function call /// public string? FunctionName { get; set; } /// /// Function execution result /// public string? ExecutionResult { get; set; } public RoleDialogModel(string role, string text) { Role = role; Content = text; } public override string ToString() { return $"{Role}: {Content}"; } }