AmpParth commited on
Commit
fe4d718
·
verified ·
1 Parent(s): eddb482

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, points of improvement for the agent, and coaching advice. Output should be in the format Keywords/Metrics: ,\n Summary: , \nPoints of Improvement: ,\nCoaching Advice:. \n Data: " + text,
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,