NLP-RAG / backend /state.py
Qar-Raz's picture
hf-space: deploy branch without frontend/data/results
c7256ee
raw
history blame contribute delete
216 Bytes
from typing import Any
state: dict[str, Any] = {}
# this file defines the state dict
# think of this as the runtime object created after startup
REQUIRED_STATE_KEYS = ("index", "retriever", "rag_engine", "models")