Skip to content

AuthorRole

Namespace: LLama.Common

Role of the message author, e.g. user/assistant/system

1
public enum AuthorRole

Inheritance ObjectValueTypeEnumAuthorRole
Implements IComparable, IFormattable, IConvertible

Fields

Name Value Description
Unknown -1 Role is unknown
System 0 Message comes from a "system" prompt, not written by a user or language model
User 1 Message comes from the user
Assistant 2 Messages was generated by the language model