Spaces:
Sleeping
Sleeping
Commit
·
fc85021
1
Parent(s):
55dd096
update: temprature
Browse files
app.py
CHANGED
|
@@ -308,7 +308,7 @@ Total takes: 2
|
|
| 308 |
{"role": "user", "content": prompt},
|
| 309 |
],
|
| 310 |
stream=True,
|
| 311 |
-
temperature=0.
|
| 312 |
)
|
| 313 |
else:
|
| 314 |
system_prompt = f"""You are analyzing a transcript for Call ID: {cid}, Session ID: {rsid}, Origin: {origin}, and Call Type: {ct}.
|
|
@@ -361,6 +361,7 @@ Format requirements:
|
|
| 361 |
- Topics should be self-contained discussions within the timestamp.
|
| 362 |
- Skip speakers if fewer than 2 compelling topics found.
|
| 363 |
"""
|
|
|
|
| 364 |
|
| 365 |
completion = client.chat.completions.create(
|
| 366 |
model="gpt-4o-mini",
|
|
@@ -369,7 +370,7 @@ Format requirements:
|
|
| 369 |
{"role": "user", "content": user_prompt},
|
| 370 |
],
|
| 371 |
stream=True,
|
| 372 |
-
temperature=0.
|
| 373 |
)
|
| 374 |
|
| 375 |
collected_messages = []
|
|
|
|
| 308 |
{"role": "user", "content": prompt},
|
| 309 |
],
|
| 310 |
stream=True,
|
| 311 |
+
temperature=0.1,
|
| 312 |
)
|
| 313 |
else:
|
| 314 |
system_prompt = f"""You are analyzing a transcript for Call ID: {cid}, Session ID: {rsid}, Origin: {origin}, and Call Type: {ct}.
|
|
|
|
| 361 |
- Topics should be self-contained discussions within the timestamp.
|
| 362 |
- Skip speakers if fewer than 2 compelling topics found.
|
| 363 |
"""
|
| 364 |
+
print(user_prompt)
|
| 365 |
|
| 366 |
completion = client.chat.completions.create(
|
| 367 |
model="gpt-4o-mini",
|
|
|
|
| 370 |
{"role": "user", "content": user_prompt},
|
| 371 |
],
|
| 372 |
stream=True,
|
| 373 |
+
temperature=0.1,
|
| 374 |
)
|
| 375 |
|
| 376 |
collected_messages = []
|