Table of Contents

Constructor ChatTrainingSample

Namespace
LMKit.Finetuning
Assembly
LM-Kit.NET.dll

ChatTrainingSample(ChatHistory, InferenceModality)

Initializes a new instance of the ChatTrainingSample class.

public ChatTrainingSample(ChatHistory chatHistory, InferenceModality inferenceModality = InferenceModality.Multimodal)

Parameters

chatHistory ChatHistory

The conversation transcript to use as the training signal. Must not be null and should contain at least one turn.

inferenceModality InferenceModality

The target modality for downstream inference. Defaults to Multimodal.