InstructionProposerConfig

data class InstructionProposerConfig(val useDatasetSummary: Boolean = true, val programAware: Boolean = true, val useTaskDemos: Boolean = true, val numDemosInContext: Int = 3, val useTip: Boolean = true, val setTipRandomly: Boolean = true, val useInstructHistory: Boolean = false, val setHistoryRandomly: Boolean = false)

Configuration for InstructionProposer, toggling which context the meta-LLM receives.

Constructors

Link copied to clipboard
constructor(useDatasetSummary: Boolean = true, programAware: Boolean = true, useTaskDemos: Boolean = true, numDemosInContext: Int = 3, useTip: Boolean = true, setTipRandomly: Boolean = true, useInstructHistory: Boolean = false, setHistoryRandomly: Boolean = false)

Properties

Link copied to clipboard

maximum number of demonstrations to include when useTaskDemos is on.

Link copied to clipboard
val programAware: Boolean = true

include the agent's program/strategy description and code in the proposal context.

Link copied to clipboard

decide per run, at random, whether to include instruction history.

Link copied to clipboard

pick the tip at random rather than using the neutral default.

Link copied to clipboard

include an LLM-generated summary of the training dataset in the proposal context.

Link copied to clipboard

include previously proposed instructions and their scores as context.

Link copied to clipboard
val useTaskDemos: Boolean = true

include few-shot task demonstrations in the proposal context.

Link copied to clipboard
val useTip: Boolean = true

include a stylistic tip (from TIPS) to diversify generated instructions.