data_processor.py aktualisiert

This commit is contained in:
2025-07-20 12:46:55 +00:00
parent 8f1d28dc07
commit 706ba082e9

View File

@@ -41,7 +41,6 @@ from helpers import (
URL_CHECK_MARKER,
evaluate_branche_chatgpt,
get_numeric_filter_value,
summarize_batch_openai,
initialize_target_schema,
search_linkedin_contacts,
is_valid_wikipedia_article_url,
@@ -1486,8 +1485,9 @@ class DataProcessor:
aggregated_prompt += entry_text
try:
# Using summarize helper, but it's just a call_openai_chat wrapper
chat_response = summarize_batch_openai(
# KORREKTUR: Direkter Aufruf des robusten Helpers 'call_openai_chat' aus helpers.py
from helpers import call_openai_chat
chat_response = call_openai_chat(
aggregated_prompt, temperature=0.0)
if not chat_response:
raise APIError(