Skip to content

Interface: TrainingExampleDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Synthetic / TrainingExampleDto

Interface: TrainingExampleDto

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

A serialized training example ready for JSONL export.

Properties

faithfulnessScore?

optional faithfulnessScore: number | null

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

Faithfulness verification score.


format

format: string

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

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


generationMethod?

optional generationMethod: string | null

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

Generation method used.


id

id: string

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

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


input

input: string

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

Input text (natural language or structured).


output

output: string

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

Expected output (entities, relations, answers).


polarity

polarity: string

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

Polarity (Positive or Negative).


sortName?

optional sortName: string | null

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

Sort name for sort-specific pairs.


source

source: string

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

Data source (real, synthetic, negative).