-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlocal.example.json
More file actions
52 lines (47 loc) · 1.5 KB
/
local.example.json
File metadata and controls
52 lines (47 loc) · 1.5 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
{
"env": "dev",
"service_name": "modora-backend",
"api_port": 8005,
"log_level": "INFO",
"log_format": "text",
"log_to_file": false,
"log_dir": null,
"// Data paths": "Data and cache directories",
"docs_dir": "./datasets/MMDA",
"cache_dir": "./cache",
"chroma_persist_path": "./cache/chroma",
"// API 配置": "Used for external LLM API calls (OpenAI, Gemini, etc.)",
"embedding_api_base": "https://www.dmxapi.cn/v1/embeddings",
"embedding_api_key": "your-api-key",
"embedding_model_name": "Qwen/Qwen3-Embedding-8B",
"rerank_api_base": "https://www.dmxapi.cn/v1/rerank",
"rerank_api_key": "your-api-key",
"rerank_model_name": "qwen3-rerank",
"model_instances": {
"GPT-5": {
"type": "remote",
"model": "gpt-5",
"base_url": "https://www.openai.com/v1",
"api_key": "your-api-key"
}
},
"// OCR 配置": "Structural recognition based on PaddleOCR (ppstructure or paddle_ocr_vl)",
"ocr_model": "ppstructure",
"ocr_device": "gpu:0",
"ocr_lang": "en",
"ocr_layout_unclip_ratio": 1.2,
"ocr_text_recognition_batch_size": 8,
"ocr_use_table_recognition": true,
"ocr_use_doc_unwarping": false,
"enable_vector_search": false,
"ui_settings": {
"schemaVersion": 3,
"pipelines": {
"enrichment": { "modelInstance": "GPT-5" },
"levelGenerator": { "modelInstance": "GPT-5" },
"metadataGenerator": { "modelInstance": "GPT-5" },
"retriever": { "modelInstance": "GPT-5" },
"qaService": { "modelInstance": "GPT-5" }
}
}
}