ChatRequestResponseData
sttp.openai.requests.completions.chat.ChatRequestResponseData
object ChatRequestResponseData
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Type members
Classlikes
case class ChatResponse(id: String, choices: Seq[Choices], created: Int, model: String, `object`: String, usage: Usage, systemFingerprint: Option[String])
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object ChatResponse
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ChatResponse.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Choices
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
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article