Search Results for

    Show / Hide Table of Contents

    Class XAIModelInfo

    Inheritance
    object
    XAIModelInfo
    XAIAudioModel
    XAIEmbeddingModel
    XAIImageModel
    XAILanguageModel
    Implements
    IModelInfo
    IAIResource
    IData
    IHasId<string>
    IHasName
    IDeprecatable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.xAI
    Assembly: Glitch9.AIDevKit.Provider.XAI.dll
    Syntax
    public abstract class XAIModelInfo : IModelInfo, IAIResource, IData, IHasId<string>, IHasName, IDeprecatable

    Properties

    | Edit this page View Source

    Aliases

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

    Api

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

    Cluster

    Declaration
    [JsonProperty("cluster")]
    public string Cluster { get; set; }
    Property Value
    Type Description
    string
    | 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

    Declaration
    [JsonProperty("inputModalities")]
    public List<string> InputModalities { get; set; }
    Property Value
    Type Description
    List<string>
    | 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
    [JsonIgnore]
    public int? InputTokenLimit { get; }
    Property Value
    Type Description
    int?
    | 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

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

    Prices

    The pricing tiers for using this model.

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

    Rpd

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

    Rph

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

    Rpm

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

    Rps

    Declaration
    [JsonProperty("rps")]
    public string Rps { get; set; }
    Property Value
    Type Description
    string
    | 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