ModelInfo
April 1, 2026 ยท View on GitHub
Namespace: Microsoft.AI.Foundry.Local
public class ModelInfo : System.IEquatable`1[[Microsoft.AI.Foundry.Local.ModelInfo, Microsoft.AI.Foundry.Local, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object โ ModelInfo
Implements IEquatable<ModelInfo>
Attributes NullableContextAttribute, NullableAttribute, RequiredMemberAttribute
Properties
Id
public string Id { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Version
public int Version { get; set; }
Property Value
Alias
public string Alias { get; set; }
Property Value
DisplayName
public string DisplayName { get; set; }
Property Value
ProviderType
public string ProviderType { get; set; }
Property Value
Uri
public string Uri { get; set; }
Property Value
ModelType
public string ModelType { get; set; }
Property Value
PromptTemplate
public PromptTemplate PromptTemplate { get; set; }
Property Value
Publisher
public string Publisher { get; set; }
Property Value
ModelSettings
public ModelSettings ModelSettings { get; set; }
Property Value
License
public string License { get; set; }
Property Value
LicenseDescription
public string LicenseDescription { get; set; }
Property Value
Cached
public bool Cached { get; set; }
Property Value
Task
public string Task { get; set; }
Property Value
Runtime
public Runtime Runtime { get; set; }
Property Value
FileSizeMb
public Nullable<int> FileSizeMb { get; set; }
Property Value
SupportsToolCalling
public Nullable<bool> SupportsToolCalling { get; set; }
Property Value
MaxOutputTokens
public Nullable<long> MaxOutputTokens { get; set; }
Property Value
MinFLVersion
public string MinFLVersion { get; set; }
Property Value
CreatedAtUnix
public long CreatedAtUnix { get; set; }
Property Value
ContextLength
public Nullable<long> ContextLength { get; set; }
Property Value
InputModalities
public string InputModalities { get; set; }
Property Value
OutputModalities
public string OutputModalities { get; set; }
Property Value
Capabilities
public string Capabilities { get; set; }
Property Value
Constructors
ModelInfo()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public ModelInfo()
Methods
ToString()
public string ToString()
Returns
GetHashCode()
public int GetHashCode()
Returns
Equals(Object)
public bool Equals(object obj)
Parameters
obj Object
Returns
Equals(ModelInfo)
public bool Equals(ModelInfo other)
Parameters
other ModelInfo
Returns
<Clone>$()
public ModelInfo <Clone>$()