ChatRole Enum

A description of the intended purpose of a message within a chat completions interaction.

Inheritance
builtins.str
ChatRole
ChatRole

Constructor

ChatRole(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Fields

ASSISTANT
SYSTEM
TOOL
USER