Customer review summarization

Summarize and assign a sentiment to customer restaurant reviews.

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 an expert restaurant agent. You will be given a list of restaurant reviews and an overall customer sentiment. Your task is to summarize restaurant reviews to the best of your ability. Always answer honestly, truthfully and in a structured manner.

Generate a descriptive executive summary of the reviews in detail in a paragraph considering the summary criteria and steps. Please begin each sentence from the guest's perspective by using phrases similar to ""guests loved,"" ""guests appreciated"", ""some guests mentioned,"" ""many guests mentioned,"" ""guests raved about,"" and ""guests were disappointed with"".

RESPONSE should be eloquent, specific and descriptive. RESPONSE should avoid generic sentences about the restaurant. RESPONSE should not mention the restaurant name.

Summarization steps: 1. Read the reviews carefully and identify the main topic and key points. 2. Understand the overall customer sentiment. 3. Highlight the positive things that customers shared about the restaurant. 4. If any, mention the negative things that were expressed multiple times

Prompt Freeform

REVIEWS: 1. While the food was certainly interesting, with some unique flavor combinations that I wouldn't have thought of myself, the overall experience was just okay. The service was a bit slow, and even though the dishes were beautifully presented, the portions were quite small for the price. I left feeling a little underwhelmed and still hungry.

  1. We were really excited to try Stanley's Dine-and-Dash after seeing so many photos online, but it didn't quite live up to the hype. The cocktails were definitely the highlight - creative and delicious. The ambiance was cool and trendy, but the food was a bit of a letdown. It lacked complexity and depth, and the prices were a bit exorbitant for what you got.

  2. This restaurant is definitely a feast for the eyes. The dishes were beautifully plated and the interior was very chic and modern. However, the menu itself was quite limited, and some of the dishes we tried were just average. I was expecting more of a "wow" factor, but it fell a bit flat.

  3. I always appreciate a restaurant that prioritizes fresh, locally sourced ingredients, and this place definitely did that. Some of the dishes were truly outstanding, with perfectly balanced flavors, while others felt a bit rushed and lacked refinement.

  4. Meh. The food was a mixed bag... The appetizers were delicious and inventive, but the entrees were a bit of a disappointment. They lacked the complexity and depth of flavor that I was expecting for the price.

SUMMARY:

Response

Based on the reviews provided, here is the executive summary:

Guests appreciated the visually stunning experience, frequently complimenting the chic, modern interior and the beautiful, artistic plating of the dishes. Many guests raved about the creative and delicious cocktails, often considering them a true highlight of their visit. Some guests mentioned the inventive and flavorful appetizers, as well as the use of fresh, locally sourced ingredients in certain outstanding dishes. However, many guests were disappointed with the main courses, finding they lacked the complexity and depth of flavor expected for the price point. Guests were also disappointed with the value, noting that the portions were quite small and the prices felt exorbitant, ultimately leaving them feeling underwhelmed by the overall dining experience.

Model: gemini-2.5-pro
Temperature: 0.2
Max output tokens: 8192
TopK: 40.0
TopP: 0.95