BotSharp/src/Infrastructure/BotSharp.Abstraction/Loggers/Models/ContentLogOutputModel.cs

29 lines
783 B
C#
Raw Normal View History

2024-01-19 04:38:44 +00:00
namespace BotSharp.Abstraction.Loggers.Models;
2024-03-01 02:50:39 +00:00
public class ContentLogOutputModel
2024-01-19 04:38:44 +00:00
{
[JsonPropertyName("conversation_id")]
public string ConversationId { get; set; } = default!;
2024-02-22 17:25:13 +00:00
2024-02-15 20:43:36 +00:00
[JsonPropertyName("message_id")]
public string MessageId { get; set; } = default!;
2024-02-22 17:25:13 +00:00
2024-01-26 21:47:06 +00:00
[JsonPropertyName("name")]
public string? Name { get; set; }
2024-02-22 17:25:13 +00:00
2024-03-01 02:50:39 +00:00
[JsonPropertyName("agent_id")]
public string? AgentId { get; set; }
2024-02-15 01:13:35 +00:00
[JsonPropertyName("role")]
public string Role { get; set; } = default!;
2024-01-19 04:38:44 +00:00
2024-02-22 17:25:13 +00:00
[JsonPropertyName("source")]
public string Source { get; set; } = default!;
2024-02-22 17:25:13 +00:00
2024-01-19 04:38:44 +00:00
[JsonPropertyName("content")]
public string Content { get; set; } = default!;
2024-01-19 04:38:44 +00:00
[JsonPropertyName("created_at")]
public DateTime CreatedTime { get; set; } = DateTime.UtcNow;
2024-01-19 04:38:44 +00:00
}