Table of Contents

Method BuildDefinition

Namespace
Qavren.Edge.Ingestion
Assembly
Qavren.Edge.Ingestion.dll

BuildDefinition(int, string, bool)

Builds the chunk collection's definition programmatically — no attributed record type, no reflection, so the dimension is a runtime value and 384-dim MiniLM and 768-dim nomic share one code path.

The vector property is declared ReadOnlyMemory<T> of float, not a string source, because SP3 resolves every vector itself (spec 9.5 step a1). That single decision is what makes EmbedCalls countable and 6206 separable from 6207.

public static VectorStoreCollectionDefinition BuildDefinition(int dimensions, string distanceFunction, bool fullTextIndexed)

Parameters

dimensions int

The vector width.

distanceFunction string

One of MEVD's DistanceFunction constants.

fullTextIndexed bool

Mark text and heading_path full-text indexed.

Returns

VectorStoreCollectionDefinition

The definition.