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

Classes

class  GeminiContentTypeExtensions
 Extensions for Enum type objects. More...
 
class  GeminiManager
 The class for accessing the Gemini API! More...
 
class  GeminiRequestMetadata
 Metadata about a computation request. More...
 
class  GeminiSecondsToTimeSpanJsonConverter
 Custom JSON converter to convert a time string of a format like "10.334s" to a TimeSpan. More...
 
interface  IAppendableData
 An interface for data that is to be appended to at runtime. More...
 
interface  IGeminiDeleteRequest
 All Gemini API DELETE requests must inherit from this interface. More...
 
interface  IGeminiGetRequest
 All Gemini API GET requests must inherit from this interface. More...
 
interface  IGeminiMultiPartPostRequest
 All Gemini API POST requests with multi-part data must inherit from this interface. More...
 
interface  IGeminiPatchRequest
 All Gemini API PATCH requests must inherit from this interface. More...
 
interface  IGeminiPostRequest
 All Gemini API POST requests must inherit from this interface. More...
 
interface  IGeminiRequest
 All Gemini API requests must inherit from this interface. More...
 
interface  IGeminiStreamablePostRequest
 All streamed Gemini API POST requests must inherit from this interface. More...
 

Enumerations

enum  GeminiContentType {
  ImagePNG , ImageJPEG , ImageHEIC , ImageHEIF ,
  ImageWebP , AudioWAV , AudioMP3 , AudioAIFF ,
  AudioAAC , AudioOGG , AudioFLAC , VideoMP4 ,
  VideoMPEG , VideoMOV , VideoAVI , VideoXFLV ,
  VideoMPG , VideoWebM , VideoWMV , Video3GPP ,
  TextPlain , TextHTML , TextCSS , TextJavaScript ,
  TextXTypeScript , TextCSV , TextMarkdown , TextXPython ,
  TextXML , TextRTF , ApplicationXJavaScript , ApplicationXTypeScript ,
  ApplicationXPython , ApplicationJSON , ApplicationRTF , ApplicationPDF
}
 Enum for the types of content able to be fed to the Gemini API. More...
 

Enumeration Type Documentation

◆ GeminiContentType

Enum for the types of content able to be fed to the Gemini API.

Enumerator
ImagePNG 

A PNG image.

ImageJPEG 

A JPEG image.

ImageHEIC 

A HEIC image.

ImageHEIF 

A HEIF image.

ImageWebP 

A WebP image.

AudioWAV 

WAV encoded audio.

AudioMP3 

MP3 encoded audio.

AudioAIFF 

AIFF encoded audio.

AudioAAC 

AAC encoded audio.

AudioOGG 

OGG encoded audio.

AudioFLAC 

FLAC encoded audio.

VideoMP4 

MP4 encoded video.

VideoMPEG 

MPEG encoded video.

VideoMOV 

MOV encoded video.

VideoAVI 

AVI encoded video.

VideoXFLV 

FLV encoded video.

VideoMPG 

MPG encoded video.

VideoWebM 

WebM encoded video.

VideoWMV 

WMV encoded video.

Video3GPP 

3GPP encoded video.

TextPlain 

(File API) Plain text.

TextHTML 

(File API) HTML text.

TextCSS 

(File API) CSS text.

TextJavaScript 

(File API) JavaScript text.

TextXTypeScript 

(File API) TypeScript text.

TextCSV 

(File API) CSV text.

TextMarkdown 

(File API) Markdown text.

TextXPython 

(File API) Python text.

TextXML 

(File API) XML text.

TextRTF 

(File API) RTF text.

ApplicationXJavaScript 

(File API) Application JavaScript content.

ApplicationXTypeScript 

(File API) Application TypeScript content.

ApplicationXPython 

(File API) Application Python content.

ApplicationJSON 

(File API) Application JSON content.

ApplicationRTF 

(File API) Application RTF content.

ApplicationPDF 

(File API) Application PDF content.