Interface: TrainingExampleDto
@kortexya/reasoninglayer / TrainingExampleDto
Interface: TrainingExampleDto
Section titled “Interface: TrainingExampleDto”Defined in: src/types/synthetic.ts:227
A serialized training example ready for JSONL export.
Properties
Section titled “Properties”faithfulnessScore?
Section titled “faithfulnessScore?”
optionalfaithfulnessScore?:number|null
Defined in: src/types/synthetic.ts:229
Faithfulness verification score.
format
Section titled “format”format:
string
Defined in: src/types/synthetic.ts:231
Training pair format (Extraction, QuestionAnswer, FillBlank, Negative, MultiHop).
generationMethod?
Section titled “generationMethod?”
optionalgenerationMethod?: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
Section titled “output”output:
string
Defined in: src/types/synthetic.ts:239
Expected output (entities, relations, answers).
polarity
Section titled “polarity”polarity:
string
Defined in: src/types/synthetic.ts:241
Polarity (Positive or Negative).
sortName?
Section titled “sortName?”
optionalsortName?:string|null
Defined in: src/types/synthetic.ts:243
Sort name for sort-specific pairs.
source
Section titled “source”source:
string
Defined in: src/types/synthetic.ts:245
Data source (real, synthetic, negative).