Class OllamaModelData
Information about a single locally available model.
Inheritance
OllamaModelData
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
|
Edit this page
View Source
BaseId
Declaration
[JsonIgnore]
public string BaseId { get; }
Property Value
|
Edit this page
View Source
Details
Required. Detailed information about the model.
Declaration
[JsonProperty("details")]
public ModelDetails Details { get; set; }
Property Value
|
Edit this page
View Source
Digest
Required. The digest of the model.
筌뤴뫀?????뵬????곷뻻 揶?
癰귣똾??SHA-256 揶쏆늿? ??곷뻻 ???х뵳?弛??곗쨮 ??밴쉐???얜챷???以?
????筌뤴뫀????類λ??源껊궢 ?⑥쥙??源놁뱽 ?類ㅼ뵥
Declaration
[JsonProperty("digest")]
public string Digest { get; set; }
Property Value
|
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
|
Edit this page
View Source
Family
Declaration
[JsonIgnore]
public string Family { get; }
Property Value
|
Edit this page
View Source
Id
Required. The name of the model.
Declaration
[JsonProperty("name")]
public string Id { get; set; }
Property Value
|
Edit this page
View Source
IsCustom
Declaration
[JsonIgnore]
public bool? IsCustom { get; }
Property Value
|
Edit this page
View Source
IsTrainable
Declaration
[JsonIgnore]
public bool? IsTrainable { get; }
Property Value
|
Edit this page
View Source
Name
Required. The model identifier.
Declaration
[JsonProperty("model")]
public string Name { get; set; }
Property Value
|
Edit this page
View Source
OwnedBy
Declaration
[JsonIgnore]
public string OwnedBy { get; }
Property Value
|
Edit this page
View Source
Size
Required. The model file size in bytes.
Declaration
[JsonProperty("size")]
public long Size { get; set; }
Property Value
|
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
Implements
Extension Methods