method

Setter for method.

method: The method to use for tuning (SUPERVISED_FINE_TUNING or PREFERENCE_TUNING or DISTILLATION). If not set, the default method (SFT) will be used.


@CanIgnoreReturnValue()
public CreateTuningJobConfig.Builder method(TuningMethod.Known knownType)

Setter for method given a known enum.

method: The method to use for tuning (SUPERVISED_FINE_TUNING or PREFERENCE_TUNING or DISTILLATION). If not set, the default method (SFT) will be used.


@CanIgnoreReturnValue()
public CreateTuningJobConfig.Builder method(String method)

Setter for method given a string.

method: The method to use for tuning (SUPERVISED_FINE_TUNING or PREFERENCE_TUNING or DISTILLATION). If not set, the default method (SFT) will be used.