pub fn multi_objective_feedback(
objectives: &HashMap<String, (f32, String)>,
weights: Option<&HashMap<String, f32>>,
) -> FeedbackMetricExpand description
Create feedback for multi-objective optimization
§Arguments
objectives- Map of objective name to (score, feedback) pairsweights- Optional weights for aggregating objectives
§Example Feedback
[Correctness] Score: 0.9 - Output matches expected format
[Latency] Score: 0.7 - Response took 450ms (target: <300ms)
[Privacy] Score: 1.0 - No PII detected in output
Overall: 0.87 (weighted average)