ExtractTagDemo / restaurant_review_prompt.txt
sanketmalde's picture
Upload 3 files
83ad5bb
Analyze the following restaurant review, and extract information from it: <review> {input_text} </review>. Output should contain the following fields in json:
1. overall 'sentiment' of the review (positive/neutral/negative),
2. 'summary' of the review in 50 words or less
2. 'key points' of the review as an array (maximum 3)
2. 'food rating' on a scale of 1 to 5 with 1 being pathetic food and 5 being super awesome food,
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,
4. 'service rating' on a scale of 1 to 5 with 1 being pathetic service and 5 being wow service,
5. 'hygiene rating' on a scale of 1 to 5, with 1 being poor hygiene that will cause sickness and 5 being squeaky clean
6. 'recommended dishes' as an array,
7. 'dishes not recommended' as an array,
8. 'restaurant name',
9. 'restaurant cuisine'
For any of the above, please output "NA" if you feel there isn't enough information in the review to say for sure.