Builder

public abstract class Builder

Builder for SupervisedTuningDataStats.

Constructors

Functions

Link copied to clipboard
public abstract SupervisedTuningDataStats build()
Link copied to clipboard
Clears the value of droppedExampleReasons field.
Link copied to clipboard
Clears the value of totalBillableCharacterCount field.
Link copied to clipboard
Clears the value of totalBillableTokenCount field.
Link copied to clipboard
Clears the value of totalTruncatedExampleCount field.
Link copied to clipboard
Clears the value of totalTuningCharacterCount field.
Link copied to clipboard
Clears the value of truncatedExampleIndices field.
Link copied to clipboard
Clears the value of tuningDatasetExampleCount field.
Link copied to clipboard
Clears the value of tuningStepCount field.
Link copied to clipboard
Clears the value of userDatasetExamples field.
Link copied to clipboard
Clears the value of userInputTokenDistribution field.
Link copied to clipboard
Clears the value of userMessagePerExampleDistribution field.
Link copied to clipboard
Clears the value of userOutputTokenDistribution field.
Link copied to clipboard
@CanIgnoreReturnValue()
public SupervisedTuningDataStats.Builder droppedExampleReasons(Array<String> droppedExampleReasons)
public abstract SupervisedTuningDataStats.Builder droppedExampleReasons(List<String> droppedExampleReasons)
Setter for droppedExampleReasons.
Link copied to clipboard
public abstract SupervisedTuningDataStats.Builder totalBillableCharacterCount(Long totalBillableCharacterCount)
Setter for totalBillableCharacterCount.
Link copied to clipboard
public abstract SupervisedTuningDataStats.Builder totalBillableTokenCount(Long totalBillableTokenCount)
Setter for totalBillableTokenCount.
Link copied to clipboard
public abstract SupervisedTuningDataStats.Builder totalTruncatedExampleCount(Long totalTruncatedExampleCount)
Setter for totalTruncatedExampleCount.
Link copied to clipboard
public abstract SupervisedTuningDataStats.Builder totalTuningCharacterCount(Long totalTuningCharacterCount)
Setter for totalTuningCharacterCount.
Link copied to clipboard
@CanIgnoreReturnValue()
public SupervisedTuningDataStats.Builder truncatedExampleIndices(Array<Long> truncatedExampleIndices)
public abstract SupervisedTuningDataStats.Builder truncatedExampleIndices(List<Long> truncatedExampleIndices)
Setter for truncatedExampleIndices.
Link copied to clipboard
public abstract SupervisedTuningDataStats.Builder tuningDatasetExampleCount(Long tuningDatasetExampleCount)
Setter for tuningDatasetExampleCount.
Link copied to clipboard
public abstract SupervisedTuningDataStats.Builder tuningStepCount(Long tuningStepCount)
Setter for tuningStepCount.
Link copied to clipboard
@CanIgnoreReturnValue()
public SupervisedTuningDataStats.Builder userDatasetExamples(Array<Content> userDatasetExamples)
public abstract SupervisedTuningDataStats.Builder userDatasetExamples(List<Content> userDatasetExamples)
Setter for userDatasetExamples.
@CanIgnoreReturnValue()
public SupervisedTuningDataStats.Builder userDatasetExamples(Array<Content.Builder> userDatasetExamplesBuilders)
Setter for userDatasetExamples builder.
Link copied to clipboard
Setter for userInputTokenDistribution.
@CanIgnoreReturnValue()
public SupervisedTuningDataStats.Builder userInputTokenDistribution(SupervisedTuningDatasetDistribution.Builder userInputTokenDistributionBuilder)
Setter for userInputTokenDistribution builder.
Link copied to clipboard
Setter for userMessagePerExampleDistribution.
@CanIgnoreReturnValue()
public SupervisedTuningDataStats.Builder userMessagePerExampleDistribution(SupervisedTuningDatasetDistribution.Builder userMessagePerExampleDistributionBuilder)
Setter for userMessagePerExampleDistribution builder.
Link copied to clipboard
Setter for userOutputTokenDistribution.
@CanIgnoreReturnValue()
public SupervisedTuningDataStats.Builder userOutputTokenDistribution(SupervisedTuningDatasetDistribution.Builder userOutputTokenDistributionBuilder)
Setter for userOutputTokenDistribution builder.