chatgpt-fine-tuning
Version:
Easily tune your models.
9 lines (8 loc) • 374 B
TypeScript
import IFineTuningRowElement from "../models/FineTuningRowElement";
export default class FineTuningRowElement implements IFineTuningRowElement {
readonly role: "system" | "assistant" | "user";
readonly content: string;
weight?: 0 | 1;
constructor(role: "system" | "assistant" | "user", content: string, weight?: 0 | 1);
setWeight(weight: 0 | 1): void;
}