final case class CreateCompletionResponse(id: String, choices: Chunk[ChoicesItem], created: Int, model: String, systemFingerprint: Optional[String] = Optional.Absent, object: Object, usage: Optional[CompletionUsage] = Optional.Absent) extends Product with Serializable
CreateCompletionResponse model
Represents a completion response from the API. Note: both the streamed and non-streamed response objects share the same shape (unlike the chat endpoint).
- id
A unique identifier for the completion.
- choices
The list of completion choices the model generated for the input prompt.
- created
The Unix timestamp (in seconds) of when the completion was created.
- model
The model used for completion.
- systemFingerprint
This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
seedrequest parameter to understand when backend changes have been made that might impact determinism.- object
The object type, which is always "text_completion"
- Alphabetic
- By Inheritance
- CreateCompletionResponse
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CreateCompletionResponse(id: String, choices: Chunk[ChoicesItem], created: Int, model: String, systemFingerprint: Optional[String] = Optional.Absent, object: Object, usage: Optional[CompletionUsage] = Optional.Absent)
- id
A unique identifier for the completion.
- choices
The list of completion choices the model generated for the input prompt.
- created
The Unix timestamp (in seconds) of when the completion was created.
- model
The model used for completion.
- systemFingerprint
This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
seedrequest parameter to understand when backend changes have been made that might impact determinism.- object
The object type, which is always "text_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]) @IntrinsicCandidate() @native()
- val created: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val object: Object
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val systemFingerprint: Optional[String]
- val usage: Optional[CompletionUsage]
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])