Determine sentiment in a chat

My goal is to generate a score for a customer service conversation based on the person’s sentiment (positive, neutral, negative).
I was thinking about making a request for each incoming message and using that output score for the next one. I tried using a 1-10 scoring system but got really inconsistent results.

Any suggestions for good prompts for this?

1 Like