Table of Contents

Class EmotionDetectionTrainingDataset

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

Training dataset builder specialized for the EmotionDetection engine. Converts labeled emotion examples into ChatTrainingSample items suitable for supervised fine-tuning.

public sealed class EmotionDetectionTrainingDataset : TrainingDataset
Inheritance
EmotionDetectionTrainingDataset
Inherited Members

Remarks

The dataset uses the current EmotionDetection configuration (model, prompts, and label space) to synthesize ShareGPT-style conversations in which the assistant returns the target emotion label.

Constructors

EmotionDetectionTrainingDataset(EmotionDetection)

Initializes an emotion-detection-focused training dataset bound to a specific EmotionDetection engine instance.

Methods

AddSample(string, EmotionCategory)

Adds a training sample from raw text labeled with the expected emotion.

See Also