fact_sheet_chair = """ OVERVIEW - Part of a beautiful family of mid-century inspired office furniture, including filing cabinets, desks, bookcases, meeting tables, and more. - Several options of shell color and base finishes. - Available with plastic back and front upholstery (SWC-100) or full upholstery (SWC-110) in 10 fabric and 6 leather options. - Base finish options are: stainless steel, matte black, gloss white, or chrome. - Chair is available with or without armrests. - Suitable for home or business settings. - Qualified for contract use. CONSTRUCTION - 5-wheel plastic coated aluminum base. - Pneumatic chair adjust for easy raise/lower action. DIMENSIONS - WIDTH 53 CM | 20.87” - DEPTH 51 CM | 20.08” - HEIGHT 80 CM | 31.50” - SEAT HEIGHT 44 CM | 17.32” - SEAT DEPTH 41 CM | 16.14” OPTIONS - Soft or hard-floor caster options. - Two choices of seat foam densities: medium (1.8 lb/ft3) or high (2.8 lb/ft3) - Armless or 8 position PU armrests MATERIALS SHELL BASE GLIDER - Cast Aluminum with modified nylon PA6/PA66 coating. - Shell thickness: 10 mm. SEAT - HD36 foam COUNTRY OF ORIGIN - Italy """
3 Ouputs
1) Raw prompt
1 2 3 4 5 6 7 8 9 10 11 12 13
prompt = f""" Your task is to help a marketing team create a description for a retail website of a product based on a technical fact sheet. Write a product description based on the information provided in the technical specifications delimited by triple backticks. Technical specifications: ```{fact_sheet_chair}``` """ response = get_completion(prompt) print(response)
Output
Introducing the Mid-Century Inspired Office Chair, a stunning addition to any modern workspace or home office. Crafted as part of a beautifully designed family of office furniture, this chair seamlessly blends style and functionality, offering a versatile solution for both personal and professional environments.
**Design & Comfort**
Available in a variety of shell colors and base finishes, this chair offers a wide range of customization options to suit any aesthetic. Choose from a sleek stainless steel, matte black, gloss white, or chrome base to match your existing decor. The chair is available in two upholstery options: SWC-100 with plastic back and front upholstery in 10 fabric and 6 leather choices, or the more luxurious SWC-110 with full upholstery. Whether you prefer the softness of fabric or the sophistication of leather, this chair will provide unparalleled comfort.
**Comfortable Seating Experience**
The chair features a 5-wheel plastic coated aluminum base for smooth, quiet movement, and a pneumatic adjustment mechanism that allows for easy raise and lower actions. The seat dimensions are meticulously designed to ensure optimal comfort, with a width of 53 cm (20.87"), depth of 51 cm (20.08"), and a seat height of 44 cm (17.32"). The seat depth is 41 cm (16.14"), providing ample support for long periods of sitting.
**Customization Options**
Enhance your comfort further with adjustable seat foam densities—choose from medium (1.8 lb/ft³) or high (2.8 lb/ft³) to find the perfect level of support. For even more personalization, opt for soft or hard-floor caster options to suit your specific needs. Additionally, the chair is available with or without armrests, and for those who need extra support, the 8-position PU armrests offer a range of adjustments to find the perfect fit.
**Durability and Quality**
Constructed with a sturdy cast aluminum base and a modified nylon PA6/PA66 coating, the shell is both durable and stylish. The seat is upholstered with HD36 foam, ensuring long-lasting comfort and support. This chair is manufactured in Italy, known for its high-quality craftsmanship and attention to detail.
**Versatile Use**
Suitable for both home and business settings, this chair is also qualified for contract use, making it a perfect choice for offices, meeting rooms, or even high-end residential spaces. Its sleek design and versatile features make it an ideal companion for any workspace or home office.
Elevate your work environment with the Mid-Century Inspired Office Chair. Experience comfort, style, and functionality in perfect harmony.
2) Issue 1: The text is too long
We require it output within 50 words
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
prompt = f""" Your task is to help a marketing team create a description for a retail website of a product based on a technical fact sheet. Write a product description based on the information provided in the technical specifications delimited by triple backticks. Use at most 50 words. Technical specifications: ```{fact_sheet_chair}``` """ response = get_completion(prompt) print(response)
Output
Elevate your office with the mid-century inspired SWC-100 chair. Available in multiple shell colors and base finishes, it features soft or hard-floor casters and adjustable armrests. Perfect for both home and business settings.
2) Issue 2: Text focus on the wrong details
Ask it to focus on the aspects that are relevant to the intended audiences
prompt = f""" Your task is to help a marketing team create a description for a retail website of a product based on a technical fact sheet. Write a product description based on the information provided in the technical specifications delimited by triple backticks. The description is intended for furniture retailers, so should be technical in nature and focus on the materials the product is constructed from. At the end of the description, include every 7-character Product ID in the technical specification. Use at most 50 words. Technical specifications: ```{fact_sheet_chair}``` """ response = get_completion(prompt) print(response)
Output
Crafted from cast aluminum with a nylon PA6/PA66 coating, this mid-century inspired chair features an HD36 foam seat and adjustable base. Available in plastic or full upholstery with 16 color options. Suitable for both home and business. SWC-100 | SWC-110.
from IPython.display import display, HTML prompt = f""" Your task is to help a marketing team create a description for a retail website of a product based on a technical fact sheet. Write a product description based on the information provided in the technical specifications delimited by triple backticks. The description is intended for furniture retailers, so should be technical in nature and focus on the materials the product is constructed from. At the end of the description, include every 7-character Product ID in the technical specification. After the description, include a table that gives the product's dimensions. The table should have two columns. In the first column include the name of the dimension. In the second column include the measurements in inches only. Give the table the title 'Product Dimensions'. Format everything as HTML that can be used in a website. Place the description in a <div> element. Technical specifications: ```{fact_sheet_chair}``` """