TextChannelGeneratorConfigΒΆ
class TextChannelGeneratorConfig ( BaseChannelGeneratorConfig )
Configuration for text channel input generation.
Polymorphic Type:
type: textAll
BaseChannelGeneratorConfigtypes:
image: ImageChannelGeneratorConfig
audio: AudioChannelGeneratorConfig
video: VideoChannelGeneratorConfig
Fields:
body_length_generatorBaseLengthGeneratorConfig = UniformLengthGeneratorConfigThe generator for the body (prompt) length.
Available types:
fixed: FixedLengthGeneratorConfigfixed_stair: StairLengthGeneratorConfiguniform: UniformLengthGeneratorConfiginverse_gaussian: InverseGaussianLengthGeneratorConfig
shared_prefix_ratiofloat =0.0Fraction of prompt tokens to use as shared prefix for root requests (0.0-1.0)
shared_prefix_probabilityfloat =1.0Probability that a root request uses shared prefix (0.0-1.0)