Message

fallatol.ollama.Message
See theMessage companion trait
object Message

Attributes

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

Members list

Type members

Classlikes

case class Assistant(content: String, images: List[String]) extends Message

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Message
class Object
trait Matchable
class Any
Show all
case class System(content: String) extends Message

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Message
class Object
trait Matchable
class Any
Show all
case class User(content: String, name: Option[String]) extends Message

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Message
class Object
trait Matchable
class Any
Show all

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

Implicits

Implicits

implicit val assistantDecoder: Decoder[Assistant]
implicit val assistantEncoder: Encoder[Assistant]
implicit val messageDecoder: Decoder[Message]
implicit val messageEncoder: Encoder[Message]
implicit val systemDecoder: Decoder[System]
implicit val systemEncoder: Encoder[System]
implicit val userDecoder: Decoder[User]
implicit val userEncoder: Encoder[User]