Module: OpenAI::Models::Chat::ChatCompletionRole

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/chat/chat_completion_role.rb

Overview

The role of the author of a message

Constant Summary collapse

DEVELOPER =
:developer
SYSTEM =
:system
USER =
:user
ASSISTANT =
:assistant
TOOL =
:tool
FUNCTION =
:function

Method Summary

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info