diff --git a/LLama/AntipromptProcessor.cs b/LLama/AntipromptProcessor.cs index 22df9993..c18c0915 100644 --- a/LLama/AntipromptProcessor.cs +++ b/LLama/AntipromptProcessor.cs @@ -3,13 +3,21 @@ using System.Collections.Generic; namespace LLama { - internal sealed class AntipromptProcessor + /// + /// AntipromptProcessor keeps track of past tokens looking for any set Anti-Prompts + /// + public sealed class AntipromptProcessor { private int _longestAntiprompt; private readonly List _antiprompts = new(); private string? _string; + + /// + /// Initializes a new instance of the class. + /// + /// The antiprompts. public AntipromptProcessor(IEnumerable? antiprompts = null) { if (antiprompts != null)