LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
Fix: Corrected the atomic ENV parsing to get boolean (#709)
Ritwik G49e09c1b03ed
diff --git a/backend/backend/settings/base.py b/backend/backend/settings/base.pyindex b1df6748b..6535aee06 100644--- a/backend/backend/settings/base.py+++ b/backend/backend/settings/base.py@@ -15,6 +15,7 @@ from typing import Optionalfrom urllib.parse import quote_plusfrom dotenv import find_dotenv, load_dotenv+from utils.common_utils import CommonUtilsfrom backend.constants import FeatureFlagfrom unstract.flags.feature_flag import check_feature_flag_status@@ -365,7 +366,9 @@ TEMPLATES = [WSGI_APPLICATION = "backend.wsgi.application"-ATOMIC_REQUESTS = os.environ.get("DJANGO_ATOMIC_REQUESTS", False)+ATOMIC_REQUESTS = CommonUtils.str_to_bool(+ os.environ.get("DJANGO_ATOMIC_REQUESTS", "False")+)# Database# https://docs.djangoproject.com/en/4.2/ref/settings/#databases