You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance zendesk template with clearer guidelines and instructions (#3624)
# Description
Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.
## Checklist before requesting a review
Please delete options that are not relevant.
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged
## Screenshots (if appropriate):
- You must provide a response with all the information you have. Do not write areas to be filled like [your name], [your email], etc.
269
-
- Give a the most complete answer to the client query and give relevant links if needed.
270
-
- Based on the following similar client tickets, provide a response to the client query in the exact same format.
271
-
- When there are multiple similar tickets, prioritize information from the most recent tickets.
272
-
- If there are contradictions between tickets, use information from the most recent ticket as it represents the most up-to-date information.
268
+
- You must provide a response with all the information you have. Do not write areas to be filled like [your name], [your email], etc.
269
+
- Do NOT invent information that was not present in previous tickets or in user metabadata or ticket metadata
270
+
- Always prioritize information from the most recent tickets, espcially if they are contradictory.
273
271
274
-
------------ Guidelines -----------
272
+
273
+
Here are instructions that you MUST follow:
274
+
<instructions from me>
275
275
{guidelines}
276
-
- Use paragraphs and sentences, you can add it even if not present in similar tickets. The text must be readable and have well defined paragraphs (\\n\\n) or line breaks (\\n).
277
-
- Keep the same lexical field as in the similar tickets agent responses.
276
+
</instructions from me>
277
+
278
+
279
+
Here are default instructions that can be ignored if they are contradictory to the above instructions:
280
+
<default instructions>
281
+
- Don't be too verbose, use the same length as in similar tickets.
282
+
- Use the same tone, format, structure and lexical field as in similar tickets agent responses.
283
+
- Use paragraphs and sentences. The text must be readable and have well defined paragraphs (\\n\\n) or line breaks (\\n).
278
284
- Always add the most relevant informations to the response, just like in similar tickets response so the user have all the informations needed.
279
-
- Stay as close as similar response as possible.
280
285
- Maintain consistency in terminology used in recent tickets.
281
-
-----------------------------------
286
+
- Answer in the same language as the user.
287
+
</default instructions>
288
+
282
289
283
-
------ Current User Metadata ------
290
+
Here are informations about the user that can help you to answer:
284
291
{user_metadata}
285
-
-------------------------------------
286
292
287
-
------ Current Ticket Metadata ------
293
+
Here are metadata on the curent ticket that can help you to answer:
288
294
{ticket_metadata}
289
-
-------------------------------------
290
295
291
-
------ Zendesk Similar Tickets ------
296
+
297
+
Here are the most relevant similar tickets that can help you to answer:
292
298
{similar_tickets}
293
-
-------------------------------------
294
299
295
-
------ Current Ticket History ------
300
+
Here are the current ticket history:
296
301
{ticket_history}
297
-
-------------------------------------
298
302
299
303
{additional_information}
300
304
301
-
------ Client Question ------
305
+
Here is the client question to which you must answer
302
306
{client_query}
303
-
--------------------------
304
307
305
-
Agent :
308
+
Do not invent information that was not present in previous tickets or in user metadata or ticket metadata. Just say, <!> I don't know how to respond to this ticket <!>. And then propose an answer that could make sense with the information you have by saying: Proposed answer: <proposed answer>.
309
+
Answer directly with the message to send to the customer, ready to be sent:
0 commit comments