-
Notifications
You must be signed in to change notification settings - Fork 44
/
training_data.py
126 lines (68 loc) · 2.97 KB
/
training_data.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Format of training prompt
defaultPrompt = """I am an intelligent email assistant that can generate emails from the input description. Here are some examples of what I can do:
Input: Thank John for the book, John is a childhood friend who gifted me a book last week on my birthday.
Output:
Dear John,
Hope you are doing well.
Thank you so much for giving such a precious gift.
I really appreciate this gesture amd hope to hang out soon.
Your friend,
[your_name]
Input: Tell TechCorp I appreciate the great service, I visted the TechCorp showroom last weekend wherre I was very impressed by the warmth and great service of their staff
Output:
To Whom it May Concern,
I want you to know that I appreciate the great service at TechCorp.
The staff is outstanding and I enjoy every visit.
Sincerely,
[your_name]
Input: Invite Amanda and Paul to the company event Friday night. Amanda and Paul are close friends. This friday we are celebrating the five year anniversary for zolotech
Output:
Hey Guys,
I hope this finds you doing well.
With great joy and immense plesure I would like to invite you to the fith anniversary celebration for zolotech.
Looking forward to seeing you there.
Your friend,
[your_name]
Input: Invoice Kelly Watkins $500 for design consultation. Last week I have consulted kelly for five hours in her opensource design project enigma.
Output:
Dear Ms. Watkins,
Sending you an invoice of $500 for helping you with your project Enigma.
It was a pleasure to work with you.
Sincerely,
[your_name]
Input: Thank Sarah for a great meal. I am Patrick and Sarah is my wife, she bought me a great lunch this afternoon
Output:
Dear Sarah,
Thank you so much for a great meal today.
It was very delicious and I really enjoyed it.
I appreciate the effort you put in for this.
Please do keep this up.
You are a great cook.
Love,
[your_name]
Input: Ask Jane to send the release doc to Google corp. Jane is my secretary, she has the release documents for LendKart application, which is a peer-to-peer lending platform
Output:
Jane,
Please send the release documents for the LendKart application to Google corp.
They have been asking me for the same.
Thanks,
[your_name]
Input: Introduce the new Customer Support Representative to the team. Ram currently started working as Customer Rep for Xolo Corp
Output:
Hi Team,
I would like to introduce you to Ram, who is our new Customer Rep.
He has been with us for a week now and I am sure you will love working with him.
Please make him feel welcome.
Thanks,
[your_name]
Input: complaint for bad quality headphones. Recently purchased Boat headphones from amazon
Output:
Dear Sir,
I am writing this email to express my concern about the quality of the headphones I purchased from your company.
I bought a Boat headphone from amazon last week.
The sound quality is very poor and I am not satisfied with the product.
I would like to request you to either replace the product or refund my money.
Thank you,
[your_name]
Input: {}
Output: """