Spaces:
Running
Running
vector store limit handled
Browse files- cve_factchecker/app.py +2 -2
cve_factchecker/app.py
CHANGED
|
@@ -19,8 +19,8 @@ INGEST_STATUS: Dict[str, Any] = {"started": time.time(), "finished": False, "syn
|
|
| 19 |
|
| 20 |
def _background_ingest() -> None:
|
| 21 |
try:
|
| 22 |
-
print("๐
|
| 23 |
-
ingest_res =
|
| 24 |
INGEST_STATUS.update({"finished": True, **ingest_res})
|
| 25 |
if not ingest_res.get("success"):
|
| 26 |
print("โ ๏ธ Startup ingestion did not succeed:", ingest_res.get("error"))
|
|
|
|
| 19 |
|
| 20 |
def _background_ingest() -> None:
|
| 21 |
try:
|
| 22 |
+
print("๐ Refreshing vector store with latest 5000 Firebase articles...")
|
| 23 |
+
ingest_res = system.ingest_firebase(limit=5000) # Use orchestrator method with 5000 limit
|
| 24 |
INGEST_STATUS.update({"finished": True, **ingest_res})
|
| 25 |
if not ingest_res.get("success"):
|
| 26 |
print("โ ๏ธ Startup ingestion did not succeed:", ingest_res.get("error"))
|