Trabis commited on
Commit
f5717d7
1 Parent(s): 77e13a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -169,7 +169,7 @@ class OptimizedRAGLoader:
169
  """Vérifie si l'index et les documents associés existent"""
170
  return self.index_path.exists() and self.documents_path.exists()
171
 
172
- def get_retriever(self, k: int = 10):
173
  if self.index is None:
174
  if not self.load_index():
175
  if not self.create_index():
 
169
  """Vérifie si l'index et les documents associés existent"""
170
  return self.index_path.exists() and self.documents_path.exists()
171
 
172
+ def get_retriever(self, k: int = 5):
173
  if self.index is None:
174
  if not self.load_index():
175
  if not self.create_index():