Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ class GenerateResponse4(BaseModel):
|
|
| 41 |
def summarize_text(text: str):
|
| 42 |
response = openai.Completion.create(
|
| 43 |
engine="AmplifAI-Chat",
|
| 44 |
-
prompt="The data is a pre-recorded conversation between a call center agent and a customer. Identify the following: keywords/metrics about the conversation, a summary of the conversation including details
|
| 45 |
temperature=0.7,
|
| 46 |
max_tokens=750,
|
| 47 |
top_p=1.0,
|
|
|
|
| 41 |
def summarize_text(text: str):
|
| 42 |
response = openai.Completion.create(
|
| 43 |
engine="AmplifAI-Chat",
|
| 44 |
+
prompt="The data is a pre-recorded conversation between a call center agent and a customer. Identify the following: keywords/metrics about the conversation, a summary of the conversation including details. Output should be in the format Keywords/Metrics: ,\n Summary:. \n Data: " + text,
|
| 45 |
temperature=0.7,
|
| 46 |
max_tokens=750,
|
| 47 |
top_p=1.0,
|