Table of Contents

Method ProvisionModelAtStartup

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

ProvisionModelAtStartup(EdgeBuilder, string)

Startup order 210. Verifies presence and faults startup if the model is missing. Off by default, and it never downloads: blocking IEdgeHost.Started on a transfer also blocks every IEdgeDatabase.OpenConnectionAsync.

public static EdgeBuilder ProvisionModelAtStartup(this EdgeBuilder builder, string modelId)

Parameters

builder EdgeBuilder

The Qavren.Edge builder.

modelId string

The model to check for.

Returns

EdgeBuilder

The same builder.