Table of Contents

Constructor SarcasmDetectionTrainingDataset

Namespace
LMKit.TextAnalysis.Training
Assembly
LM-Kit.NET.dll

SarcasmDetectionTrainingDataset(SarcasmDetection)

Initializes a sarcasm-detection-focused training dataset bound to a specific SarcasmDetection engine instance.

public SarcasmDetectionTrainingDataset(SarcasmDetection engine)

Parameters

engine SarcasmDetection

The configured sarcasm detection engine whose prompts and model will be used to generate training samples.

Examples

var engine = new SarcasmDetection(/* configured elsewhere */);
var dataset = new SarcasmDetectionTrainingDataset(engine);
dataset.AddSample("Yeah, because missing the flight made my day.", true);

Remarks

The constructor captures the current state of engine. Subsequent calls to AddSample(string, bool) will synthesize chat examples consistent with this configuration.