Method ClearHistory
- Namespace
- LMKit.TextGeneration.Chat
- Assembly
- LM-Kit.NET.dll
ClearHistory()
Clears the history.
public void ClearHistory()
Examples
Console.WriteLine(history.MessageCount); // e.g. 5
history.ClearHistory();
Console.WriteLine(history.MessageCount); // 0