in src/WebJobs.Extensions.OpenAI/Models/ChatMessageTableEntity.cs [20:35]
public ChatMessageTableEntity(
string partitionKey,
int messageIndex,
string content,
ChatMessageRole role,
string? name = null,
IEnumerable<ChatToolCall>? toolCalls = null)
{
this.PartitionKey = partitionKey;
this.RowKey = GetRowKey(messageIndex);
this.Content = content;
this.Role = role.ToString();
this.Name = name;
this.CreatedAt = DateTime.UtcNow;
this.ToolCalls = toolCalls?.ToList();
}