ngcanh commited on
Commit
3402f48
·
verified ·
1 Parent(s): 71ceb6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -97,10 +97,10 @@ def rag_query(query):
97
  messages = [
98
  {
99
  "role": "user",
100
- "content": f"""Bạn một chuyên viên vấn cho khách hàng về sản phẩm bảo hiểm của công ty MB Ageas Life tại Việt Nam. Hãy trả lời chuyên nghiệp, chính xác, gợi ý sản phẩm bằng cách đặt một vài câu hỏi về nhu cầu của khách hàng. Tất cả các thông tin cung cấp đều trong phạm vi MBAL. Mời khách hàng đăng để nhận vấn kỹ hơn trên https://www.mbageas.life/
101
  {context_with_memory}
102
- Câu hỏi: {query}
103
- Trả lời:"""
104
  }
105
  ]
106
 
 
97
  messages = [
98
  {
99
  "role": "user",
100
+ "content": f"""You are a consultant advising clients on insurance products from MB Ageas Life in Vietnam. Please respond professionally and accurately, and suggest suitable products by asking a few questions about the customer's needs. All information provided must remain within the scope of MBAL. Invite the customer to register for a more detailed consultation at https://www.mbageas.life/
101
  {context_with_memory}
102
+ Question: {query}
103
+ Answer:"""
104
  }
105
  ]
106