mayf commited on
Commit
6bc8fd1
·
verified ·
1 Parent(s): 9b931e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -104,8 +104,8 @@ Review: \"{review}\"
104
  Sentiment Scores: {sentiment_results}
105
  Top Keywords: {[kw for kw, _ in keywords]}
106
  Tasks:
107
- 1. Write a concise paragraph (3 sentences) interpreting customer sentiment by combining the scores and keywords.
108
- 2. Three separate paragraphs (one each) with actionable suggestions (max 30 words each).
109
  """
110
 
111
  response = openai_client.chat.completions.create(
 
104
  Sentiment Scores: {sentiment_results}
105
  Top Keywords: {[kw for kw, _ in keywords]}
106
  Tasks:
107
+ 1. Analysis: Write a concise paragraph (3 sentences) interpreting customer sentiment by combining the scores and keywords.
108
+ 2. Recommendations: Three separate paragraphs with actionable suggestions (max 30 words each).
109
  """
110
 
111
  response = openai_client.chat.completions.create(