NLPGenius commited on
Commit
d004d70
ยท
1 Parent(s): e9f88b5

vector store limit handled

Browse files
Files changed (1) hide show
  1. 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("๐Ÿš€ Performing full Firebase ingestion (background, startup)...")
23
- ingest_res = firebase_sync.full_sync()
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"))