-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsemanticdiff.yaml
More file actions
56 lines (49 loc) · 1.12 KB
/
semanticdiff.yaml
File metadata and controls
56 lines (49 loc) · 1.12 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
project:
base_pdf: "original.pdf"
test_pdf: "modificado.pdf"
output_dir: "comparison_output"
diff:
ignore_repeated_header_footer: true
header_pct: 0.20
footer_pct: 0.20
repeat_ratio: 0.2
anchor_min_len: 50
relocation_window: 250
replace_sim_threshold: 0.95
watermark_texts:
- "DRAFT"
- "CONFIDENTIAL"
- "COPY FOR REVIEW"
- "PRÉVIA"
- "PREVIA"
- "DRAFT"
- "RASCUNHO"
watermark_case_sensitive: false
ignore_margin_patterns:
- '^Emitido por:\s*.*$'
- '^\d+\s*/\s*\d+$'
- '^Submetido por:\s*.*$'
- '^Assinado por:\s*.*$'
margin_patterns_case_sensitive: false
margin_patterns_only_in_header_footer: true
highlight:
merge_rects: true
fill_opacity: 0.18
stroke_opacity: 0.70
border_width: 1.2
report:
title: "LLM Diff Report"
truncate_chars: 10000
runtime:
verbose: true
llm:
provider: "openrouter"
api_key_env: "xxx"
api_key: "xxx"
base_url: "https://openrouter.ai/api/v1"
model: "google/gemini-2.5-flash"
site_url: "https://agents4gov.icmc.usp.br"
site_name: "SemanticDiff"
output_language: "Portuguese"
timeout_sec: 90
max_retries: 2