enum LLM::CLI::Chat::Role

Defined in:

llm-cli/chat.cr

Enum Members

User = 0

Can be generated by the end users of an application, or set by a developer as an instruction.

System = 1

The system message helps set the behavior of the assistant. GPT 3 does not always pay strong attention to system messages

Assistant = 2

The assistant messages help store prior responses. They can also be written by a developer to help give examples of desired behavior.

Instance Method Summary

Instance Method Detail

def assistant? #

[View source]
def system? #

[View source]
def user? #

[View source]