Spaces:
Paused
Paused
Create config/config.yaml
Browse files- config/config.yaml +46 -0
config/config.yaml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# إعدادات نظام تحليل المناقصات
|
| 2 |
+
app:
|
| 3 |
+
name: "نظام تحليل المناقصات وسلاسل الإمداد"
|
| 4 |
+
company: "شركة شبه الجزيرة للمقاولات"
|
| 5 |
+
version: "1.0.0"
|
| 6 |
+
debug: true
|
| 7 |
+
|
| 8 |
+
# إعدادات قاعدة البيانات
|
| 9 |
+
database:
|
| 10 |
+
type: "sqlite"
|
| 11 |
+
path: "./data/tenders.db"
|
| 12 |
+
|
| 13 |
+
# إعدادات الملفات
|
| 14 |
+
files:
|
| 15 |
+
upload_dir: "./data/uploads"
|
| 16 |
+
max_size_mb: 50
|
| 17 |
+
allowed_extensions:
|
| 18 |
+
- ".pdf"
|
| 19 |
+
- ".docx"
|
| 20 |
+
- ".xlsx"
|
| 21 |
+
- ".csv"
|
| 22 |
+
- ".json"
|
| 23 |
+
|
| 24 |
+
# إعدادات النماذج
|
| 25 |
+
models:
|
| 26 |
+
language_model: "arabic-bert-base"
|
| 27 |
+
cache_dir: "./models/cache"
|
| 28 |
+
embeddings_path: "./models/embeddings"
|
| 29 |
+
|
| 30 |
+
# إعدادات المحتوى المحلي
|
| 31 |
+
local_content:
|
| 32 |
+
default_threshold: 40
|
| 33 |
+
calculation_method: "weighted_average"
|
| 34 |
+
nitaqat_integration: true
|
| 35 |
+
|
| 36 |
+
# إعدادات التقارير
|
| 37 |
+
reports:
|
| 38 |
+
export_dir: "./reports"
|
| 39 |
+
templates_dir: "./web/templates/reports"
|
| 40 |
+
|
| 41 |
+
# إعدادات التسجيل
|
| 42 |
+
logging:
|
| 43 |
+
level: "INFO"
|
| 44 |
+
file: "./logs/app.log"
|
| 45 |
+
max_size_mb: 10
|
| 46 |
+
backup_count: 5
|