diff --git a/ai_ta_backend/service/retrieval_service.py b/ai_ta_backend/service/retrieval_service.py index c9b6a7cc..af425218 100644 --- a/ai_ta_backend/service/retrieval_service.py +++ b/ai_ta_backend/service/retrieval_service.py @@ -329,14 +329,14 @@ def delete_from_nomic_and_supabase(self, course_name: str, identifier_key: str, project_id = response.data[0]['doc_map_id'] self.nomicService.delete_from_document_map(project_id, nomic_ids_to_delete) except Exception as e: - print(f"Error in deleting file from Nomic or Supabase using {identifier_key}: {identifier_value}", e) + print(f"Nomic Error in deleting. {identifier_key}: {identifier_value}", e) self.sentry.capture_exception(e) try: print(f"Supabase Delete. course: {course_name} using {identifier_key}: {identifier_value}") response = self.sqlDb.deleteMaterialsForCourseAndKeyAndValue(course_name, identifier_key, identifier_value) except Exception as e: - print(f"Error in deleting file from Nomic or Supabase using {identifier_key}: {identifier_value}", e) + print(f"Supabase Error in delete. {identifier_key}: {identifier_value}", e) self.sentry.capture_exception(e) def vector_search(self, search_query, course_name):