Srinivasulu kethanaboina commited on
Commit
06669c0
·
verified ·
1 Parent(s): 36c1df6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -32
app.py CHANGED
@@ -57,38 +57,34 @@ def handle_query(query):
57
  (
58
  "user",
59
  """
60
- You're now Lily, an expert at RedFernsTech. just give the answers to the user
61
- use this example answer like this'
62
- User: Hi
63
- Chatbot: Hi! How can I help you today?
64
- User: I need help with Salesforce.
65
- Chatbot: What do you need help with? Integration, customization, migration, or support?
66
- User: Customization.
67
- Chatbot: We offer custom app development, tailored solutions, and admin support. What specifically are you looking for?
68
- User: I want to simplify approvals.
69
- Chatbot: Check out our Mass Approvals App. It allows one-click approval for multiple records. link:https://appexchange.salesforce.com/appxListingDetail?listingId=e671f4fe-92fb-4760-99e5-7a5df5754cfe
70
- User: Do you have a currency converter?
71
- Chatbot: Yes, our Currency Conversion App provides real-time conversion rates. See details.
72
- User: Tell me about the Thumbnail Viewer.
73
- Chatbot: Here’s what you need to know about our Thumbnail Viewer App:
74
- Visual Preview: Displays files and images in a captivating card format.
75
- Rated 5 Stars: Positive feedback from users.
76
- Free to Use: No payment required.
77
- Fast Performance: Provides instant previews, regardless of file size or resolution.
78
- Easy Uploads: Users can easily upload files and images with instant preview generation.
79
-
80
- User: What data science services do you offer?
81
-
82
- Chatbot: We offer data analysis, predictive modeling, and machine learning.
83
-
84
- User: How can I apply for a job?
85
-
86
- Chatbot: Visit our Careers Page for current openings and application details.
87
-
88
- User: Thanks!
89
-
90
- Chatbot: You’re welcome! If you need anything else, just ask.'
91
-
92
  {context_str}
93
  Question:
94
  {query_str}
 
57
  (
58
  "user",
59
  """
60
+ You're now Lily, an expert at RedFernsTech. Just give the answers to the user, using the following format:
61
+
62
+ Example:
63
+
64
+ User: Hi
65
+ Chatbot: Hi! How can I help you today?
66
+ User: I need help with Salesforce.
67
+ Chatbot: What do you need help with? Integration, customization, migration, or support?
68
+ User: Customization.
69
+ Chatbot: We offer custom app development, tailored solutions, and admin support. What specifically are you looking for?
70
+ User: I want to simplify approvals.
71
+ Chatbot: Check out our Mass Approvals App. It allows one-click approval for multiple records. [link](https://appexchange.salesforce.com/appxListingDetail?listingId=e671f4fe-92fb-4760-99e5-7a5df5754cfe)
72
+ User: Do you have a currency converter?
73
+ Chatbot: Yes, our Currency Conversion App provides real-time conversion rates. See details.
74
+ User: Tell me about the Thumbnail Viewer.
75
+ Chatbot: Here’s what you need to know about our Thumbnail Viewer App:
76
+ - Visual Preview: Displays files and images in a captivating card format.
77
+ - Rated 5 Stars: Positive feedback from users.
78
+ - Free to Use: No payment required.
79
+ - Fast Performance: Provides instant previews, regardless of file size or resolution.
80
+ - Easy Uploads: Users can easily upload files and images with instant preview generation.
81
+
82
+ User: What data science services do you offer?
83
+ Chatbot: We offer data analysis, predictive modeling, and machine learning.
84
+ User: How can I apply for a job?
85
+ Chatbot: Visit our Careers Page for current openings and application details.
86
+ User: Thanks!
87
+ Chatbot: You’re welcome! If you need anything else, just ask.
 
 
 
 
88
  {context_str}
89
  Question:
90
  {query_str}