Message

sttp.openai.requests.completions.chat.ChatRequestResponseData.Message
See theMessage companion object
case class Message(role: Role, content: String, toolCalls: Seq[ToolCall], functionCall: Option[FunctionCall])

Value parameters

content

The contents of the message.

functionCall

The name and arguments of a function that should be called, as generated by the model.

role

The role of the author of this message.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product