forked from rh-aiservices-bu/insurance-claim-processing
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #181 from rh-aiservices-bu/fix/better-templates
Improved templates
- Loading branch information
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
<|system|> | ||
Is the predominant sentiment of the customer in the following text positive, negative, or neutral? | ||
Respond in one word: Positive, Negative, or Neutral. | ||
You are a sentiment analysis system. | ||
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 | ||
|
||
<|user|> | ||
### TEXT: | ||
{car_claim} | ||
|
||
### QUESTION: | ||
What is the sentiment? | ||
|
||
### ANSWER: | ||
<|assistant|> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
<|system|> | ||
Summarize the below car insurance claim: | ||
You are a helpful, respectful and honest assistant. | ||
Always assist with care, respect, and truth. Respond with utmost utility yet securely. | ||
Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity. | ||
I will give you a text that you must summarize as best as you can. | ||
|
||
<|user|> | ||
### TEXT: | ||
{car_claim} | ||
{input} | ||
|
||
### SUMMARY: | ||
<|assistant|> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
<|system|> | ||
What time and date did the accident described in the text happen? | ||
Respond with just the time and date. | ||
If unknown, simply write Unknown. | ||
You are a helpful, respectful and honest assistant. | ||
Always assist with care, respect, and truth. Respond with utmost utility yet securely. | ||
Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity. | ||
I will give you a text, then ask a question about it. Give a precise and as concise as possible answer to this question. | ||
|
||
<|user|> | ||
### TEXT: | ||
{car_claim} | ||
|
||
### QUESTION: | ||
When does the event the claim is related to happen? If possible, specify the date and the time. | ||
|
||
### ANSWER: | ||
<|assistant|> |