Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -852,7 +852,7 @@ def beta_rag(item: BetaRags):
|
|
852 |
user_id=item.user_id,
|
853 |
mongo_url=MONGO_URL
|
854 |
)
|
855 |
-
cybersecuritydb(item.user_id,
|
856 |
response = x.rag_chat(item.query)
|
857 |
return SuccessResponse(
|
858 |
status="True",
|
|
|
852 |
user_id=item.user_id,
|
853 |
mongo_url=MONGO_URL
|
854 |
)
|
855 |
+
cybersecuritydb(item.user_id, MONGO_URL)
|
856 |
response = x.rag_chat(item.query)
|
857 |
return SuccessResponse(
|
858 |
status="True",
|