// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Microsoft.TypeChat;

namespace TypeAgent.TestLib;

/// <summary>
/// A library of common Prompt Sections and instructions
/// </summary>
public class PromptLibrary
{
    /// <summary>
    /// Tell the model about the current Date and Time
    /// </summary>
    /// <returns>prompt section</returns>
    public static PromptSection Now()
    {
        DateTime now = DateTime.Now;
        PromptSection section = $"Use precise date and times RELATIVE TO CURRENT DATE: {now.ToLongDateString()} CURRENT TIME: {now.ToLongTimeString()}\n";
        section += "Also turn ranges like next week and next month into precise dates";
        return section;
    }
}
