using System; using System.Collections.Generic; using System.Text; namespace LLama { public interface IChatModel { string Name { get; } IEnumerable Chat(string text, string? prompt = null, string encoding = "UTF-8"); /// /// Init a prompt for chat and automatically produce the next prompt during the chat. /// /// void InitChatPrompt(string prompt, string encoding = "UTF-8"); void InitChatAntiprompt(string[] antiprompt); } }