-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathconfig.example.json
More file actions
39 lines (39 loc) · 928 Bytes
/
Copy pathconfig.example.json
File metadata and controls
39 lines (39 loc) · 928 Bytes
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
{
"ai": {
"backend": "gemini",
"prompt_template": "prompts/default.txt",
"max_retries": 1,
"gemini": {
"model": "gemini-2.5-pro"
},
"groq": {
"model": "meta-llama/llama-4-scout-17b-16e-instruct",
"base_url": "https://api.groq.com/openai/v1",
"timeout": 120
},
"ollama": {
"model": "qwen3.5:9b",
"host": "http://localhost:11434"
}
},
"pdf": {
"dpi": 200,
"max_pages": 15
},
"pii": {
"enabled": false,
"patterns": ["national_id", "credit_card", "mobile", "landline", "business_id"]
},
"output": {
"frontmatter": true
},
"strip_urls": true,
"ad_truncation_patterns": [
"<投資人權益通知訊息[ >]",
"[~~]\\s*總\\s*公\\s*司\\s*訊\\s*息\\s*[~~]",
"依金融監督管理委員會保險局",
"謹慎理財.{0,20}信用至上",
"本商品由.{0,30}核准"
],
"ad_strip_patterns": []
}