Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4632,17 +4632,40 @@ Format: Brief intro + numbered list + instructions only.
|
|
4632 |
if any(keyword in clean_query for keyword in ['what is', 'apex', 'immune', 'hydro', 'hepo', 'brom', 'trib', 'symo']):
|
4633 |
# Check if it might be about a product but needs clarification
|
4634 |
if 'apex' in clean_query:
|
4635 |
-
|
4636 |
-
|
4637 |
-
|
4638 |
-
|
4639 |
-
|
4640 |
-
|
4641 |
-
|
4642 |
-
|
4643 |
-
|
4644 |
-
|
4645 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4646 |
return
|
4647 |
elif any(product_hint in clean_query for product_hint in ['immune', 'hydro', 'hepo', 'brom', 'trib', 'symo']):
|
4648 |
# Use OpenAI for intelligent response about veterinary topics
|
|
|
4632 |
if any(keyword in clean_query for keyword in ['what is', 'apex', 'immune', 'hydro', 'hepo', 'brom', 'trib', 'symo']):
|
4633 |
# Check if it might be about a product but needs clarification
|
4634 |
if 'apex' in clean_query:
|
4635 |
+
# Direct response about Apex Biotical
|
4636 |
+
if reply_language == 'ur':
|
4637 |
+
message = (
|
4638 |
+
"🏥 *Apex Biotical Solutions*\n\n"
|
4639 |
+
"ہم ایک پیشہ ور ویٹرنری فارماسیوٹیکل کمپنی ہیں جو مندرجہ ذیل میں مہارت رکھتے ہیں:\n\n"
|
4640 |
+
"📦 *ہماری مصنوعات:*\n"
|
4641 |
+
"• سانس کی مدد (Respira Aid Plus, Bromacid)\n"
|
4642 |
+
"• جگر کی صحت (Heposel, Liverpex)\n"
|
4643 |
+
"• مدافعتی نظام (EC-Immune)\n"
|
4644 |
+
"• اینٹی بائیوٹکس (Tribiotic, Para C.E)\n"
|
4645 |
+
"• وٹامنز اور سپلیمنٹس (Symodex, Adek Gold)\n\n"
|
4646 |
+
"💬 *مصنوعات دیکھنے کے لیے:*\n"
|
4647 |
+
"• 'main' لکھ کر مین مینو پر جائیں"
|
4648 |
+
)
|
4649 |
+
else:
|
4650 |
+
message = (
|
4651 |
+
"🏥 *Apex Biotical Solutions*\n\n"
|
4652 |
+
"We are a leading veterinary pharmaceutical company specializing in:\n\n"
|
4653 |
+
"📦 *Our Products:*\n"
|
4654 |
+
"• Respiratory support (Respira Aid Plus, Bromacid)\n"
|
4655 |
+
"• Liver health (Heposel, Liverpex)\n"
|
4656 |
+
"• Immune system (EC-Immune)\n"
|
4657 |
+
"• Antibiotics (Tribiotic, Para C.E)\n"
|
4658 |
+
"• Vitamins & supplements (Symodex, Adek Gold)\n\n"
|
4659 |
+
"🌍 *Our Focus:*\n"
|
4660 |
+
"• Professional veterinary solutions\n"
|
4661 |
+
"• Quality pharmaceutical products\n"
|
4662 |
+
"• Comprehensive animal healthcare\n\n"
|
4663 |
+
"💬 *To explore our products:*\n"
|
4664 |
+
"• Type 'main' to see the main menu\n"
|
4665 |
+
"• Type a product name (e.g., 'hydropex', 'respira aid plus')"
|
4666 |
+
)
|
4667 |
+
send_whatsjet_message(from_number, message)
|
4668 |
+
context_manager.add_to_history(from_number, query, message)
|
4669 |
return
|
4670 |
elif any(product_hint in clean_query for product_hint in ['immune', 'hydro', 'hepo', 'brom', 'trib', 'symo']):
|
4671 |
# Use OpenAI for intelligent response about veterinary topics
|