AI-Studio/app/MindWork AI Studio/Chat/SystemPrompts.cs

20 lines
470 B
C#
Raw Normal View History

using System.Globalization;
2024-08-18 19:48:35 +00:00
namespace AIStudio.Chat;
public static class SystemPrompts
{
public static string Default
{
get
{
var nowUtc = DateTime.UtcNow;
var nowLocal = DateTime.Now;
return string.Create(
new CultureInfo("en-US"),
$"Today is {nowUtc:MMMM d, yyyy h:mm tt} (UTC) and {nowLocal:MMMM d, yyyy h:mm tt} (local time)."
);
}
}
2024-08-18 19:48:35 +00:00
}