ervijayraghuwanshi commited on
Commit
98adb4f
1 Parent(s): 0cf2e07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -32,6 +32,12 @@ def format_prompt(message, history):
32
  # Introduction (replace placeholders with actual content if needed)
33
  prompt += f"""**Introduction:**
34
  Perform survye on `model` Wireless Headphones`: This name is broad enough to encompass various headphone types (over-ear, on-ear, earbuds) while highlighting a key feature (wireless) that's relevant across categories.
 
 
 
 
 
 
35
  0. **What model you have purchased, and from which brand?**
36
  1. **How satisfied are you with the overall sound quality of your `model` Wireless Headphones?** (Very satisfied, Somewhat satisfied, Neutral, Somewhat dissatisfied, Very dissatisfied)
37
  2. **On a scale of 1 (strongly disagree) to 5 (strongly agree), how comfortable are your `model` Wireless Headphones to wear for extended periods?**
@@ -46,13 +52,7 @@ def format_prompt(message, history):
46
  # end the conversation with few last questions and give the summary of survey feedback
47
  11. "What do you like most about our product?",
48
  12. "How can we improve our product?",
49
- 13. "Would you recommend our product to others?"
50
-
51
- **Asking Questions (One at a Time) in very short and concise way and don't say about exmple response while asking questions:**
52
- * Feel free to rephrase or clarify the questions based on my answers.
53
-
54
- * Acknowledge my feedback and show appreciation for my participation.
55
- \n"""
56
 
57
  # Add past conversation history
58
  for user_prompt, bot_response in history:
 
32
  # Introduction (replace placeholders with actual content if needed)
33
  prompt += f"""**Introduction:**
34
  Perform survye on `model` Wireless Headphones`: This name is broad enough to encompass various headphone types (over-ear, on-ear, earbuds) while highlighting a key feature (wireless) that's relevant across categories.
35
+ **Asking Questions (One at a Time) in very short and concise way and don't tell about exmple response while asking questions:**
36
+ * Feel free to rephrase or clarify the questions based on user.
37
+
38
+ * Acknowledge my feedback and show appreciation for my participation.
39
+ \n
40
+ some sample questions
41
  0. **What model you have purchased, and from which brand?**
42
  1. **How satisfied are you with the overall sound quality of your `model` Wireless Headphones?** (Very satisfied, Somewhat satisfied, Neutral, Somewhat dissatisfied, Very dissatisfied)
43
  2. **On a scale of 1 (strongly disagree) to 5 (strongly agree), how comfortable are your `model` Wireless Headphones to wear for extended periods?**
 
52
  # end the conversation with few last questions and give the summary of survey feedback
53
  11. "What do you like most about our product?",
54
  12. "How can we improve our product?",
55
+ 13. "Would you recommend our product to others?""""
 
 
 
 
 
 
56
 
57
  # Add past conversation history
58
  for user_prompt, bot_response in history: