Package dev.dokimos.core
Class DatasetParser
java.lang.Object
dev.dokimos.core.DatasetParser
-
Method Summary
-
Method Details
-
parseJson
-
parseJsonl
Parses a dataset from a JSONL file, streaming line-by-line from disk.- Parameters:
path- the file pathname- the dataset name- Returns:
- the parsed dataset
- Throws:
IOException- if reading the file fails
-
parseJsonl
Parses a dataset from a JSONL string. Each line is a separate JSON object representing an example.- Parameters:
jsonl- the JSONL contentname- the dataset name- Returns:
- the parsed dataset
-
parseCsv
-
parseCsv
-