All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cequence.openaiscala.anthropic.domain.ChatRole.scala Maven / Gradle / Ivy

package io.cequence.openaiscala.anthropic.domain

import io.cequence.wsclient.domain.EnumValue

sealed trait ChatRole extends EnumValue {
  override def toString: String = super.toString.toLowerCase
}

object ChatRole {
  case object User extends ChatRole
  case object Assistant extends ChatRole

  def allValues: Seq[ChatRole] = Seq(User, Assistant)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy