forked from trpc-group/trpc-agent-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptimizer.json
More file actions
45 lines (45 loc) · 1.11 KB
/
Copy pathoptimizer.json
File metadata and controls
45 lines (45 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"evaluate": {
"metrics": [
{
"metric_name": "final_response_avg_score",
"threshold": 1.0,
"criterion": {
"final_response": {
"text": {
"match": "exact",
"case_insensitive": false
}
}
}
}
],
"num_runs": 1
},
"optimize": {
"eval_case_parallelism": 1,
"stop": {
"required_metrics": "all"
},
"algorithm": {
"name": "gepa_reflective",
"seed": 42,
"reflection_lm": {
"model_name": "${TRPC_AGENT_MODEL_NAME}",
"base_url": "${TRPC_AGENT_BASE_URL}",
"api_key": "${TRPC_AGENT_API_KEY}",
"generation_config": { "max_tokens": 4096, "temperature": 0.6 }
},
"candidate_selection_strategy": "pareto",
"module_selector": "round_robin",
"frontier_type": "instance",
"reflection_minibatch_size": 3,
"reflection_history_top_k": 2,
"skip_perfect_score": false,
"use_merge": false,
"max_metric_calls": 24,
"score_threshold": 1.0,
"max_iterations_without_improvement": 3
}
}
}