Arafath10 commited on
Commit
2456550
·
verified ·
1 Parent(s): ef4579a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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("/get_thread_chats")
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