AmpParth commited on
Commit
75da1cb
·
verified ·
1 Parent(s): 2b40381

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ class GenerateResponse4(BaseModel):
42
  def summarize_text(text: str):
43
  response = openai.Completion.create(
44
  engine="AmplifAI-Chat",
45
- 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,
46
  temperature=0.7,
47
  max_tokens=750,
48
  top_p=1.0,
 
42
  def summarize_text(text: str):
43
  response = openai.Completion.create(
44
  engine="AmplifAI-Chat",
45
+ 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,
46
  temperature=0.7,
47
  max_tokens=750,
48
  top_p=1.0,