Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -55,7 +55,7 @@ async def reply_whatsapp(request: Request):
|
|
55 |
|
56 |
gpt_response = query_engine.query(f"""
|
57 |
if you find the answer from provided data then give the realistic(like real human) answer with steps and add the more details link and propper line breaks(\n).
|
58 |
-
if not find the answer from provided data then say 'please contact our helpdesk'
|
59 |
|
60 |
user question : {user_query}""")
|
61 |
|
@@ -72,6 +72,7 @@ async def reply_whatsapp(request: Request):
|
|
72 |
contact details : Hotline : 0114 226 999 Email : [email protected] Youtube : https://www.youtube.com/channel/UCFkX9Fa-Qe6Qi4V5f0RcfSA Facebook : https://www.facebook.com/storemateinventory web link : https://storemate.lk
|
73 |
|
74 |
only give single answer and don't give answer for general answers(this is CRM system for only pos system clients)
|
|
|
75 |
user:{user_query}
|
76 |
"""
|
77 |
messages = [
|
|
|
55 |
|
56 |
gpt_response = query_engine.query(f"""
|
57 |
if you find the answer from provided data then give the realistic(like real human) answer with steps and add the more details link and propper line breaks(\n).
|
58 |
+
if not find the answer from provided data then honestly say 'please contact our helpdesk'
|
59 |
|
60 |
user question : {user_query}""")
|
61 |
|
|
|
72 |
contact details : Hotline : 0114 226 999 Email : [email protected] Youtube : https://www.youtube.com/channel/UCFkX9Fa-Qe6Qi4V5f0RcfSA Facebook : https://www.facebook.com/storemateinventory web link : https://storemate.lk
|
73 |
|
74 |
only give single answer and don't give answer for general answers(this is CRM system for only pos system clients)
|
75 |
+
note : don't give nay steps for solve the issues
|
76 |
user:{user_query}
|
77 |
"""
|
78 |
messages = [
|