Class OllamaModelData
Information about a single locally available model.
public class OllamaModelData : IModelData, IAssetData, IProviderData, IData
- Inheritance
-
objectOllamaModelData
- Implements
-
IData
Properties
Api
public Api Api { get; }
Property Value
BaseId
public string BaseId { get; }
Property Value
- string
Details
Required. Detailed information about the model.
public ModelDetails Details { get; set; }
Property Value
Digest
Required. The digest of the model. 모델 파일의 해시 값 보통 SHA-256 같은 해시 알고리즘으로 생성된 문자열로 해당 모델의 정합성과 고유성을 확인
public string Digest { get; set; }
Property Value
- string
ExpiresAt
Required. The expiration time of the model in Zulu time.
public ZuluTime ExpiresAt { get; set; }
Property Value
- ZuluTime
Family
public string Family { get; }
Property Value
- string
Id
Required. The name of the model.
public string Id { get; set; }
Property Value
- string
IsCustom
public bool? IsCustom { get; }
Property Value
- bool?
IsTrainable
public bool? IsTrainable { get; }
Property Value
- bool?
Name
Required. The model identifier.
public string Name { get; set; }
Property Value
- string
OwnedBy
public string OwnedBy { get; }
Property Value
- string
Size
Required. The model file size in bytes.
public long Size { get; set; }
Property Value
- long
SizeVram
Required. The VRAM size required by the model.
public long SizeVram { get; set; }
Property Value
- long