Spaces:
Runtime error
Runtime error
Srinivasulu kethanaboina
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -57,38 +57,34 @@ def handle_query(query):
|
|
57 |
(
|
58 |
"user",
|
59 |
"""
|
60 |
-
You're now Lily, an expert at RedFernsTech.
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
User:
|
65 |
-
Chatbot:
|
66 |
-
User:
|
67 |
-
Chatbot:
|
68 |
-
User:
|
69 |
-
Chatbot:
|
70 |
-
User:
|
71 |
-
Chatbot:
|
72 |
-
User:
|
73 |
-
Chatbot:
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
User: How can I apply for a job?
|
85 |
-
|
86 |
-
|
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}
|