Class: Asimov::Utils::TrainingFileValidator

Inherits:
JsonlValidator show all
Defined in:
lib/asimov/utils/training_file_validator.rb

Overview

Validates that a file is in the “fine-tune” format used by OpenAI. The file is a JSONL file, with “prompt” and “completion” keys for each line that have string values. No other keys are permitted.

Method Summary

Methods inherited from JsonlValidator

#validate