using static LLama.LLamaTransforms;
namespace LLamaSharp.SemanticKernel.ChatCompletion;
///
/// Default HistoryTransform Patch
///
public class HistoryTransform : DefaultHistoryTransform
{
///
public override string HistoryToText(global::LLama.Common.ChatHistory history)
{
var prompt = base.HistoryToText(history);
return prompt + "\nAssistant:";
}
}