Interface GeminiPreferenceExampleCompletion

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

interface GeminiPreferenceExampleCompletion {
    completion?: Content;
    score?: number;
}

Properties

Properties

completion?: Content

Single turn completion for the given prompt.

score?: number

The score for the given completion.