Public Access
Archive completed meeting assistant changes
PR and Push Build/Test / build-and-test (push) Successful in 9m19s
PR and Push Build/Test / build-and-test (push) Successful in 9m19s
This commit is contained in:
@@ -14,4 +14,24 @@ public static class MeetingNoteActionLinks
|
||||
var url = $"{baseUrl}/meetings/summary/retry?summaryPath={Uri.EscapeDataString(summaryFileName)}";
|
||||
return $"[{label}]({url})";
|
||||
}
|
||||
|
||||
public static string CreateScreenshotOcrRetryLink(
|
||||
string publicBaseUrl,
|
||||
MeetingSessionArtifacts artifacts,
|
||||
string screenshotPath,
|
||||
string screenshotId,
|
||||
string label = "Retry screenshot OCR")
|
||||
{
|
||||
var baseUrl = string.IsNullOrWhiteSpace(publicBaseUrl)
|
||||
? "http://localhost:5090"
|
||||
: publicBaseUrl.TrimEnd('/');
|
||||
var url = $"{baseUrl}/meetings/screenshot-ocr/retry" +
|
||||
$"?meetingNotePath={Uri.EscapeDataString(artifacts.MeetingNotePath)}" +
|
||||
$"&transcriptPath={Uri.EscapeDataString(artifacts.TranscriptPath)}" +
|
||||
$"&assistantContextPath={Uri.EscapeDataString(artifacts.AssistantContextPath)}" +
|
||||
$"&summaryPath={Uri.EscapeDataString(artifacts.SummaryPath)}" +
|
||||
$"&screenshotPath={Uri.EscapeDataString(screenshotPath)}" +
|
||||
$"&screenshotId={Uri.EscapeDataString(screenshotId)}";
|
||||
return $"[{label}]({url})";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user