Prompt Insertion Defaults
@Serializable
Default settings for how demonstrations are inserted into prompts.
These defaults are set at the feature level via ai.koog.agents.optimization.features.PromptOptimizationFeature and propagated to all optimizable subgraphs via agent storage. Individual subgraphs can override these defaults by specifying explicit values in optimizableSubgraphWithTask.
Constructors
Link copied to clipboard
constructor(fewShotPromptType: FewShotPromptType = FewShotPromptType.AS_MESSAGE_HISTORY, demonstrationFormat: DemonstrationFormat = DemonstrationFormat.FULL_TRACE)