Search Results for

    Show / Hide Table of Contents

    Class OllamaModelData

    Information about a single locally available model.

    Inheritance
    object
    OllamaModelData
    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.Ollama
    Assembly: Glitch9.AIDevKit.Provider.Ollama.dll
    Syntax
    public class OllamaModelData : 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
    [JsonIgnore]
    public string BaseId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Details

    Required. Detailed information about the model.

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

    Digest

    Required. The digest of the model. 筌뤴뫀?????뵬????곷뻻 揶? 癰귣똾??SHA-256 揶쏆늿? ??곷뻻 ???€х뵳?弛??곗쨮 ??밴쉐???얜챷???€以? ??€??筌뤴뫀????類λ??源껊궢 ?⑥쥙?€?源놁뱽 ?類ㅼ뵥

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

    ExpiresAt

    Required. The expiration time of the model in Zulu time.

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

    Family

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

    Id

    Required. The name of the model.

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

    IsCustom

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

    IsTrainable

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

    Name

    Required. The model identifier.

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

    OwnedBy

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

    Size

    Required. The model file size in bytes.

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

    SizeVram

    Required. The VRAM size required by the model.

    Declaration
    [JsonProperty("size_vram")]
    public long SizeVram { get; set; }
    Property Value
    Type Description
    long

    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