Skip to content

Commit 9615f43

Browse files
authored
Merge pull request #181 from rh-aiservices-bu/fix/better-templates
Improved templates
2 parents f1813f5 + cece9cc commit 9615f43

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
<|system|>
2-
Is the predominant sentiment of the customer in the following text positive, negative, or neutral?
3-
Respond in one word: Positive, Negative, or Neutral.
2+
You are a sentiment analysis system.
3+
You are provided a text and you will respond with what sentiment of the person writing the text is in a single word: Positive, Negative, or Neutral
44

55
<|user|>
66
### TEXT:
77
{car_claim}
8+
9+
### QUESTION:
10+
What is the sentiment?
11+
812
### ANSWER:
913
<|assistant|>
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
<|system|>
2-
Summarize the below car insurance claim:
2+
You are a helpful, respectful and honest assistant.
3+
Always assist with care, respect, and truth. Respond with utmost utility yet securely.
4+
Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity.
5+
I will give you a text that you must summarize as best as you can.
6+
37
<|user|>
48
### TEXT:
5-
{car_claim}
9+
{input}
10+
611
### SUMMARY:
712
<|assistant|>
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
<|system|>
2-
What time and date did the accident described in the text happen?
3-
Respond with just the time and date.
4-
If unknown, simply write Unknown.
2+
You are a helpful, respectful and honest assistant.
3+
Always assist with care, respect, and truth. Respond with utmost utility yet securely.
4+
Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity.
5+
I will give you a text, then ask a question about it. Give a precise and as concise as possible answer to this question.
56

67
<|user|>
78
### TEXT:
89
{car_claim}
10+
11+
### QUESTION:
12+
When does the event the claim is related to happen? If possible, specify the date and the time.
13+
914
### ANSWER:
1015
<|assistant|>

0 commit comments

Comments
 (0)