Oviya commited on
Commit
0cf71c1
·
1 Parent(s): d69bf5b
Files changed (2) hide show
  1. .gitignore +27 -0
  2. ragg/app.py +1 -0
.gitignore CHANGED
@@ -80,3 +80,30 @@ temp/
80
  # MoviePy / temp renders (keep source code, ignore big artifacts)
81
  # (If you actually want to commit sample media, remove these)
82
  *.moviepy_temp*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  # MoviePy / temp renders (keep source code, ignore big artifacts)
81
  # (If you actually want to commit sample media, remove these)
82
  *.moviepy_temp*
83
+
84
+
85
+ # -----------------------
86
+
87
+ # Added for RAG / Chroma
88
+
89
+ # -----------------------
90
+
91
+
92
+
93
+ # Chroma vector DB (avoid committing local DB files)
94
+
95
+ ragg/chroma/
96
+
97
+ py-learn-backend/ragg/chroma/
98
+
99
+
100
+
101
+ # Ensure all __pycache__ are ignored everywhere
102
+
103
+ **/__pycache__/
104
+
105
+
106
+
107
+ # Avoid committing SQLite DB shards
108
+
109
+ *.sqlite3
ragg/app.py CHANGED
@@ -6,6 +6,7 @@ from dotenv import load_dotenv, find_dotenv
6
  from flask import Blueprint, request, jsonify, current_app
7
  # Note: we avoid creating a Flask app at module import time
8
 
 
9
  # RAG imports
10
  try:
11
  from .rag_backend import IngestBody, ingest_documents, ingest_pdfs_from_folder
 
6
  from flask import Blueprint, request, jsonify, current_app
7
  # Note: we avoid creating a Flask app at module import time
8
 
9
+
10
  # RAG imports
11
  try:
12
  from .rag_backend import IngestBody, ingest_documents, ingest_pdfs_from_folder