Update routers/transcription.py
Browse files- routers/transcription.py +2 -1
routers/transcription.py
CHANGED
@@ -85,11 +85,12 @@ async def transcribe(request:Request):
|
|
85 |
{"role": "system", "content": CLINICAL_SUMMARY_PROMPT},
|
86 |
{
|
87 |
"role": "user",
|
88 |
-
"content": f"I am providing you with the transcription of the recording of doctor and patient , follow the exact instructions given in the system prompt and generate the
|
89 |
},
|
90 |
|
91 |
],
|
92 |
model="gpt-4o-mini",
|
|
|
93 |
response_format = { "type": "json_object" }
|
94 |
)
|
95 |
|
|
|
85 |
{"role": "system", "content": CLINICAL_SUMMARY_PROMPT},
|
86 |
{
|
87 |
"role": "user",
|
88 |
+
"content": f"I am providing you with the transcription of the recording of doctor and patient , follow the exact instructions given in the system prompt and generate the json response accordingly . Make sure to cover all the points from the transcribed text given below. : \n {result}",
|
89 |
},
|
90 |
|
91 |
],
|
92 |
model="gpt-4o-mini",
|
93 |
+
temperature = 0.5,
|
94 |
response_format = { "type": "json_object" }
|
95 |
)
|
96 |
|