Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT SWIFT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING HTML & CSS BASH RUST

AWS GenAI in Practice


GenAI in Practice

This lesson describes a real-world scenario about how generative AI can benefit you.

In the following example, you follow AnyCompany, an established shoe brand that's planning to introduce a new comfortable walking shoe to their product line.

Overview of In Practice Points

The following slides include a short scenario video.

Each video shows the generative AI prompt used in the scenario and the resulting FM output


Content summarization

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.

Prompt and output for content summarization

U
Prompt (what the user asks the AI model):
You are provided with a detailed market research report. Please summarize the most important findings and give an analysis of the current market landscape. Present your answer as a concise summary suitable for sharing with company executives. [Insert detailed market report.]
AI
Output (what the AI model generates in response):
Summary: Over the past year, the walking shoe sector has experienced a 12 percent growth, reflecting a growing demand for comfort and practicality. The data reveals that consumers aged 25–45 increasingly seek shoes that combine workplace suitability with long-lasting comfort. Additionally, 63 percent of survey respondents would consider walking to their workplace if provided with supportive footwear—indicating a trend toward health and well-being. This signals a strong market opportunity for launching a new comfortable walking shoe designed for daily wear and professional use.

Content generation, 1 of 3

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.

Prompt and output for content generation, 1 of 3

U
Prompt (what the user asks the AI model):
Write a product description to be used as website copy for a shoe that is good for walking around London with the following details and materials: comfortable, durable, mesh fabric, rubber sole, reflective safety feature.

Content generation, 2 of 3

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.

Prompt and output for content generation, 2 of 3

U
Prompt (what the user asks the AI model):
Write a product announcement to be used on social media based on the previous details.
AI
Output (what the AI model generates in response):
Looking for a new pair of shoes? Look no further than the London Walker! This stylish and comfortable shoe is perfect for all your walking adventures around the city. With breathable mesh fabric, a rubber outsole, and reflective details, the London Walker will keep you safe and comfortable all day long.

#LondonWalker #walkingadventures

Content generation, 3 of 3

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.

Prompt and output for content generation, 3 of 3

U
Prompt (what the user asks the AI model):
Stylize this photo as a product photo with a background in London. [Attach photo]
AI
Output (what the AI model generates in response):
[Stylized photo of a shoe with London in the background]

Code generation

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.

Prompt and output for code generation

U
Prompt (what the user asks the AI model):
Create a Python script to upload files to Amazon Simple Storage Service (Amazon S3).
AI
Amazon Q Developer – Code (IDE output)
# Create a Python script to upload files to Amazon S3.
import boto3

s3 = boto3.client('s3')
s3.upload_file('text.txt', 'my-bucket', 'test.txt')

Question and answer

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.

Prompt and output for question and answer

U
Prompt (from customer):
Hello, I need some assistance with finding the tracking number for my most recent order.
AI
Output:
Hi John, I see that you ordered the London Walker on July 8, 2023. The expected delivery date is tomorrow, July 12, 2023. Here is the tracking number for your records and reference: 123456789.

×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy.

Copyright 1999-2026 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.