GeminiResponse
Defined in: backend/src/providers/gemini.ts:59
Properties
Section titled “Properties”candidates
Section titled “candidates”candidates:
object[]
Defined in: backend/src/providers/gemini.ts:60
content
Section titled “content”content:
GeminiContent
finishReason
Section titled “finishReason”finishReason:
"STOP"|"MAX_TOKENS"|"SAFETY"|"RECITATION"|"OTHER"
usageMetadata?
Section titled “usageMetadata?”
optionalusageMetadata:object
Defined in: backend/src/providers/gemini.ts:64
candidatesTokenCount
Section titled “candidatesTokenCount”candidatesTokenCount:
number
promptTokenCount
Section titled “promptTokenCount”promptTokenCount:
number
totalTokenCount
Section titled “totalTokenCount”totalTokenCount:
number