Table of Contents

Property DefaultImagePayloadPix

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

DefaultImagePayloadPix

Gets or sets the maximum pixel payload size for images when generating vision embeddings.

public int DefaultImagePayloadPix { get; set; }

Property Value

int

The default value is 1024 * 1024.

Remarks

The value is clamped between 0 and 2048 × 2028 pixels (inclusive).
Setting this to zero prevents any image payload from being included in the generated partitions.
When enabled, the payload consists of the image encoded as a PNG and then Base64-encoded.