Skip to content

Interface: ViolationDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ViolationDto

Defined in: src/types/generation.ts:6

A constraint violation found while verifying a generated document.

description: string

Defined in: src/types/generation.ts:8

Description of the violation.


optional relatedFactId?: string | null

Defined in: src/types/generation.ts:10

Related fact ID (if applicable).


severity: string

Defined in: src/types/generation.ts:12

Severity: “error” or “warning”.