[31388f42] Fix field naming: Use industry_ai and research_dossier from CE API
This commit is contained in:
@@ -47,8 +47,8 @@ def generate_email_draft(lead_data, company_data, booking_link="https://outlook.
|
||||
role = meta.get('role', 'Unbekannt')
|
||||
|
||||
# Data from Company Explorer
|
||||
ce_summary = company_data.get('summary', 'Keine Details verfügbar.')
|
||||
ce_vertical = company_data.get('vertical', 'Allgemein')
|
||||
ce_summary = company_data.get('research_dossier') or company_data.get('summary', 'Keine Details verfügbar.')
|
||||
ce_vertical = company_data.get('industry_ai') or company_data.get('vertical', 'Allgemein')
|
||||
ce_website = company_data.get('website', '')
|
||||
|
||||
# Prompt Engineering
|
||||
|
||||
Reference in New Issue
Block a user