BranchingSessionGraphGeneratorConfigΒΆ
class BranchingSessionGraphGeneratorConfig ( BaseSessionGraphGeneratorConfig )
Generator of branching session graphs (DAGs with fan-out and fan-in).
Polymorphic Type:
type: branchingAll
BaseSessionGraphGeneratorConfigtypes:
single_request: SingleRequestSessionGraphGeneratorConfig
branching: BranchingSessionGraphGeneratorConfig
Fields:
num_layers_generatorBaseLengthGeneratorConfig = UniformLengthGeneratorConfigGenerator for the number of layers (depth).
Available types:
fixed: FixedLengthGeneratorConfigfixed_stair: StairLengthGeneratorConfiguniform: UniformLengthGeneratorConfiginverse_gaussian: InverseGaussianLengthGeneratorConfig
layer_width_generatorBaseLengthGeneratorConfig = UniformLengthGeneratorConfigGenerator for width per layer (sampled independently for each layer).
Available types:
fixed: FixedLengthGeneratorConfigfixed_stair: StairLengthGeneratorConfiguniform: UniformLengthGeneratorConfiginverse_gaussian: InverseGaussianLengthGeneratorConfig
fan_out_generatorBaseLengthGeneratorConfig = UniformLengthGeneratorConfigGenerator for number of outgoing edges per node.
Available types:
fixed: FixedLengthGeneratorConfigfixed_stair: StairLengthGeneratorConfiguniform: UniformLengthGeneratorConfiginverse_gaussian: InverseGaussianLengthGeneratorConfig
fan_in_generatorBaseLengthGeneratorConfig = UniformLengthGeneratorConfigGenerator for minimum incoming edges per node. Capped to available parent nodes.
Available types:
fixed: FixedLengthGeneratorConfigfixed_stair: StairLengthGeneratorConfiguniform: UniformLengthGeneratorConfiginverse_gaussian: InverseGaussianLengthGeneratorConfig
connection_dist_generatorBaseLengthGeneratorConfig = FixedLengthGeneratorConfigGenerator for forward skip distance (1 = next layer, 2 = skip one layer, etc.). Capped to last layer.
Available types:
fixed: FixedLengthGeneratorConfigfixed_stair: StairLengthGeneratorConfiguniform: UniformLengthGeneratorConfiginverse_gaussian: InverseGaussianLengthGeneratorConfig
request_wait_generatorBaseIntervalGeneratorConfig = PoissonIntervalGeneratorConfigGenerator for wait time after all parents complete.
Available types:
gamma: GammaIntervalGeneratorConfigpoisson: PoissonIntervalGeneratorConfigfixed: FixedIntervalGeneratorConfig
inherit_historybool =TrueWhen true, one parent per node is randomly selected as history provider.
single_rootbool =TrueForce layer 0 to have exactly 1 node (typical for chat sessions).