Update app.py
Browse files
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
|
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(
|