UNPKG

chatgpt-fine-tuning

Version:
16 lines (15 loc) 531 B
import { ChatGPTAPIOptions, SendMessageOptions } from "chatgpt"; import Tuner from "./classes/Tuner"; export { Tuner }; declare class ChatGptFineTuning { readonly config: ChatGPTAPIOptions; readonly outfile: string; private instance; /** * @param config - ChatGPT API configuration * @param outfile - Output file path (JSONL) */ constructor(config: ChatGPTAPIOptions, outfile: string); sendMessage(text: string, opts?: SendMessageOptions): Promise<Tuner>; } export default ChatGptFineTuning;