Spaces:
Running
Running
Commit
·
7c7cf76
1
Parent(s):
eb33652
update: LUMA working
Browse files
app.py
CHANGED
@@ -207,7 +207,10 @@ class TranscriptProcessor:
|
|
207 |
completion = client.chat.completions.create(
|
208 |
model="gpt-4o-mini",
|
209 |
messages=[
|
210 |
-
{
|
|
|
|
|
|
|
211 |
{"role": "user", "content": prompt},
|
212 |
],
|
213 |
temperature=0,
|
|
|
207 |
completion = client.chat.completions.create(
|
208 |
model="gpt-4o-mini",
|
209 |
messages=[
|
210 |
+
{
|
211 |
+
"role": "system",
|
212 |
+
"content": "You are a helpful assistant. Who analyzes the given transcript, original speaker mapping and agenda. From the Agenda, you fix the spelling mistakes in the speaker names or update the names if they are similar to the agenda. You should only update the name if the name sounds very similar, or there is a good spelling overlap/ The Speaker Introduction matches the description of the Talk from Agends. If the name is totally unrelated, keep the original name.",
|
213 |
+
},
|
214 |
{"role": "user", "content": prompt},
|
215 |
],
|
216 |
temperature=0,
|