v2026.5.3
All Bundles
Bundle Google Gemini API client. Supports text generation, multimodal inputs (image, audio, video), chat sessions, function calling, and caching. Set GOOGLE_API_KEY before use. Compile with -lib gemini.

Candidate

Candidate prompt response

Inherits: Content

Operations

GetFinishReason #

Get finishing reason

method : public : GetFinishReason() ~ String

Return

TypeDescription
Stringfinishing reason

GetSafetyRatings #

Get safety ratings

method : public : GetSafetyRatings() ~ Vector<Collection.Tuple.Pair<String,String>>

Return

TypeDescription
Vector<CollectionTuplePair<String,String>>list of safety ratings

ToString #

String representation of the object

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation