namespace MeetingAssistant.MeetingNotes; public static class MeetingNoteTemplate { public static MeetingNote Create( string title, DateTimeOffset? startTime = null, DateTimeOffset? endTime = null, IEnumerable? attendees = null, IEnumerable? projects = null, string transcriptPath = "", string assistantContextPath = "", string summaryPath = "", string userNotes = "") { var notePath = ""; var frontmatter = new MeetingNoteFrontmatter { Title = title, StartTime = startTime, EndTime = endTime, Attendees = attendees?.Where(value => !string.IsNullOrWhiteSpace(value)).ToList() ?? [], Projects = projects?.Where(value => !string.IsNullOrWhiteSpace(value)).ToList() ?? [], Transcript = transcriptPath, AssistantContext = assistantContextPath, Summary = summaryPath }; return new MeetingNote(notePath, frontmatter, userNotes); } }