מועמד


class Candidate


קטע של תשובה מהמודל. מכיל את FinishReason בנוסף ל-Content של התשובה.

סיכום

סוגי עץ

@IntDef(value = [0, 1, 2])
annotation Candidate.FinishReason

סיבת הסיום שמשויכת ל-Candidate

יוצרים ציבוריים

@VisibleForTesting(otherwise = 3)
Candidate(content: Content, @Candidate.FinishReason finishReason: Int?)

נכסים ציבוריים

Content
Int?

יוצרים ציבוריים

מועמד

@VisibleForTesting(otherwise = 3)
Candidate(content: Content, @Candidate.FinishReason finishReason: Int? = null)

נכסים ציבוריים

תוכן

val contentContent

finishReason

val finishReasonInt?