Skip to main content

generate_challenger

Function generate_challenger 

Source
pub async fn generate_challenger(
    storage: &Storage,
    registry: &AdapterRegistry,
    llm: &dyn LlmClient,
    project: &Project,
    rng: &mut ChaCha8Rng,
) -> Result<(ConfigId, ExperimentId)>
Expand description

Convenience wrapper around generate_challenger_with_picker that uses the default LLM-aware picker. Callers that may not have an LLM should call generate_challenger_with_picker with picker_for_environment(false).