Public Access
MAJ Phase 10 : Support KubeJS, bouton RAG UI et Modale d'upload admin
Build and Push Docker Image / build-and-push (push) Successful in 37s
Build and Push Docker Image / build-and-push (push) Successful in 37s
This commit is contained in:
1 parent
f17ef384f6
commit
a2261ab8dd
3 files changed
+79
-5
No files matched your search
@@ -46,7 +46,7 @@ def indexer_dossier_thematique(thematique: str):
|
||||
reader = pypdf.PdfReader(chemin_complet)
|
||||
for page in reader.pages:
|
||||
texte += page.extract_text() or ""
|
||||
elif fichier.lower().endswith(('.md', '.txt')):
|
||||
elif fichier.lower().endswith(('.md', '.txt', '.yml', '.yaml', '.js', '.json', '.csv', '.toml', '.properties')):
|
||||
with open(chemin_complet, 'r', encoding='utf-8') as f:
|
||||
texte = f.read()
|
||||
|
||||
|
||||
Reference in new issue
Block a user