Table of Contents

Class ModelRegistry

Namespace
JD.AI.Core.LocalModels
Assembly
JD.AI.Core.dll

JSON-serializable model registry manifest.

public sealed record ModelRegistry : IEquatable<ModelRegistry>
Inheritance
ModelRegistry
Implements
Inherited Members

Properties

Models

[JsonPropertyName("models")]
[SuppressMessage("Usage", "CA1002:Do not expose generic lists", Justification = "Internal mutable collection for JSON serialization")]
[SuppressMessage("Design", "MA0016:Prefer using collection abstraction instead of implementation", Justification = "Needs List for mutation")]
public List<ModelMetadata> Models { get; init; }

Property Value

List<ModelMetadata>

Version

[JsonPropertyName("version")]
public int Version { get; init; }

Property Value

int