-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
82 lines (82 loc) · 1.62 KB
/
Copy pathconfig.example.yaml
File metadata and controls
82 lines (82 loc) · 1.62 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
agent:
api_key: ${OPENAI_API_KEY}
base_url: https://api.openai.com/v1
db_similarity_threshold: 0.9
model: gpt-4o
models:
- gpt-4o
- gpt-5.4
answer_count: 2
min_response_count: 1
auto_click: false
question_db_enabled: false
prompt_template: src/autoykt/agent/prompts/answer.j2
provider: openai
timeout: 30
clicker:
confirm_delay: 1.0
options_positions:
A:
- 400
- 350
B:
- 400
- 400
C:
- 400
- 450
D:
- 400
- 500
logging:
level: INFO
log_dir: storage/logs
monitor:
debounce_frames: 3
entry_roi: null
finish_task_roi: null
finish_click_delay: 0.5
post_answer_resume_by_change_enabled: true
feature_roi:
- 63
- 96
- 590
- 714
match_threshold: 0.85
monitor_index: 2
poll_interval: 0.5
question_roi: null
roi:
- 63
- 96
- 590
- 714
post_answer_resume_change_hits: 2
post_answer_resume_change_ratio: 0.18
task_ready_stable_frames: 2
task_ready_timeout: 2.0
task_roi: null
template_path: assets/templates/question_region.png
detector:
option_match_method: TM_CCOEFF_NORMED
option_match_threshold: 0.85
option_nms_iou: 0.3
option_templates:
A: assets/templates/options/A.png
B: assets/templates/options/B.png
C: assets/templates/options/C.png
D: assets/templates/options/D.png
question_feature_template_path: assets/templates/question_region.png
notifier:
enabled:
- qq
qq:
access_token: ${ONEBOT_ACCESS_TOKEN}
onebot_url: http://127.0.0.1:4096
target_qq: 1145141919
telegram:
chat_id: YOUR_CHAT_ID
token: YOUR_TG_TOKEN_HERE
ocr:
engine: rapidocr
vision_llm_model: gpt-4o