helpers.py aktualisiert

This commit is contained in:
2025-07-28 13:27:37 +00:00
parent 6aaeb6dda8
commit a5d3a50e24

View File

@@ -1000,6 +1000,9 @@ def evaluate_branches_batch(companies_data):
for i, company in enumerate(companies_data):
profil = [f"--- UNTERNEHMEN #{i+1} (Original-Zeilennummer: {company['row_num']}) ---"]
profil.append(f"- Name: {company.get('name', 'N/A')}")
# NEU: Externe Branchenbeschreibung hinzufügen, falls vorhanden
if company.get('external_branch_desc'):
profil.append(f"- Externe Branchenbeschreibung (WZ-Code): {company['external_branch_desc']}")
if company.get('summary'):
profil.append(f"- Website-Zusammenfassung: {company['summary']}")
if company.get('wiki'):