Search Results for

    Show / Hide Table of Contents

    Class GoogleAIModelInfo

    Inheritance
    object
    GoogleAIModelInfo
    Implements
    IModelInfo
    IAIResource
    IData
    IHasId<string>
    IHasName
    IDeprecatable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google
    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
    Type Description
    Api
    | Edit this page View Source

    BaseId

    Declaration
    [JsonProperty("baseModelId")]
    public string BaseId { get; set; }
    Property Value
    Type Description
    string
    | 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
    Type Description
    ModelCapability[]
    | Edit this page View Source

    Description

    Declaration
    [JsonProperty("description")]
    public string Description { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    DisplayName

    Declaration
    [JsonProperty("displayName")]
    public string DisplayName { get; set; }
    Property Value
    Type Description
    string
    | 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
    Type Description
    BaseModelInfo
    | Edit this page View Source

    Id

    Declaration
    [JsonProperty("name")]
    public string Id { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    InputModalities

    The modalities this model accepts as input (e.g. Text, Image, Audio).

    Declaration
    [JsonIgnore]
    public Modality[] InputModalities { get; }
    Property Value
    Type Description
    Modality[]
    | Edit this page View Source

    InputTokenLimit

    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
    Type Description
    int?
    | Edit this page View Source

    IsCustom

    Declaration
    [JsonIgnore]
    public bool? IsCustom { get; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Name

    Gets the name of this object.

    Declaration
    [JsonIgnore]
    public string Name { get; }
    Property Value
    Type Description
    string
    | 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
    Type Description
    Modality[]
    | 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
    Type Description
    int?
    | Edit this page View Source

    OwnedBy

    Declaration
    [JsonIgnore]
    public string OwnedBy { get; }
    Property Value
    Type Description
    string
    | 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
    Type Description
    string[]
    | Edit this page View Source

    Temperature

    Declaration
    [JsonProperty("temperature")]
    public double Temperature { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    TopK

    Declaration
    [JsonProperty("topK")]
    public int TopK { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    TopP

    Declaration
    [JsonProperty("topP")]
    public double TopP { get; set; }
    Property Value
    Type Description
    double
    | 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
    Type Description
    ModelType
    | Edit this page View Source

    Version

    Declaration
    [JsonProperty("version")]
    public string Version { get; set; }
    Property Value
    Type Description
    string

    Implements

    IModelInfo
    IAIResource
    IData
    IHasId<TId>
    IHasName
    IDeprecatable

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    CoreLibTypeExtensions.GetNameOrDash(IData)
    CoreLibTypeExtensions.GetIdOrNull(IHasId<string>)
    CoreLibTypeExtensions.IsNullOrEmptyId(IHasId<string>)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation