Skip to content

Latest commit

 

History

History
337 lines (202 loc) · 6.19 KB

File metadata and controls

337 lines (202 loc) · 6.19 KB

ModelInfo

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 ObjectModelInfo
Implements IEquatable<ModelInfo>
Attributes NullableContextAttribute, NullableAttribute, RequiredMemberAttribute

Properties

Id

public string Id { get; set; }

Property Value

String

Name

public string Name { get; set; }

Property Value

String

Version

public int Version { get; set; }

Property Value

Int32

Alias

public string Alias { get; set; }

Property Value

String

DisplayName

public string DisplayName { get; set; }

Property Value

String

ProviderType

public string ProviderType { get; set; }

Property Value

String

Uri

public string Uri { get; set; }

Property Value

String

ModelType

public string ModelType { get; set; }

Property Value

String

PromptTemplate

public PromptTemplate PromptTemplate { get; set; }

Property Value

PromptTemplate

Publisher

public string Publisher { get; set; }

Property Value

String

ModelSettings

public ModelSettings ModelSettings { get; set; }

Property Value

ModelSettings

License

public string License { get; set; }

Property Value

String

LicenseDescription

public string LicenseDescription { get; set; }

Property Value

String

Cached

public bool Cached { get; set; }

Property Value

Boolean

Task

public string Task { get; set; }

Property Value

String

Runtime

public Runtime Runtime { get; set; }

Property Value

Runtime

FileSizeMb

public Nullable<int> FileSizeMb { get; set; }

Property Value

Nullable<Int32>

SupportsToolCalling

public Nullable<bool> SupportsToolCalling { get; set; }

Property Value

Nullable<Boolean>

MaxOutputTokens

public Nullable<long> MaxOutputTokens { get; set; }

Property Value

Nullable<Int64>

MinFLVersion

public string MinFLVersion { get; set; }

Property Value

String

CreatedAtUnix

public long CreatedAtUnix { get; set; }

Property Value

Int64

ContextLength

public Nullable<long> ContextLength { get; set; }

Property Value

Nullable<Int64>

InputModalities

public string InputModalities { get; set; }

Property Value

String

OutputModalities

public string OutputModalities { get; set; }

Property Value

String

Capabilities

public string Capabilities { get; set; }

Property Value

String

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

String

GetHashCode()

public int GetHashCode()

Returns

Int32

Equals(Object)

public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(ModelInfo)

public bool Equals(ModelInfo other)

Parameters

other ModelInfo

Returns

Boolean

<Clone>$()

public ModelInfo <Clone>$()

Returns

ModelInfo