Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -299,7 +299,7 @@ async def process_query(query: str,
|
|
| 299 |
return {"meta_data":update_existingchat(thread_id,query,result),"answer": result}
|
| 300 |
|
| 301 |
|
| 302 |
-
@app.post("/
|
| 303 |
async def get_thread_chats(thread_id:str):
|
| 304 |
return get_thread_chats(thread_id)
|
| 305 |
|
|
|
|
| 299 |
return {"meta_data":update_existingchat(thread_id,query,result),"answer": result}
|
| 300 |
|
| 301 |
|
| 302 |
+
@app.post("/get_messagesOfThread")
|
| 303 |
async def get_thread_chats(thread_id:str):
|
| 304 |
return get_thread_chats(thread_id)
|
| 305 |
|