Skip to content

Interface: OsfDiffSequenceRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OsfDiffSequenceRequest

Defined in: src/types/osf-diff.ts:201

Request to diff an ordered sequence of sides.

Sent to POST /api/v1/osf/diff/sequence. Supply either selectors (2..=20 ordered sides) or documentFamilyId (expanded server-side into the family’s ordered version chain) — the two are mutually exclusive.

const request: OsfDiffSequenceRequest = {
documentFamilyId: '3f0c8b1e-...',
threshold: 0.7,
};

optional documentFamilyId?: string | null

Defined in: src/types/osf-diff.ts:206

Document version family UUID to expand into its ordered version chain.


optional selectors?: TermSetSelector[]

Defined in: src/types/osf-diff.ts:203

Ordered selectors (2..=20). Mutually exclusive with documentFamilyId.


optional threshold?: number | null

Defined in: src/types/osf-diff.ts:209

Minimum match degree for two entities to be considered the same (default 0.7).