Update app.py
Browse files
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 =
|
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():
|