diff --git a/utils/query_engine/level_based_platform_query_engine.py b/utils/query_engine/level_based_platform_query_engine.py index 6e92421..9d0e6b5 100644 --- a/utils/query_engine/level_based_platform_query_engine.py +++ b/utils/query_engine/level_based_platform_query_engine.py @@ -1,3 +1,5 @@ +import logging + from bot.retrievers.forum_summary_retriever import ForumBasedSummaryRetriever from bot.retrievers.process_dates import process_dates from bot.retrievers.utils.load_hyperparams import load_hyperparams @@ -176,6 +178,13 @@ def prepare_engine_auto_filter( dates_modified = process_dates(list(dates), d) + logging.info( + f"COMMUNITY_ID: {community_id} | " + f"summary retrieved {self.date_key}: {dates_modified} | " + f"summary retrieved {self.level1_key}: {list(level1_names)} | " + f"summary retrieved {self.level2_key}: {list(level2_names)}" + ) + engine = self.prepare_platform_engine( community_id=community_id, query=query,