UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
▼NUralstech | |
▼NUGemini | |
▼NExceptions | |
CGeminiRequestException | Thrown when a Gemini API request fails |
▼NFileAPI | |
CGeminiFile | Metadata for a file uploaded to the File API |
CGeminiFileDeleteRequest | Requests the deletion of a file |
CGeminiFileGetRequest | Requests metadata for an existing file. Return type is GeminiFile |
CGeminiFileListRequest | Requests metadata for all existing files. Return type is GeminiFileListResponse |
CGeminiFileListResponse | The response for a GeminiFileListRequest call |
CGeminiFileUploadMetaData | Metadata for a GeminiFile to be uploaded |
CGeminiFileUploadRequest | Uploads a file to the Gemini File API. Response type is GeminiFileUploadResponse |
CGeminiFileUploadResponse | Response for a file upload request |
CGeminiFileVideoMetaData | Metadata for a video GeminiFile |
▼NModels | |
▼NCaching | |
CGeminiCachedContent | Content that has been preprocessed and can be used in subsequent request to GenerativeService |
CGeminiCachedContentCreateRequest | Creates a GeminiCachedContent resource. Response type is GeminiCachedContent |
CGeminiCachedContentCreationData | Data to cache content that has been preprocessed and can be used in subsequent request to GenerativeService |
CGeminiCachedContentDeleteRequest | Requests for deletion of a cached content resource |
CGeminiCachedContentGetRequest | Requests metadata cached content. Return type is GeminiCachedContent |
CGeminiCachedContentListRequest | Requests metadata for all existing cached content. Return type is GeminiCachedContentListResponse |
CGeminiCachedContentListResponse | The response for a GeminiCachedContentListRequest call |
CGeminiCachedContentPatchData | Data to patch an existing cached content resource with new data |
CGeminiCachedContentPatchRequest | Patches a GeminiCachedContent resource. Response type is GeminiCachedContent |
CGeminiCachedContentUsageMetadata | Metadata on the usage of the cached content |
▼NContent | |
▼NAttribution | |
CGeminiAttributionSourceId | Identifier for the source contributing to this attribution |
CGeminiGroundingAttribution | Attribution for a source that contributed to an answer |
CGeminiGroundingPassageId | Identifier for a part within a GroundingPassage |
CGeminiSemanticRetrieverChunk | Identifier for a Chunk retrieved via Semantic Retriever specified in the GenerateAnswerRequest using SemanticRetrieverConfig |
▼NCitation | |
CGeminiCitationMetadata | A collection of source attributions for a piece of content |
CGeminiCitationSource | A citation to a source for a portion of a specific response |
CGeminiContent | The base structured datatype containing multi-part content of a message |
CGeminiContentBlob | Raw media bytes |
CGeminiContentPart | A datatype containing media that is part of a multi-part Content message. Must only contain one field at a time |
CGeminiFileData | URI based data |
CUnityExtensions | Extensions for Unity types |
▼NCountTokens | |
CGeminiTokenCountRequest | Request to count tokens in given content |
CGeminiTokenCountResponse | A response from CountTokens |
▼NEmbedding | |
CGeminiBatchEmbedContentRequest | Generates multiple embeddings from the model given input text in a synchronous call |
CGeminiBatchEmbedContentResponse | The response to a GeminiBatchEmbedContentRequest |
CGeminiContentEmbedding | A list of floats representing an embedding |
CGeminiEmbedContentRequest | Generates an embedding from the model |
CGeminiEmbedContentResponse | The response to a GeminiEmbedContentRequest |
▼NGeneration | |
▼NCandidate | |
CGeminiCandidate | A response candidate generated from the model |
CGeminiPromptFeedback | A set of the feedback metadata for the prompt specified in a generation request |
CGeminiUsageMetadata | Metadata on the generation request's token usage |
▼NChat | |
CGeminiChatRequest | Request to generate a response from the model |
CGeminiChatResponse | Response from the model supporting multiple candidates |
▼NQuestionAnswering | |
►NGrounding | |
►NSemanticRetriever | |
CGeminiAnswerRequest | Generates a grounded answer from the model |
CGeminiAnswerResponse | Response from the model for a grounded answer |
▼NSafety | |
CGeminiSafetyRating | Safety rating for a piece of content |
CGeminiSafetySettings | Safety setting, affecting the safety-blocking behavior |
▼NSchema | |
CGeminiSchema | The Schema object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an OpenAPI 3.0 schema object |
▼NTools | |
►NCodeExecution | |
►NDeclaration | |
CGeminiFunctionCall | A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name with the arguments and their values |
CGeminiFunctionResponse | The result output from a GeminiFunctionCall that contains a string representing the Declaration.GeminiFunctionDeclaration.Name and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a GeminiFunctionCall made based on model prediction |
CGeminiFunctionResponseContent | The response of a Gemini function call. Based on the Protocol Buffer Struct type |
CGeminiGenerationConfiguration | Configuration options for model generation and outputs. Not all parameters may be configurable for every model |
CGeminiModel | Information about a Generative Language Model |
CGeminiModelGetRequest | Gets information about a specific model. Return type is GeminiModel |
CGeminiModelId | Information about the unique ID of a Generative Language Model |
CGeminiModelIdStringConverter | Custom JSON converter to handle conversion of GeminiModelId to a single string value and vice-versa |
CGeminiModelListRequest | Requests metadata for all existing models. Return type is GeminiModelListResponse |
CGeminiModelListResponse | The response for a GeminiModelListRequest call |
▼NStatus | |
CGeminiStatus | The GeminiStatus type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC |
CGeminiStatusDetails | An object containing fields of an arbitrary type |
▼NUtils | |
▼NSingleton | |
CSingleton | Utility class to make inheriting types singletons |
▼NWeb | |
CWebRequestHelper | Extensions for the UnityWebRequest type |
CGeminiContentTypeExtensions | Extensions for Enum type objects |
CGeminiManager | The class for accessing the Gemini API! |
CGeminiRequestMetadata | Metadata about a computation request |
CGeminiSecondsToTimeSpanJsonConverter | Custom JSON converter to convert a time string of a format like "10.334s" to a TimeSpan |
CIAppendableData | An interface for data that is to be appended to at runtime |
CIGeminiDeleteRequest | All Gemini API DELETE requests must inherit from this interface |
CIGeminiGetRequest | All Gemini API GET requests must inherit from this interface |
CIGeminiMultiPartPostRequest | All Gemini API POST requests with multi-part data must inherit from this interface |
CIGeminiPatchRequest | All Gemini API PATCH requests must inherit from this interface |
CIGeminiPostRequest | All Gemini API POST requests must inherit from this interface |
CIGeminiRequest | All Gemini API requests must inherit from this interface |
CIGeminiStreamablePostRequest | All streamed Gemini API POST requests must inherit from this interface |