Message

sttp.openai.requests.completions.chat.Message
See theMessage companion object
case class Message(role: Role, content: String, name: Option[String])

Attributes

content

The contents of the message.

name

The name of the author of this message. May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters.

role

The role of the author of this message. One of Role.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product