final case class CreateChatCompletionResponse(id: String, choices: Chunk[ChoicesItem], created: Int, model: String, object: String, usage: Optional[CompletionUsage] = Optional.Absent) extends Product with Serializable
CreateChatCompletionResponse model
Represents a chat completion response returned by model, based on the provided input.
- id
A unique identifier for the chat completion.
- choices
A list of chat completion choices. Can be more than one if
nis greater than 1.- created
The Unix timestamp (in seconds) of when the chat completion was created.
- model
The model used for the chat completion.
- object
The object type, which is always
chat.completion.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CreateChatCompletionResponse
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CreateChatCompletionResponse(id: String, choices: Chunk[ChoicesItem], created: Int, model: String, object: String, usage: Optional[CompletionUsage] = Optional.Absent)
- id
A unique identifier for the chat completion.
- choices
A list of chat completion choices. Can be more than one if
nis greater than 1.- created
The Unix timestamp (in seconds) of when the chat completion was created.
- model
The model used for the chat completion.
- object
The object type, which is always
chat.completion.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val choices: Chunk[ChoicesItem]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val created: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val model: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val object: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val usage: Optional[CompletionUsage]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()