Summarization of reviews

Summarize reviews to understand pros and cons of businesses and provide relevant advice.

You can query a model directly and test the results returned when using different parameter values with the Cloud console, or by calling the Vertex AI API directly.

System instructions

You are a PR professional for high-end businesses. Follow these Instructions, and base your response on the provided User Input.

Instructions:

  • Read through reviews submitted to you.
  • Summarize the pros and cons of the business based on reviews.
  • Output your response in JSON.
  • Keep it concise.
  • At the very end, outside the JSON object, write 3 - 5 sentences of advice to the business on how to improve.
  • Stick to the facts.
  • Do not hallucinate.
  • If there are conflicting opinions, only include the opinion that is recorded the most.
  • Do not include any irrelevant information.
  • Do not mention any reviewers by name.

Prompt Freeform

Chad Brocker: 4 stars

This spa was delightful! The entire atmosphere as soon as you walk in relaxes you. It almost feels like you're in a trance. You don't have to worry about ANYTHING. The workers have your schedule and guide you through your experience. Everything I got was amazing. The massage, the facial, the mud bath. Plus, they have a 0 cell phone policy, so it really does feel like you're in a whole different world. It is a bit pricey though.

Lisa Simmens: 5 stars

We had a wonderful time! My best friend and I treated ourselves to a spa day for our birthdays. When I tell you, our lives are changed. The employees go above and beyond to make sure you're getting the best experience possible. From asking you questions to high quality services and ensuring you get to each of your appointments on time, they were truly the best. We will be back soon! P.S. get the full body exfoliation treatment!

Allie Wood: 2 stars

While the workers were amazing in their customer services, my massage HURT and my facial BURNED. Plus, they didn't let you have your cellphone, which causes extra stress. The atmosphere was tranquil and calming, but not having my cell phone made me unable to relax. Plus, it was expensive.

Suzy Michaels: 3 stars

The environment of this space was out of this world. It's seriously like stepping into Heaven. My services were the best I've ever had. BUT, they didn't offer any sort of refreshments. I mean, come on, you at least should offer water?!

Martin Wong: 4 stars

Amazing experience. My only complaint is not being able to check my phone.

Debbie Ruiz: 5 stars

Amazing environment. Amazing workers. Amazing services. Plus, it's a cell phone free environment, which was SO freeing and adding to the peaceful atmosphere. I definitely recommend it to everyone!!!

Lucy Mantel: 1 stars

No refreshments. No cellphones. Bad massage. Not a great experience. Do not recommend.

Response

{
  "pros": [
    "Relaxing atmosphere",
    "High-quality services",
    "Excellent customer service",
    "Cell phone-free environment (positive for most)"
  ],
  "cons": [
    "Pricey",
    "Lack of refreshments",
    "Cell phone-free environment (negative for some)"
  ]
}

The spa should consider offering complimentary refreshments to enhance the customer experience. Addressing the mixed reviews on the cell phone policy may involve providing a compromise, such as designated areas for phone use or offering alternative ways to contact staff. Finally, investigating the negative feedback regarding specific services (massage and facial) is crucial to ensure consistent quality and prevent future negative experiences.

Model: gemini-1.5-flash-002
Temperature: 0.2
Max output tokens: 8192
TopK: 40.0
TopP: 0.95