Role

sttp.openai.requests.completions.chat.Role$
See theRole companion class
object Role

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Role.type

Members list

Concise view

Type members

Classlikes

case object Assistant extends Role

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Role
class Object
trait Matchable
class Any
Self type
case class Custom(customRole: String) extends Role

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Role
class Object
trait Matchable
class Any
case object System extends Role

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Role
class Object
trait Matchable
class Any
Self type
System.type
case object User extends Role

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Role
class Object
trait Matchable
class Any
Self type
User.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete fields

val values: Set[Role]

Implicits

Implicits

implicit val roleRW: ReadWriter[Role]