Sulaiman8 commited on
Commit
60cfa3a
·
verified ·
1 Parent(s): f5b2639

Update recommender/graph_retrieval_vectordb.py

Browse files
recommender/graph_retrieval_vectordb.py CHANGED
@@ -198,7 +198,7 @@ class Neo4jConnectionError(Exception):
198
  pass
199
 
200
  def run_cypher_query(user_query, query, use_eligibility, user_income, user_cibil, user_age,
201
- min_joining_fee, max_joining_fee, min_annual_fee, max_annual_fee, excluded_cards):
202
 
203
  attempt = 0
204
  while attempt < max_retries:
 
198
  pass
199
 
200
  def run_cypher_query(user_query, query, use_eligibility, user_income, user_cibil, user_age,
201
+ min_joining_fee, max_joining_fee, min_annual_fee, max_annual_fee, excluded_cards, max_retries=3, retry_delay=2):
202
 
203
  attempt = 0
204
  while attempt < max_retries: