FIMCompletion

@Serializable
class FIMCompletion(val id: String, val choices: List<FIMChoice>, val created: Long, val model: String, val systemFingerprint: String? = null, val object: String, val usage: Usage? = null)

Represents the FIM (Fill-In-the-Middle) Completion.

Constructors

Link copied to clipboard
constructor(id: String, choices: List<FIMChoice>, created: Long, model: String, systemFingerprint: String? = null, object: String, usage: Usage? = null)

Properties

Link copied to clipboard

The list of completion choices the model generated for the input prompt.

Link copied to clipboard

The Unix timestamp (in seconds) of when the completion was created.

Link copied to clipboard
val id: String

A unique identifier for the completion.

Link copied to clipboard

The model used for completion.

Link copied to clipboard

The object type, which is always "text_completion"

Link copied to clipboard

This fingerprint represents the backend configuration that the model runs with.

Link copied to clipboard
val usage: Usage? = null

Usage statistics for the completion request.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String