Update src/qa.py
Browse files
src/qa.py
CHANGED
|
@@ -23,7 +23,7 @@ from gen_ai_hub.proxy.langchain.openai import ChatOpenAI
|
|
| 23 |
print("✅ qa.py (GPT-4o via Gen AI Hub + Bullet-Aware Retrieval + Cache) loaded from:", __file__)
|
| 24 |
|
| 25 |
# ==========================================================
|
| 26 |
-
# 🧱 Permanent
|
| 27 |
# ==========================================================
|
| 28 |
CACHE_EMB_DIR = os.path.join(os.path.dirname(__file__), "embed_cache")
|
| 29 |
os.makedirs(CACHE_EMB_DIR, exist_ok=True)
|
|
|
|
| 23 |
print("✅ qa.py (GPT-4o via Gen AI Hub + Bullet-Aware Retrieval + Cache) loaded from:", __file__)
|
| 24 |
|
| 25 |
# ==========================================================
|
| 26 |
+
# 🧱 Permanent Embeddings Cache Directory
|
| 27 |
# ==========================================================
|
| 28 |
CACHE_EMB_DIR = os.path.join(os.path.dirname(__file__), "embed_cache")
|
| 29 |
os.makedirs(CACHE_EMB_DIR, exist_ok=True)
|