enum
OpenRouter::Role
Overview
The role type of a Message
Defined in:
openrouter/types/message.crEnum Members
-
User =
0 -
Assistant =
1 -
System =
2 -
Tool =
3
Instance Method Summary
-
#assistant?
Returns
trueif this enum value equalsAssistant -
#system?
Returns
trueif this enum value equalsSystem -
#tool?
Returns
trueif this enum value equalsTool -
#user?
Returns
trueif this enum value equalsUser