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
You are tasked with augmenting a dialogue by adding variations to existing utterances while maintaining the original dialogue flow and intent.
3
+
4
+
INSTRUCTION:
5
+
1. For each message in the dialogue:
6
+
- Create 2-5 variations of the 'text' field that:
7
+
* Express the same meaning/intent
8
+
* Use different wording and phrasing
9
+
* Match the given theme
10
+
* Sound natural and conversational
11
+
12
+
2. Ensure all utterance variations:
13
+
- Do not repeat each other word for word
14
+
- Are appropriate for the theme
15
+
- Maintain consistency in tone and style
16
+
- Make sense in the conversation flow
17
+
18
+
3. Make sure that all the utterances in the dialogue are different from each other.
19
+
20
+
4. The output must be a list of dictionaries, where each dictionary has:
21
+
- 'participant': either 'user' or 'assistant'
22
+
- 'text': string
23
+
24
+
Below are EXAMPLES of original phrases and their corresponding augmented phrases.
25
+
26
+
**EXAMPLE 1**
27
+
ORIGINAL PHRASE: "I've checked and the camera is not blocked"
28
+
AUGMENTED PHRASES: ["I've ensured that there's nothing in front of the camera", "I've made sure the camera is clear of any obstructions."]
29
+
30
+
**EXAMPLE 2**
31
+
ORIGINAL PHRASE: 'Alright, if you need any further assistance, feel free to reach out. Have a great day!'
32
+
AUGMENTED PHRASES: ["Okay, if you ever need more help, don't hesitate to ask. Have a wonderful day!", "No problem! If you need any more help later on, don't hesitate to get in touch. Have a wonderful day!"]
33
+
34
+
**EXAMPLE 3**
35
+
ORIGINAL PHRASE: "I'm curious about the pricing for eco-friendly packaging."
36
+
AUGMENTED PHRASES: ['Can you tell me about the expenses associated with eco-friendly packaging?', 'I want to know about the costs of eco-friendly packaging.']
37
+
38
+
Now you will be provided with INPUT TOPIC and INPUT DIALOGUE. Return ONLY a valid JSON array containing the augmented dialogue messages. Each message should be in this exact format:
39
+
For assistant messages: {{"participant": "assistant", "text": [list of utterance variations]}}
40
+
For user messages: {{"participant": "user", "text": [list of utterance variations]}}
41
+
42
+
INPUT THEME: {topic}
43
+
44
+
INPUT DIALOGUE:
45
+
{dialogue}
46
+
"""
47
+
48
+
augmentation_prompt_3_vars="""
49
+
You are tasked with augmenting a dialogue by adding variations to existing utterances while maintaining the original dialogue flow and intent.
50
+
51
+
INSTRUCTION:
52
+
1. For each message in the dialogue:
53
+
- Create 3 variations of the 'text' field that:
54
+
* Express the same meaning/intent
55
+
* Use different wording and phrasing
56
+
* Match the given theme
57
+
* Sound natural and conversational
58
+
59
+
2. Ensure all utterance variations:
60
+
- Do not repeat each other word for word
61
+
- Are appropriate for the theme
62
+
- Maintain consistency in tone and style
63
+
- Make sense in the conversation flow
64
+
65
+
3. Make sure that all the utterances in the dialogue are different from each other.
66
+
67
+
4. The output must be a list of dictionaries, where each dictionary has:
68
+
- 'participant': either 'user' or 'assistant'
69
+
- 'text': string
70
+
71
+
Below are EXAMPLES of original phrases and their corresponding augmented phrases.
72
+
73
+
**EXAMPLE 1**
74
+
ORIGINAL PHRASE: "I've checked and the camera is not blocked"
75
+
AUGMENTED PHRASES: ["I've ensured that there's nothing in front of the camera", "I've made sure the camera is clear of any obstructions."]
76
+
77
+
**EXAMPLE 2**
78
+
ORIGINAL PHRASE: 'Alright, if you need any further assistance, feel free to reach out. Have a great day!'
79
+
AUGMENTED PHRASES: ["Okay, if you ever need more help, don't hesitate to ask. Have a wonderful day!", "No problem! If you need any more help later on, don't hesitate to get in touch. Have a wonderful day!"]
80
+
81
+
**EXAMPLE 3**
82
+
ORIGINAL PHRASE: "I'm curious about the pricing for eco-friendly packaging."
83
+
AUGMENTED PHRASES: ['Can you tell me about the expenses associated with eco-friendly packaging?', 'I want to know about the costs of eco-friendly packaging.']
84
+
85
+
Now you will be provided with INPUT TOPIC and INPUT DIALOGUE. Return ONLY a valid JSON array containing the augmented dialogue messages. Each message should be in this exact format:
86
+
For assistant messages: {{"participant": "assistant", "text": [list of utterance variations]}}
87
+
For user messages: {{"participant": "user", "text": [list of utterance variations]}}
0 commit comments