Namespace: LLama.OldVersion
The entire LLama.OldVersion namespace will be removed
public class ChatSession<T>
T
Inheritance Object → ChatSession<T>
public ChatSession(T model)
model T
public IEnumerable<string> Chat(string text, string prompt, string encoding)
text String
prompt String
encoding String
public ChatSession<T> WithPrompt(string prompt, string encoding)
prompt String
encoding String
public ChatSession<T> WithPromptFile(string promptFilename, string encoding)
promptFilename String
encoding String
Set the keywords to split the return value of chat AI.
public ChatSession<T> WithAntiprompt(String[] antiprompt)
antiprompt String[]