Documentation
Table of Contents

Property ShadowCheckEvery

Namespace
IntentSharp.Mapping
Assembly
IntentSharp.dll

ShadowCheckEvery

The shadow check, the compiled-mapping form of a side-by-side trial: every this many reuses of a key by this client (a single-input call, or a batch, whose first row is checked), the input is also answered by the model directly, through the ordinary pipeline with these request options, and the answer is compared with the mapping's output. A difference adds a warning naming the differing output paths and a Warning log line; the mapping's value is the one returned and the mapping is not retired. The extra call is counted in the result's usage and attempts (which name the model that answered) and in the client's model calls, while the result's provider and model stay empty. Reuses are counted only by calls that set this above 0, so the count starts with the first such call. Default 0, never.

[Experimental("INTENTSHARP002")]
public int ShadowCheckEvery { get; set; }

Property Value

int