v2025.6.2
All Bundles

Dataset

Dataset for training or validation

Operations

AddExample

Adds a training example

method : public : AddExample(example:TuningExample) ~ Nil

Parameters

NameTypeDescription
exampleTuningExampletraining example to add

GetExamples

Gets training examples

method : public : GetExamples() ~ Vector<TuningExample>

Return

TypeDescription
Vector<TuningExample>training examples

New

Constructor

New()

ToJson

JSON representation of the instance

method : public : ToJson() ~ JsonElement

Return

TypeDescription
JsonElementJSON representation of the instance

ToString

JSON string representation of the instance

method : public : ToString() ~ String

Return

TypeDescription
StringJSON string representation of the instance