Constructor ChatBackendReport
ChatBackendReport(string, string, string, string?, IReadOnlyList<string>, bool, EdgeGuidanceProbeResult, string)
What the shipped native build and this model actually turned out to be.
public ChatBackendReport(string GenAiVersion, string OrtVersion, string RuntimeIdentifier, string? Abi, IReadOnlyList<string> Providers, bool ChatTemplateSupported, EdgeGuidanceProbeResult Guidance, string PromptFormatter)
Parameters
GenAiVersionstringThe
Microsoft.ML.OnnxRuntimeGenAIpackage version, taken from the assembly metadata the csproj emits out of the central package pin. Not read from the GenAI assembly: it reportsAssemblyVersion0.0.0.0,FileVersion0.0.0.0, carries noAssemblyInformationalVersionAttribute, and its managed surface has no version API (measured - plan adjustment 1).OrtVersionstringThe ONNX Runtime assembly version loaded in this process.
RuntimeIdentifierstringThe running RID.
AbistringThe running Android ABI, or null off Android.
ProvidersIReadOnlyList<string>The execution providers named in the resolved configuration.
ChatTemplateSupportedboolWhether minja parsed the model's own Jinja template. False is not a guess:
TokenizerImpl::LoadChatTemplatereturns OK with only a warning when it cannot, so the failure would otherwise surface mid-sentence on a user's first message.GuidanceEdgeGuidanceProbeResultThe guidance probe's verdict. NotEnforced means not proven enforced and not proven absent.
PromptFormatterstringWhich formatter this model's prompts go through: the model's own chat template, the consumer's ChatPromptFormatter, or the role-prefixed fallback whose output quality is materially worse.