Table of Contents

Property MaxEntries

Namespace
LMKit.Extraction
Assembly
LM-Kit.NET.dll

MaxEntries

Gets or sets the maximum number of entries an array element may contain. A value of 0 or less indicates no limit.

public int MaxEntries { get; set; }

Property Value

int

Remarks

Applicable for array element types. The bound is enforced by the generation grammar itself, so the model cannot emit more entries and the completion terminates naturally at the limit.

Bounded repetition grows the grammar's state machine and measurably slows per-token evaluation on hot paths; prefer it for correctness guarantees rather than as a speed optimization.

Share