Class GoogleAIModelInfo
Inheritance
GoogleAIModelInfo
Assembly: Glitch9.AIDevKit.Provider.Google.dll
Syntax
public sealed class GoogleAIModelInfo : IModelInfo, IAIResource, IData, IHasId<string>, IHasName, IDeprecatable
Properties
|
Edit this page
View Source
Api
Declaration
[JsonIgnore]
public Api Api { get; }
Property Value
|
Edit this page
View Source
BaseId
Declaration
[JsonProperty("baseModelId")]
public string BaseId { get; set; }
Property Value
|
Edit this page
View Source
Capabilities
The set of capabilities this model supports (e.g. Chat, Streaming, FunctionCalling).
Declaration
[JsonIgnore]
public ModelCapability[] Capabilities { get; }
Property Value
|
Edit this page
View Source
Description
Declaration
[JsonProperty("description")]
public string Description { get; set; }
Property Value
|
Edit this page
View Source
DisplayName
Declaration
[JsonProperty("displayName")]
public string DisplayName { get; set; }
Property Value
|
Edit this page
View Source
FineTuningInfo
Base model information for fine-tuned models. Null if this is not a fine-tuned model.
Use IsCustom to check whether this model is fine-tuned.
Declaration
[JsonIgnore]
public BaseModelInfo FineTuningInfo { get; }
Property Value
|
Edit this page
View Source
Id
Declaration
[JsonProperty("name")]
public string Id { get; set; }
Property Value
|
Edit this page
View Source
The modalities this model accepts as input (e.g. Text, Image, Audio).
Declaration
[JsonIgnore]
public Modality[] InputModalities { get; }
Property Value
|
Edit this page
View Source
Maximum number of tokens this model accepts as input.
Also known as: Max Prompt Tokens, Max Context Tokens, Context Size, Context Length.
Declaration
[JsonProperty("inputTokenLimit")]
public int? InputTokenLimit { get; set; }
Property Value
|
Edit this page
View Source
IsCustom
Declaration
[JsonIgnore]
public bool? IsCustom { get; }
Property Value
|
Edit this page
View Source
Name
Gets the name of this object.
Declaration
[JsonIgnore]
public string Name { get; }
Property Value
|
Edit this page
View Source
OutputModalities
The modalities this model produces as output (e.g. Text, Image, Audio).
Declaration
[JsonIgnore]
public Modality[] OutputModalities { get; }
Property Value
|
Edit this page
View Source
OutputTokenLimit
Maximum number of tokens this model can generate as output.
Also known as: Max Completion Tokens, Max Response Tokens.
Declaration
[JsonProperty("outputTokenLimit")]
public int? OutputTokenLimit { get; set; }
Property Value
|
Edit this page
View Source
OwnedBy
Declaration
[JsonIgnore]
public string OwnedBy { get; }
Property Value
|
Edit this page
View Source
SupportedGenerationMethods
The model's supported generation methods.
The corresponding API method names are defined as Pascal case strings, such as generateMessage and generateContent.
Declaration
[JsonProperty("supportedGenerationMethods")]
public string[] SupportedGenerationMethods { get; set; }
Property Value
|
Edit this page
View Source
Temperature
Declaration
[JsonProperty("temperature")]
public double Temperature { get; set; }
Property Value
|
Edit this page
View Source
TopK
Declaration
[JsonProperty("topK")]
public int TopK { get; set; }
Property Value
|
Edit this page
View Source
TopP
Declaration
[JsonProperty("topP")]
public double TopP { get; set; }
Property Value
|
Edit this page
View Source
Type
The primary type of the model (e.g. Language, ImageGeneration, TextToSpeech).
Declaration
[JsonIgnore]
public ModelType Type { get; }
Property Value
|
Edit this page
View Source
Version
Declaration
[JsonProperty("version")]
public string Version { get; set; }
Property Value
Implements
Extension Methods