UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Content Namespace Reference

Classes

class  GeminiContent
 The base structured datatype containing multi-part content of a message. More...
 
class  GeminiContentBlob
 Raw media bytes. More...
 
class  GeminiContentPart
 A datatype containing media that is part of a multi-part Content message. Must only contain one field at a time. More...
 
class  GeminiFileData
 URI based data. More...
 
class  UnityExtensions
 Extensions for Unity types. More...
 

Enumerations

enum  GeminiRole { Unspecified , User , Assistant , ToolResponse }
 The role of a Gemini content creator. More...
 

Enumeration Type Documentation

◆ GeminiRole

The role of a Gemini content creator.

Enumerator
Unspecified 

Don't use this.

User 

The content was made by the user.

Assistant 

The content was made by the model.

ToolResponse 

The content was made by a function.

Only available in the beta API.