AI UPDATE
This commit is contained in:
@@ -24,6 +24,7 @@ INSTALLED_APPS = [
|
||||
"corsheaders",
|
||||
"drf_spectacular",
|
||||
"drf_spectacular_sidecar",
|
||||
"dashboard_data",
|
||||
"rag",
|
||||
"tasks",
|
||||
"location_data",
|
||||
@@ -119,6 +120,7 @@ SPECTACULAR_SETTINGS = {
|
||||
"REDOC_DIST": "SIDECAR",
|
||||
"COMPONENT_SPLIT_REQUEST": True,
|
||||
"TAGS": [
|
||||
{"name": "Dashboard Data", "description": "تجمیع دادههای داشبورد مزرعه"},
|
||||
{"name": "RAG Chat", "description": "چت هوشمند RAG"},
|
||||
{"name": "Tasks", "description": "مدیریت تسکهای Celery"},
|
||||
{"name": "Soil Data", "description": "دادههای خاک (SoilGrids)"},
|
||||
|
||||
@@ -14,6 +14,7 @@ urlpatterns = [
|
||||
path("api/redoc/", SpectacularRedocView.as_view(url_name="schema"), name="redoc"),
|
||||
# --- App APIs ---
|
||||
path("api/rag/", include("rag.urls")),
|
||||
path("api/dashboard-data/", include("dashboard_data.urls")),
|
||||
path("api/tasks/", include("tasks.urls")),
|
||||
path("api/soil-data/", include("location_data.urls")),
|
||||
path("api/sensor-data/", include("sensor_data.urls")),
|
||||
|
||||
Reference in New Issue
Block a user