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.
Content
Prompt content
Inherits: EndPoint
Operations
AddPart #
Adds a part to the content
method : public : AddPart(part:Part) ~ ContentParameters
| Name | Type | Description |
|---|---|---|
| part | Part | to add |
Return
| Type | Description |
|---|---|
| Content | self reference to Content |
GetFirstPart #
Get the first part
method : public : GetFirstPart() ~ PartReturn
| Type | Description |
|---|---|
| Part | first part |
GetParts #
Get all parts
method : public : GetParts() ~ Vector<Part>Return
| Type | Description |
|---|---|
| Vector<Part> | all parts |