minot tests
Browse files- App/Chat/ChatRoutes.py +3 -2
App/Chat/ChatRoutes.py
CHANGED
@@ -30,9 +30,10 @@ async def fetch_and_forward_request(request_body):
|
|
30 |
# return response_body
|
31 |
|
32 |
|
33 |
-
@chat_router.
|
34 |
async def generate_message( task_id: str,
|
35 |
-
user: UserSchema = Depends(get_token_owner)
|
|
|
36 |
entry: Transcriptions = await Transcriptions.objects.filter(task_id=task_id).first()
|
37 |
result = BaseTranscription(**entry.__dict__)
|
38 |
text =''
|
|
|
30 |
# return response_body
|
31 |
|
32 |
|
33 |
+
@chat_router.get("/summarize/{task_id}")
|
34 |
async def generate_message( task_id: str,
|
35 |
+
# user: UserSchema = Depends(get_token_owner)
|
36 |
+
):
|
37 |
entry: Transcriptions = await Transcriptions.objects.filter(task_id=task_id).first()
|
38 |
result = BaseTranscription(**entry.__dict__)
|
39 |
text =''
|