Spaces:
Sleeping
Sleeping
fix: refine service pricing response guidelines and clarify service descriptions
Browse files
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
|
245 |
|
246 |
-
|
247 |
-
1.
|
248 |
-
2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
261 |
4. Emphasize our international expertise in extradition law
|
262 |
-
5.
|
|
|
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()
|