Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvalLoopConfig ¶
type EvalLoopConfig struct {
Evaluator *Evaluator
MaxEvalRounds int
Goal string
Criteria string
TurnID string
InitialInput *aop.Message
}
func NewLoopConfig ¶
func NewLoopConfig(p provider.Provider, model string, logger telemetry.Logger, goal, criteria string, maxRounds int) EvalLoopConfig
NewLoopConfig builds an EvalLoopConfig around a fresh Evaluator. A maxRounds of zero (or negative) defers to RunWithEval's default.
func NewLoopConfigWithInput ¶
func NewLoopConfigWithInput(p provider.Provider, model string, logger telemetry.Logger, input *aop.Message, criteria string, maxRounds int) EvalLoopConfig
NewLoopConfigWithInput preserves transport controls and multimodal parts on the first evaluation round. Boundaries that already published the user input use this constructor so the original multimodal input is preserved in Goal mode.
Click to show internal directories.
Click to hide internal directories.