rishik1111's picture
feat: Add VisionQuest Indic RAG core services, vector search, safety guardrails & web UI
83dc8bf
Raw History Blame Contribute Delete
568 Bytes
"""
App configuration module.
Imports and re-exports configuration from root config.py,
and defines benchmark latency constraints.
"""
import os
import sys
from pathlib import Path
# Ensure root workspace directory is in sys.path
_ROOT_DIR = Path(__file__).resolve().parent.parent
if str(_ROOT_DIR) not in sys.path:
sys.path.insert(0, str(_ROOT_DIR))
# Re-export all settings from root config
from config import *
# Latency budget in milliseconds for retrieval benchmark (embed + FAISS search)
LATENCY_BUDGET_MS = float(os.getenv("LATENCY_BUDGET_MS", "50.0"))