UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Gets information about a specific model. Return type is GeminiModel. More...
Public Member Functions | |||
string | GetEndpointUri (GeminiRequestMetadata metadata) | ||
Gets the URI to the API endpoint.
| |||
GeminiModelGetRequest (GeminiModelId modelId, bool useBetaApi=false) | |||
Creates a new GeminiModelGetRequest. | |||
Public Attributes | |
string | ApiVersion |
The API version to use. | |
string | ModelName |
The resource name of the model to get, in the format models/{model}. | |
Gets information about a specific model. Return type is GeminiModel.
Uralstech.UGemini.Models.GeminiModelGetRequest.GeminiModelGetRequest | ( | GeminiModelId | modelId, |
bool | useBetaApi = false ) |
Creates a new GeminiModelGetRequest.
Some newer models do not work with this request unless through the Beta API.
modelId | The ID of the model to get. |
useBetaApi | Should the request use the Beta API? |
string Uralstech.UGemini.Models.GeminiModelGetRequest.GetEndpointUri | ( | GeminiRequestMetadata | metadata | ) |
Gets the URI to the API endpoint.
metadata | The metadata of the request to be carried out on the URI. |
Implements Uralstech.UGemini.IGeminiRequest.