AmpParth commited on
Commit
a6ce95e
·
verified ·
1 Parent(s): eb134be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ class GenerateResponse4(BaseModel):
44
 
45
  #Summarize function
46
  def summarize_text(text: str):
47
- response = openai.Chat.Completion.create(
48
  engine="AmplifAI-Chat-New",
49
  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,
50
  temperature=0.7,
 
44
 
45
  #Summarize function
46
  def summarize_text(text: str):
47
+ response = openai.ChatCompletion.create(
48
  engine="AmplifAI-Chat-New",
49
  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,
50
  temperature=0.7,