sanketmalde commited on
Commit
83ad5bb
·
1 Parent(s): 7020a02

Upload 3 files

Browse files
news_tagging_schema.txt ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "properties": {
3
+ "topic": {
4
+ "type": "string",
5
+ "enum": ["science", "sports", "politics", "weather", "crime", "entertainment", "religion", "travel", "business"],
6
+ "description": "what topic this news article is about"
7
+ },
8
+ "language": {
9
+ "type": "string",
10
+ "enum": ["spanish", "english", "french", "german", "italian", "hindi"]
11
+ }
12
+ },
13
+ "required": ["topic", "language"]
14
+ }
restaurant_review_prompt.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Analyze the following restaurant review, and extract information from it: <review> {input_text} </review>. Output should contain the following fields in json:
2
+
3
+ 1. overall 'sentiment' of the review (positive/neutral/negative),
4
+ 2. 'summary' of the review in 50 words or less
5
+ 2. 'key points' of the review as an array (maximum 3)
6
+ 2. 'food rating' on a scale of 1 to 5 with 1 being pathetic food and 5 being super awesome food,
7
+ 3. 'ambience rating' on a scale of 1 to 5 with 1 being poor ambience (eg small tables, poor lighting etc) and 5 being excellent ambience,
8
+ 4. 'service rating' on a scale of 1 to 5 with 1 being pathetic service and 5 being wow service,
9
+ 5. 'hygiene rating' on a scale of 1 to 5, with 1 being poor hygiene that will cause sickness and 5 being squeaky clean
10
+ 6. 'recommended dishes' as an array,
11
+ 7. 'dishes not recommended' as an array,
12
+ 8. 'restaurant name',
13
+ 9. 'restaurant cuisine'
14
+
15
+ For any of the above, please output "NA" if you feel there isn't enough information in the review to say for sure.
resume_extraction_schema.txt ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "properties": {
3
+ "name": {"type": "string"},
4
+ "email_address": {"type": "string"},
5
+ "phone_number": {"type": "string"},
6
+ "education": {
7
+ "type": "array",
8
+ "items": {
9
+ "type": "object",
10
+ "properties": {
11
+ "area_of_education": {"type": "string"},
12
+ "degree_awarded": {"type": "string"},
13
+ "school": {"type": "string"},
14
+ "year_of_graduation": {"type": "string"}
15
+ }
16
+ }
17
+ },
18
+ "prior_work_experience": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "object",
22
+ "properties": {
23
+ "company_name": {"type": "string"},
24
+ "position": {"type": "string"},
25
+ "start_date": {"type": "string"},
26
+ "end_date": {"type": "string"}
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }