Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better product descriptions using generative AI #502

Merged
merged 9 commits into from
Nov 16, 2023

Conversation

BastLeblanc
Copy link
Contributor

Issue #, if available: no

Description of changes:
Updated product descriptions and name.
Generated using Amazon Bedrock . with Anthropic claude v2 model.

Prompts used:

Human: Given the following product details:
{product_for_prompt}
         
Please generate an enhanced product description that incorporates all the above elements while ensuring 
high-quality language and factual coherence. Make the description rich in relevant details 
and present it in a format that starts with a detailed description of the product as an opening sentence

Assistant:

and

Human: Consider this product information 
    {products[index]}

    create a more descriptive title for the product in less 10 words listed above. Make the title simple and original. It shouldn't be a sentence.

Assistant:

Description of testing performed to validate your changes (required if pull request includes CloudFormation or source code changes):
Load of the product catalog and simple visual tests.

example:
before:

name: Rose Pink Blush Brush
description: For those looking for a blush brush and something that is rose pink.

After:

name: Rose Pink Blush Brush
description: The Rose Pink Blush Brush is a soft, rose pink-colored makeup brush
designed specifically for applying blush and contour powder to the cheeks and
face. This high-quality blush brush features a rounded, tapered head shape with
densely packed, ultra-soft synthetic bristles to pick up, hold, and distribute
powder product evenly and seamlessly onto the skin for a flawless, airbrushed
effect. The delicate pink color and elegant handle make this brush a beautiful
addition to any makeup collection while the specialized bristle design ensures
smooth, blendable application and professional results. Use this brush to expertly
sculpt, define, and add a healthy, natural flush of color to the cheeks with your
favorite blush, bronzer, or contour powder.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@gfaires gfaires left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gfaires gfaires merged commit f40040a into aws-samples:master Nov 16, 2023
2 checks passed
@BastLeblanc BastLeblanc deleted the genai-product-descriptions branch November 17, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Shipped
Development

Successfully merging this pull request may close these issues.

2 participants