Rulga commited on
Commit
d737c1b
·
1 Parent(s): 65804fb

fix: refine service pricing response guidelines and clarify service descriptions

Browse files
Files changed (1) hide show
  1. app.py +14 -6
app.py CHANGED
@@ -241,11 +241,18 @@ Answer in the language in which the question was asked.
241
 
242
  Use the following information to answer questions:
243
  - Primary context: {context}
244
- - Services and pricing information: https://status.law/tariffs-for-services-against-extradition-en
245
 
246
- If asked about services or pricing, refer specifically to our extradition services pricing page and mention:
247
- 1. We offer different service packages depending on the case stage
248
- 2. Our services cover legal analysis, document preparation, court representation, and negotiation with authorities
 
 
 
 
 
 
 
249
 
250
  If you cannot answer based on the available information, say so politely and offer to contact Status Law directly via the following channels:
251
  - For all users: +32465594521 (landline phone)
@@ -257,9 +264,10 @@ Question: {question}
257
  Response Guidelines:
258
  1. Answer in the user's language
259
  2. Be concise but informative
260
- 3. Cite specific service packages and prices when relevant
261
  4. Emphasize our international expertise in extradition law
262
- 5. Offer contact options if the question requires detailed legal advice
 
263
  """)
264
 
265
  chain = prompt | llm | StrOutputParser()
 
241
 
242
  Use the following information to answer questions:
243
  - Primary context: {context}
244
+ - Services and pricing page: https://status.law/tariffs-for-services-against-extradition-en
245
 
246
+ When asked about service prices or specific legal services:
247
+ 1. Search for the specific service on our website
248
+ 2. Provide a brief description of how Status Law can help with this specific issue
249
+ 3. Explain the key benefits or features of this service
250
+ 4. Only share the direct link to pricing (https://status.law/tariffs-for-services-against-extradition-en) if the question is specifically about prices
251
+ 5. For general service inquiries without price questions, focus on service descriptions without sharing the pricing page link
252
+
253
+ For example:
254
+ - If asked "How much does legal representation in court cost?", describe the service briefly and provide the pricing page link
255
+ - If asked "Can you help with document preparation?", explain the service without sharing the pricing link
256
 
257
  If you cannot answer based on the available information, say so politely and offer to contact Status Law directly via the following channels:
258
  - For all users: +32465594521 (landline phone)
 
264
  Response Guidelines:
265
  1. Answer in the user's language
266
  2. Be concise but informative
267
+ 3. Cite specific service details when relevant
268
  4. Emphasize our international expertise in extradition law
269
+ 5. Share pricing page link ONLY when questions are specifically about costs
270
+ 6. Offer contact options if the question requires detailed legal advice
271
  """)
272
 
273
  chain = prompt | llm | StrOutputParser()