Information about the unique ID of a Generative Language Model.
More...
|
static implicit | operator string (GeminiModelId model) |
| Gets the base model ID of the GeminiModelId.
|
|
static implicit | operator GeminiModelId (string nameOrBaseModelId) |
| Creates a new GeminiModelId with the full name of the model resource (see Name) or the unique ID of the base model.
|
|
|
string | Name |
| The resource name of the Model.
|
|
string | BaseModelId |
| The ID of the base model, pass this to the generation request.
|
|
|
const string | DefaultModelResourceLocation = "models/" |
| The default resource location for all models.
|
|
Information about the unique ID of a Generative Language Model.
◆ GeminiModelId() [1/2]
Uralstech.UGemini.Models.GeminiModelId.GeminiModelId |
( |
string | nameOrBaseModelId | ) |
|
Creates a new GeminiModelId.
- Parameters
-
nameOrBaseModelId | The full name of the model resource (see Name) or the unique ID of the base model. |
◆ GeminiModelId() [2/2]
Uralstech.UGemini.Models.GeminiModelId.GeminiModelId |
( |
string | name, |
|
|
string | baseModelId ) |
Creates a new GeminiModelId.
- Parameters
-
name | The resource name of the Model, see Name. |
baseModelId | The ID of the base model. |
◆ Name
string Uralstech.UGemini.Models.GeminiModelId.Name |
The resource name of the Model.
Format: models/{model} with a {model} naming convention of:
"{baseModelId}-{version}"
The documentation for this class was generated from the following file:
- UGemini/Packages/com.uralstech.ugemini/Runtime/Scripts/Data/Models/GeminiModelId.cs