Spaces:
Running
Running
Oviya
commited on
Commit
·
d69bf5b
1
Parent(s):
95f2bfa
fix
Browse files- .env +1 -1
- ragg/app.py +2 -0
.env
CHANGED
|
@@ -8,7 +8,7 @@ DID_SOURCE_IMAGE_URL=https://i.ibb.co/Tpq77ZJ/teacher.png
|
|
| 8 |
DID_VOICE_ID=en-US-JennyNeural
|
| 9 |
TESSERACT_CMD=C:\Program Files\Tesseract-OCR\tesseract.exe
|
| 10 |
CHROMA_DIR=C:\path\to\your\project\chroma
|
| 11 |
-
CHROMA_ROOT="C:/Users/DELL/Desktop/Deploymnet/
|
| 12 |
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
|
| 13 |
ALLOWED_ORIGINS=http://localhost:4200,http://127.0.0.1:4200
|
| 14 |
RAG_INGEST_URL=http://localhost:5000/rag/ingest
|
|
|
|
| 8 |
DID_VOICE_ID=en-US-JennyNeural
|
| 9 |
TESSERACT_CMD=C:\Program Files\Tesseract-OCR\tesseract.exe
|
| 10 |
CHROMA_DIR=C:\path\to\your\project\chroma
|
| 11 |
+
CHROMA_ROOT="C:/Users/DELL/Desktop/Deploymnet/29 oct/py-learn-backend/py-learn-backend/ragg/chroma"
|
| 12 |
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
|
| 13 |
ALLOWED_ORIGINS=http://localhost:4200,http://127.0.0.1:4200
|
| 14 |
RAG_INGEST_URL=http://localhost:5000/rag/ingest
|
ragg/app.py
CHANGED
|
@@ -16,6 +16,7 @@ try:
|
|
| 16 |
llm_explain,
|
| 17 |
FollowupBody,
|
| 18 |
get_vectorstore,
|
|
|
|
| 19 |
llm_followups,
|
| 20 |
)
|
| 21 |
except ImportError:
|
|
@@ -28,6 +29,7 @@ except ImportError:
|
|
| 28 |
llm_explain,
|
| 29 |
FollowupBody,
|
| 30 |
get_vectorstore,
|
|
|
|
| 31 |
llm_followups,
|
| 32 |
)
|
| 33 |
|
|
|
|
| 16 |
llm_explain,
|
| 17 |
FollowupBody,
|
| 18 |
get_vectorstore,
|
| 19 |
+
get_vectorstore_for, # ← add this
|
| 20 |
llm_followups,
|
| 21 |
)
|
| 22 |
except ImportError:
|
|
|
|
| 29 |
llm_explain,
|
| 30 |
FollowupBody,
|
| 31 |
get_vectorstore,
|
| 32 |
+
get_vectorstore_for, # ← add this
|
| 33 |
llm_followups,
|
| 34 |
)
|
| 35 |
|