Skip to content

IChatModel

Namespace: LLama.OldVersion

Caution

The entire LLama.OldVersion namespace will be removed


public interface IChatModel

Properties

Name

public abstract string Name { get; }

Property Value

String

Methods

Chat(String, String, String)

IEnumerable<string> Chat(string text, string prompt, string encoding)

Parameters

text String

prompt String

encoding String

Returns

IEnumerable<String>

InitChatPrompt(String, String)

Init a prompt for chat and automatically produce the next prompt during the chat.

void InitChatPrompt(string prompt, string encoding)

Parameters

prompt String

encoding String

InitChatAntiprompt(String[])

void InitChatAntiprompt(String[] antiprompt)

Parameters

antiprompt String[]