Spaces:
Sleeping
Sleeping
WildKratts
commited on
Commit
·
371ac33
1
Parent(s):
cf36f4a
Edited Prompt
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def generate_summary(text):
|
|
103 |
response = openai.ChatCompletion.create(
|
104 |
model="gpt-3.5-turbo-16k-0613",
|
105 |
messages=[
|
106 |
-
{"role": "system", "content": "You are a world's best
|
107 |
{"role": "user", "content": f"Please summarize the following text:\n{text}\nSummary:"},
|
108 |
],
|
109 |
max_tokens=11000,
|
|
|
103 |
response = openai.ChatCompletion.create(
|
104 |
model="gpt-3.5-turbo-16k-0613",
|
105 |
messages=[
|
106 |
+
{"role": "system", "content": "You are a world's best summarizer. Condense the transcript text, capturing essential points and core points. Include relevant examples, omit excess details, and ensure the summary's length matches the original's complexity."},
|
107 |
{"role": "user", "content": f"Please summarize the following text:\n{text}\nSummary:"},
|
108 |
],
|
109 |
max_tokens=11000,
|