Market research report summarization
A market research firm needs to analyze and summarize lengthy reports on market trends and customer behavior. They want to know how AI and data privacy are shaping the market and how they're affecting customers. You are provided with a report string about markets trends and how they're affecting customer behavior. Your goal is to craft a prompt to summarize it while focusing on aspects related to AI and data privacy to see their effect on customers.
The OpenAI package, the report string, and the get_response() function have been pre-loaded for you.
Latihan ini adalah bagian dari kursus
Prompt Engineering with the OpenAI API
Petunjuk latihan
- Craft a prompt that summarizes the
report(formatted using f-string) in maximum five sentences, while focusing on aspects related to AI and data privacy .
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
client = OpenAI(api_key="")
# Craft a prompt to summarize the report
prompt = ____
response = get_response(prompt)
print("Summarized report: \n", response)