sttp.openai.requests.completions.chat.ChatRequestResponseData.Message
See theMessage companion object
case class Message(content: String, refusal: Option[String], toolCalls: Seq[ToolCall], role: Role, functionCall: Option[FunctionCall], audio: Option[Audio], id: String)
Value parameters
- audio
-
If the audio output modality is requested, this object contains data about the audio response from the model. Learn more.
- content
-
The contents of the message.
- functionCall
-
The name and arguments of a function that should be called, as generated by the model.
- id
-
The identifier of the chat message.
- refusal
-
The refusal message generated by the model.
- role
-
The role of the author of this message.
- toolCalls
-
The tool calls generated by the model, such as function calls.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article