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

Type members

Classlikes

case object Assistant extends Role

Attributes

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

Attributes

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

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Role
class Object
trait Matchable
class Any
Show all
Self type
System.type
case object Tool extends Role

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Role
class Object
trait Matchable
class Any
Show all
Self type
Tool.type
case object User extends Role

Attributes

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

Inherited and Abstract 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]