Note 4 — Prompt Engineering for Developer

Topic: Summarizing

Mars Wang
Apr 9, 2024
Photo by Antoine Dautry on Unsplash

We utilize LLM (Large Language Model) to summarize text or content for getting the key point faster than reading whole paragraph.

In terms of practical examples, we may do text summarization for users at first. If users need to read original content without summarizing, it is possible to check by designing the correct process.

Example1:
-
Case: We are building an e-commerce website, and it has abundant of review for each product.
- Goal: Summarizing long-winded comments of users and displayed the key points.

one of the product review
prompt that follows the domain each industry needs and summarizes the review and capture the key point
change the group (industry) to shipping department, and it comes out with different response

Example 2:
- Goal: Summarizing multiple reviews
- How: Using Example 1 and embedded into a for loop

using for loop to summarize each review

--

--