GeminiPreferenceExampleCompletion

@Serializable
data class GeminiPreferenceExampleCompletion(val completion: Content? = null, val score: Double? = null)

Completion and its preference score. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(completion: Content? = null, score: Double? = null)

Properties

Link copied to clipboard
val completion: Content? = null

Single turn completion for the given prompt.

Link copied to clipboard
val score: Double? = null

The score for the given completion.