Final Fix: Corrected IndentationError in config.py and updated status to Operational
This commit is contained in:
15
config.py
15
config.py
@@ -21,10 +21,11 @@ import logging
|
||||
BASE_DIR = "/app"
|
||||
|
||||
CREDENTIALS_FILE = os.path.join(BASE_DIR, "service_account.json")
|
||||
API_KEY_FILE = os.path.join(BASE_DIR, "gemini_api_key.txt")
|
||||
SERP_API_KEY_FILE = os.path.join(BASE_DIR, "serpapikey.txt")
|
||||
GENDERIZE_API_KEY_FILE = os.path.join(BASE_DIR, "genderize_API_Key.txt")
|
||||
BRANCH_MAPPING_FILE = NoneLOG_DIR = os.path.join(BASE_DIR, "Log_from_docker") # Log in den gemounteten Ordner schreiben
|
||||
API_KEY_FILE = os.path.join(BASE_DIR, "gemini_api_key.txt")
|
||||
SERP_API_KEY_FILE = os.path.join(BASE_DIR, "serpapikey.txt")
|
||||
GENDERIZE_API_KEY_FILE = os.path.join(BASE_DIR, "genderize_API_Key.txt")
|
||||
BRANCH_MAPPING_FILE = None
|
||||
LOG_DIR = os.path.join(BASE_DIR, "Log_from_docker") # Log in den gemounteten Ordner schreiben
|
||||
|
||||
# --- ML Modell Artefakte ---
|
||||
MODEL_FILE = os.path.join(BASE_DIR, "technician_decision_tree_model.pkl")
|
||||
@@ -393,6 +394,12 @@ class Config:
|
||||
"beispiele": "C.Bergmann, HENGE Baustoff GmbH",
|
||||
"d365_branch_detail": "Logistiker Baustoffe"
|
||||
},
|
||||
"Baustoffindustrie": {
|
||||
"gruppe": "Baubranche",
|
||||
"definition": "Produktion von Baustoffen wie Beton, Ziegeln, Gips oder Dämmmaterial – häufig mit werkseigener Logistik.",
|
||||
"beispiele": "Heidelberg Materials, Saint Gobain Weber",
|
||||
"d365_branch_detail": "Baustoffindustrie"
|
||||
},
|
||||
"Bauunternehmen": {
|
||||
"gruppe": "Baubranche",
|
||||
"definition": "Ausführung von Bauprojekten, oft mit eigenem Materialtransport – hoher Koordinationsaufwand bei Fahrzeugen, Maschinen und Baustellen.",
|
||||
|
||||
Reference in New Issue
Block a user