forbiddensoul90 commited on
Commit
4e7ca76
·
verified ·
1 Parent(s): 302c6cf

Update back.py

Browse files
Files changed (1) hide show
  1. back.py +1 -1
back.py CHANGED
@@ -306,7 +306,7 @@ class ProductDatabase:
306
  except Exception as e:
307
  raise Exception(f"Error processing markdown content: {str(e)}")
308
 
309
- def search(self, query: str, k: int = 15) -> List[Dict[str, Any]]:
310
  """Search for relevant documents"""
311
  if not self.vectorstore:
312
  raise ValueError("Database not initialized. Please process documents first.")
 
306
  except Exception as e:
307
  raise Exception(f"Error processing markdown content: {str(e)}")
308
 
309
+ def search(self, query: str, k: int = 5) -> List[Dict[str, Any]]:
310
  """Search for relevant documents"""
311
  if not self.vectorstore:
312
  raise ValueError("Database not initialized. Please process documents first.")