diff --git a/backend/score.py b/backend/score.py index 22264b635..80eb3a7c2 100644 --- a/backend/score.py +++ b/backend/score.py @@ -276,7 +276,7 @@ async def post_processing(uri=Form(), userName=Form(), password=Form(), database logging.info(f'Entity Embeddings created') if "enable_communities" in tasks: - model = "openai-gpt-4o" + model = "openai_gpt_4o" await asyncio.to_thread(create_communities, uri, userName, password, database,model) josn_obj = {'api_name': 'post_processing/create_communities', 'db_url': uri, 'logging_time': formatted_time(datetime.now(timezone.utc))} logger.log_struct(josn_obj)