diff --git a/app/RAG/Chapters/B/B(BodyFunctions).txt b/RAG/Chapters/B/B(BodyFunctions).txt similarity index 100% rename from app/RAG/Chapters/B/B(BodyFunctions).txt rename to RAG/Chapters/B/B(BodyFunctions).txt diff --git a/app/RAG/Chapters/B/b1.txt b/RAG/Chapters/B/b1.txt similarity index 100% rename from app/RAG/Chapters/B/b1.txt rename to RAG/Chapters/B/b1.txt diff --git a/app/RAG/Chapters/B/b2.txt b/RAG/Chapters/B/b2.txt similarity index 100% rename from app/RAG/Chapters/B/b2.txt rename to RAG/Chapters/B/b2.txt diff --git a/app/RAG/Chapters/B/b3txt b/RAG/Chapters/B/b3txt similarity index 100% rename from app/RAG/Chapters/B/b3txt rename to RAG/Chapters/B/b3txt diff --git a/app/RAG/Chapters/B/b4.txt b/RAG/Chapters/B/b4.txt similarity index 100% rename from app/RAG/Chapters/B/b4.txt rename to RAG/Chapters/B/b4.txt diff --git a/app/RAG/Chapters/B/b5.txt b/RAG/Chapters/B/b5.txt similarity index 100% rename from app/RAG/Chapters/B/b5.txt rename to RAG/Chapters/B/b5.txt diff --git a/app/RAG/Chapters/B/b6.txt b/RAG/Chapters/B/b6.txt similarity index 100% rename from app/RAG/Chapters/B/b6.txt rename to RAG/Chapters/B/b6.txt diff --git a/app/RAG/Chapters/B/b7.txt b/RAG/Chapters/B/b7.txt similarity index 100% rename from app/RAG/Chapters/B/b7.txt rename to RAG/Chapters/B/b7.txt diff --git a/app/RAG/Chapters/B/b8.txt b/RAG/Chapters/B/b8.txt similarity index 100% rename from app/RAG/Chapters/B/b8.txt rename to RAG/Chapters/B/b8.txt diff --git a/app/RAG/Chapters/D/D(Activities&Participation).txt b/RAG/Chapters/D/D(Activities&Participation).txt similarity index 100% rename from app/RAG/Chapters/D/D(Activities&Participation).txt rename to RAG/Chapters/D/D(Activities&Participation).txt diff --git a/app/RAG/Chapters/D/d1.txt b/RAG/Chapters/D/d1.txt similarity index 100% rename from app/RAG/Chapters/D/d1.txt rename to RAG/Chapters/D/d1.txt diff --git a/app/RAG/Chapters/D/d2.txt b/RAG/Chapters/D/d2.txt similarity index 100% rename from app/RAG/Chapters/D/d2.txt rename to RAG/Chapters/D/d2.txt diff --git a/app/RAG/Chapters/D/d3.txt b/RAG/Chapters/D/d3.txt similarity index 100% rename from app/RAG/Chapters/D/d3.txt rename to RAG/Chapters/D/d3.txt diff --git a/app/RAG/Chapters/D/d4.txt b/RAG/Chapters/D/d4.txt similarity index 100% rename from app/RAG/Chapters/D/d4.txt rename to RAG/Chapters/D/d4.txt diff --git a/app/RAG/Chapters/D/d5.txt b/RAG/Chapters/D/d5.txt similarity index 100% rename from app/RAG/Chapters/D/d5.txt rename to RAG/Chapters/D/d5.txt diff --git a/app/RAG/Chapters/D/d6.txt b/RAG/Chapters/D/d6.txt similarity index 100% rename from app/RAG/Chapters/D/d6.txt rename to RAG/Chapters/D/d6.txt diff --git a/app/RAG/Chapters/D/d7.txt b/RAG/Chapters/D/d7.txt similarity index 100% rename from app/RAG/Chapters/D/d7.txt rename to RAG/Chapters/D/d7.txt diff --git a/app/RAG/Chapters/D/d8.txt b/RAG/Chapters/D/d8.txt similarity index 100% rename from app/RAG/Chapters/D/d8.txt rename to RAG/Chapters/D/d8.txt diff --git a/app/RAG/Chapters/D/d9.txt b/RAG/Chapters/D/d9.txt similarity index 100% rename from app/RAG/Chapters/D/d9.txt rename to RAG/Chapters/D/d9.txt diff --git a/app/RAG/Chapters/E/E(Environmental).txt b/RAG/Chapters/E/E(Environmental).txt similarity index 100% rename from app/RAG/Chapters/E/E(Environmental).txt rename to RAG/Chapters/E/E(Environmental).txt diff --git a/app/RAG/Chapters/E/e1.txt b/RAG/Chapters/E/e1.txt similarity index 100% rename from app/RAG/Chapters/E/e1.txt rename to RAG/Chapters/E/e1.txt diff --git a/app/RAG/Chapters/E/e2.txt b/RAG/Chapters/E/e2.txt similarity index 100% rename from app/RAG/Chapters/E/e2.txt rename to RAG/Chapters/E/e2.txt diff --git a/app/RAG/Chapters/E/e3.txt b/RAG/Chapters/E/e3.txt similarity index 100% rename from app/RAG/Chapters/E/e3.txt rename to RAG/Chapters/E/e3.txt diff --git a/app/RAG/Chapters/E/e4.txt b/RAG/Chapters/E/e4.txt similarity index 100% rename from app/RAG/Chapters/E/e4.txt rename to RAG/Chapters/E/e4.txt diff --git a/app/RAG/Chapters/E/e5.txt b/RAG/Chapters/E/e5.txt similarity index 100% rename from app/RAG/Chapters/E/e5.txt rename to RAG/Chapters/E/e5.txt diff --git a/app/RAG/Chapters/RAG_ b1.txt b/RAG/Chapters/RAG_ b1.txt similarity index 100% rename from app/RAG/Chapters/RAG_ b1.txt rename to RAG/Chapters/RAG_ b1.txt diff --git a/app/RAG/Chapters/RAG_ b2.txt b/RAG/Chapters/RAG_ b2.txt similarity index 100% rename from app/RAG/Chapters/RAG_ b2.txt rename to RAG/Chapters/RAG_ b2.txt diff --git a/app/RAG/Chapters/RAG_ b3.txt b/RAG/Chapters/RAG_ b3.txt similarity index 100% rename from app/RAG/Chapters/RAG_ b3.txt rename to RAG/Chapters/RAG_ b3.txt diff --git a/app/RAG/Chapters/RAG_ b4.txt b/RAG/Chapters/RAG_ b4.txt similarity index 100% rename from app/RAG/Chapters/RAG_ b4.txt rename to RAG/Chapters/RAG_ b4.txt diff --git a/app/RAG/Chapters/RAG_ b5.txt b/RAG/Chapters/RAG_ b5.txt similarity index 100% rename from app/RAG/Chapters/RAG_ b5.txt rename to RAG/Chapters/RAG_ b5.txt diff --git a/app/RAG/Chapters/RAG_ b6.txt b/RAG/Chapters/RAG_ b6.txt similarity index 100% rename from app/RAG/Chapters/RAG_ b6.txt rename to RAG/Chapters/RAG_ b6.txt diff --git a/app/RAG/Chapters/RAG_ b7.txt b/RAG/Chapters/RAG_ b7.txt similarity index 100% rename from app/RAG/Chapters/RAG_ b7.txt rename to RAG/Chapters/RAG_ b7.txt diff --git a/app/RAG/Chapters/RAG_ b8.txt b/RAG/Chapters/RAG_ b8.txt similarity index 100% rename from app/RAG/Chapters/RAG_ b8.txt rename to RAG/Chapters/RAG_ b8.txt diff --git a/app/RAG/Chapters/S/S(BodyStructures).txt b/RAG/Chapters/S/S(BodyStructures).txt similarity index 100% rename from app/RAG/Chapters/S/S(BodyStructures).txt rename to RAG/Chapters/S/S(BodyStructures).txt diff --git a/app/RAG/Chapters/S/s1.txt b/RAG/Chapters/S/s1.txt similarity index 100% rename from app/RAG/Chapters/S/s1.txt rename to RAG/Chapters/S/s1.txt diff --git a/app/RAG/Chapters/S/s2.txt b/RAG/Chapters/S/s2.txt similarity index 100% rename from app/RAG/Chapters/S/s2.txt rename to RAG/Chapters/S/s2.txt diff --git a/app/RAG/Chapters/S/s3.txt b/RAG/Chapters/S/s3.txt similarity index 100% rename from app/RAG/Chapters/S/s3.txt rename to RAG/Chapters/S/s3.txt diff --git a/app/RAG/Chapters/S/s4.txt b/RAG/Chapters/S/s4.txt similarity index 100% rename from app/RAG/Chapters/S/s4.txt rename to RAG/Chapters/S/s4.txt diff --git a/app/RAG/Chapters/S/s5.txt b/RAG/Chapters/S/s5.txt similarity index 100% rename from app/RAG/Chapters/S/s5.txt rename to RAG/Chapters/S/s5.txt diff --git a/app/RAG/Chapters/S/s6.txt b/RAG/Chapters/S/s6.txt similarity index 100% rename from app/RAG/Chapters/S/s6.txt rename to RAG/Chapters/S/s6.txt diff --git a/app/RAG/Chapters/S/s7.txt b/RAG/Chapters/S/s7.txt similarity index 100% rename from app/RAG/Chapters/S/s7.txt rename to RAG/Chapters/S/s7.txt diff --git a/app/RAG/Chapters/S/s8.txt b/RAG/Chapters/S/s8.txt similarity index 100% rename from app/RAG/Chapters/S/s8.txt rename to RAG/Chapters/S/s8.txt diff --git a/app/RAG/b1.txt b/RAG/b1.txt similarity index 100% rename from app/RAG/b1.txt rename to RAG/b1.txt diff --git a/app/RAG/b2.txt b/RAG/b2.txt similarity index 100% rename from app/RAG/b2.txt rename to RAG/b2.txt diff --git a/app/RAG/b3.txt b/RAG/b3.txt similarity index 100% rename from app/RAG/b3.txt rename to RAG/b3.txt diff --git a/app/RAG/b4.txt b/RAG/b4.txt similarity index 100% rename from app/RAG/b4.txt rename to RAG/b4.txt diff --git a/app/RAG/b5.txt b/RAG/b5.txt similarity index 100% rename from app/RAG/b5.txt rename to RAG/b5.txt diff --git a/app/RAG/b6.txt b/RAG/b6.txt similarity index 100% rename from app/RAG/b6.txt rename to RAG/b6.txt diff --git a/app/RAG/b7.txt b/RAG/b7.txt similarity index 100% rename from app/RAG/b7.txt rename to RAG/b7.txt diff --git a/app/RAG/b8.txt b/RAG/b8.txt similarity index 100% rename from app/RAG/b8.txt rename to RAG/b8.txt diff --git a/app/RAG/d1.txt b/RAG/d1.txt similarity index 100% rename from app/RAG/d1.txt rename to RAG/d1.txt diff --git a/app/RAG/d2.txt b/RAG/d2.txt similarity index 100% rename from app/RAG/d2.txt rename to RAG/d2.txt diff --git a/app/RAG/d3.txt b/RAG/d3.txt similarity index 100% rename from app/RAG/d3.txt rename to RAG/d3.txt diff --git a/app/RAG/d4.txt b/RAG/d4.txt similarity index 100% rename from app/RAG/d4.txt rename to RAG/d4.txt diff --git a/app/RAG/d5.txt b/RAG/d5.txt similarity index 100% rename from app/RAG/d5.txt rename to RAG/d5.txt diff --git a/app/RAG/d6.txt b/RAG/d6.txt similarity index 100% rename from app/RAG/d6.txt rename to RAG/d6.txt diff --git a/app/RAG/d7.txt b/RAG/d7.txt similarity index 100% rename from app/RAG/d7.txt rename to RAG/d7.txt diff --git a/app/RAG/d8.txt b/RAG/d8.txt similarity index 100% rename from app/RAG/d8.txt rename to RAG/d8.txt diff --git a/app/RAG/d9.txt b/RAG/d9.txt similarity index 100% rename from app/RAG/d9.txt rename to RAG/d9.txt diff --git a/app/RAG/e1.txt b/RAG/e1.txt similarity index 100% rename from app/RAG/e1.txt rename to RAG/e1.txt diff --git a/app/RAG/e2.txt b/RAG/e2.txt similarity index 100% rename from app/RAG/e2.txt rename to RAG/e2.txt diff --git a/app/RAG/e3.txt b/RAG/e3.txt similarity index 100% rename from app/RAG/e3.txt rename to RAG/e3.txt diff --git a/app/RAG/e4.txt b/RAG/e4.txt similarity index 100% rename from app/RAG/e4.txt rename to RAG/e4.txt diff --git a/app/RAG/e5.txt b/RAG/e5.txt similarity index 100% rename from app/RAG/e5.txt rename to RAG/e5.txt diff --git a/app/RAG/s1.txt b/RAG/s1.txt similarity index 100% rename from app/RAG/s1.txt rename to RAG/s1.txt diff --git a/app/RAG/s2.txt b/RAG/s2.txt similarity index 100% rename from app/RAG/s2.txt rename to RAG/s2.txt diff --git a/app/RAG/s3.txt b/RAG/s3.txt similarity index 100% rename from app/RAG/s3.txt rename to RAG/s3.txt diff --git a/app/RAG/s4.txt b/RAG/s4.txt similarity index 100% rename from app/RAG/s4.txt rename to RAG/s4.txt diff --git a/app/RAG/s5.txt b/RAG/s5.txt similarity index 100% rename from app/RAG/s5.txt rename to RAG/s5.txt diff --git a/app/RAG/s6.txt b/RAG/s6.txt similarity index 100% rename from app/RAG/s6.txt rename to RAG/s6.txt diff --git a/app/RAG/s7.txt b/RAG/s7.txt similarity index 100% rename from app/RAG/s7.txt rename to RAG/s7.txt diff --git a/app/RAG/s8.txt b/RAG/s8.txt similarity index 100% rename from app/RAG/s8.txt rename to RAG/s8.txt diff --git a/app.py b/app.py index cfb684fccb95fecb260e37710db3b0ee55322793..921dd9d25d8c59ac5540f723de1982a2c7389828 100644 --- a/app.py +++ b/app.py @@ -17,11 +17,11 @@ def inicializar_rag(): print(f">>> Script location: {base_dir}") # 2) Caminho correto para o diretório RAG - diretorio_rag = base_dir / "app" / "RAG" + diretorio_rag = base_dir / "RAG" print(f">>> Looking for files under: {diretorio_rag}") - if not diretorio_rag.exists(): - raise FileNotFoundError(f"O diretório {diretorio_rag} não existe") + # if not diretorio_rag.exists(): + # raise FileNotFoundError(f"O diretório {diretorio_rag} não existe") # 3) Monte o padrão de busca (b1.txt, s2.txt, etc.) padrao_arquivos = str(diretorio_rag / "[bsde][1-9].txt")