Skip to content

Interface: TrainingExampleDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / TrainingExampleDto

Defined in: src/types/synthetic.ts:227

A serialized training example ready for JSONL export.

optional faithfulnessScore?: number | null

Defined in: src/types/synthetic.ts:229

Faithfulness verification score.


format: string

Defined in: src/types/synthetic.ts:231

Training pair format (Extraction, QuestionAnswer, FillBlank, Negative, MultiHop).


optional generationMethod?: string | null

Defined in: src/types/synthetic.ts:233

Generation method used.


id: string

Defined in: src/types/synthetic.ts:235

Unique example identifier (e.g., “synth_000001”).


input: string

Defined in: src/types/synthetic.ts:237

Input text (natural language or structured).


output: string

Defined in: src/types/synthetic.ts:239

Expected output (entities, relations, answers).


polarity: string

Defined in: src/types/synthetic.ts:241

Polarity (Positive or Negative).


optional sortName?: string | null

Defined in: src/types/synthetic.ts:243

Sort name for sort-specific pairs.


source: string

Defined in: src/types/synthetic.ts:245

Data source (real, synthetic, negative).