Table of Contents

Constructor ChatModelInfo

Namespace
Qavren.Edge.Chat
Assembly
Qavren.Edge.Chat.Onnx.dll

ChatModelInfo(string, string, string, string, ChatModelShape, ChatMemoryDecision, int, ChatBackendReport, TimeSpan, DateTimeOffset, int, int, bool)

Everything the host knows about the model it is holding.

public ChatModelInfo(string PresetId, string ModelId, string Directory, string DirectorySha16, ChatModelShape Shape, ChatMemoryDecision Budget, int ResolvedContextTokens, ChatBackendReport Backend, TimeSpan LoadDuration, DateTimeOffset LoadedAtUtc, int LoadCount, int ActiveLeases, bool IsLoaded)

Parameters

PresetId string

The preset that was loaded.

ModelId string

Its manifest's model id.

Directory string

The provisioned directory handed to new Config(string).

DirectorySha16 string

The 16-character content-addressed directory segment.

Shape ChatModelShape

The geometry read from the provisioned genai_config.json.

Budget ChatMemoryDecision

Every term the memory gate read, and which one bound.

ResolvedContextTokens int

The context the budget allowed.

Backend ChatBackendReport

The native build and this model's two probe results.

LoadDuration TimeSpan

How long new Model plus new Tokenizer took.

LoadedAtUtc DateTimeOffset

When the load completed.

LoadCount int

How many times this host has loaded, including drops and reloads.

ActiveLeases int

Outstanding leases.

IsLoaded bool

Whether the model is resident right now.