MessageSpec

io.cequence.openaiscala.domain.MessageSpec
@Deprecated
final case class MessageSpec(role: ChatRole, content: String, name: Option[String]) extends BaseMessage

Deprecation warning: Use typed Message(s), such as SystemMessage, UserMessage, instead. Will be dropped in the next major version.

Attributes

Deprecated
true
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def isSystem: Boolean

Attributes

Inherited from:
BaseMessage
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val nameOpt: Option[String]