掌握ChatGPT与Google Bard的提示语技巧
视频概述
在本期视频中,杰夫分享了如何通过六个基本元素来构建有效的提示语,以便快速生成高质量的AI回答。了解任务、语境、示范、人设、格式和语气的运用,将帮助你更好地利用ChatGPT和Google Bard。
六大基本元素
-
任务:使用动词开头,明确最终目标。
- 示例:生成一个为期3个月的训练计划。
-
语境:提供足够的背景信息,帮助AI理解需求。
- 示例:我是一名体重70公斤的男性,目标是在未来3个月内增肌5公斤。
-
示范:提供示例可以显著提升输出质量。
- 示例:使用STAR模型回答面试问题。
-
人设:指定AI扮演的角色,以便获得更相关的回答。
- 示例:让AI以康复治疗师的身份提供建议。
-
格式:明确输出的格式,如表格、段落等。
- 示例:要求输出用户反馈的优先级表。
-
语气:设定所需的语气风格,如正式或随意。
- 示例:用清晰简洁的语言写一封友好的邮件。
结论
通过掌握这些元素,你可以有效提升与AI的互动质量,生成更符合需求的内容。杰夫还提到,后续视频将深入探讨更多提示语技巧,鼓励观众订阅频道以获取更多信息。
常见问题解答 (FAQs)
-
什么是提示语?
提示语是与AI交互时用来引导其生成内容的指令或问题。 -
为什么提示语的结构很重要?
良好的提示语结构可以显著提高AI生成内容的质量和相关性。 -
如何确定提示语的任务?
任务应以动词开头,明确你希望AI完成的具体目标。 -
语境在提示语中有什么作用?
语境提供背景信息,帮助AI更好地理解用户的需求。 -
示范如何提升AI的输出质量?
提供示例可以帮助AI模仿特定的格式或风格,从而提高输出的准确性。 -
人设在提示语中有什么用?
人设可以让AI以特定角色的视角来回答问题,提供更专业的建议。 -
如何选择合适的语气?
根据交流的对象和场合选择合适的语气,以确保信息传达的有效性。
相关链接
- 了解更多关于如何使用AI生成内容的技巧,请查看如何使用ChatGPT来高效总结YouTube视频。
- 如果你对通过AI实现被动收入感兴趣,可以参考解锁被动收入:使用ChatGPT的联盟营销终极指南。
- 想要深入了解语言模型的工作原理,请阅读Introducción a los Modelos de Lenguaje Grande: ¿Qué son y cómo funcionan?。
- 对于最新的AI技术,查看探索GPT-4.5:其优缺点的全面评估。
I don't usually overhype myself but in this video we're going over the only formula you will ever need to master
prompting on chat BT and Google bard so let's get started hey friends welcome back to channel if you're new here my
name is Jeff I work full-time in Tech and if you're anything like me a couple months ago you know prompting is an
important skill to learn but you're not exactly sure why some prompts generate outputs that are super generic While
others give you precisely what you're looking for since then I've spent hundreds of hours taking prompt
engineering courses and applying what I've learned in my daily life and so in this video I'm sharing these six
building blocks that make up a good prompt so that you can use this formula to consistently generate high quality
outputs first it's critical to not only know what the six components are task context exemplars Persona format and
tone but also know that there's an order of importance to these six components to show you what I mean let's use this
simple example I'm a 70kg male give me a 3-month training program the first part is context followed by the task the
reason why the task is higher up in the formula hierarchy is if we just input the task without the context there's
still some sort of meaningful output but if we just give Chachi PT the context nothing really happens put another way
it's mandatory to have a task in your prompt it's important to include relevant context and exemplars and it's
nice to have Persona format and tone when you think of writing your prompt go down this mental checklist so this
formula will act as a constant reminder for you to include just enough relevant information when writing prompts and as
you'll see in this next part you do not need all six components in every prompt to have a good output now let's break
down each building block with specific examples starting with the task the rule of thumb is to always start the task
sentence with an action verb generate give write analyze Etc and clearly articulate what your end goal is it
could be one simple task like generating a three-month training program or a complex three-step task like analyzing
hundreds of user feedback sharing the top three takeaways and categorizing the feedback based on the team responsible
for following off the second component context is the trickiest to get right because technically there's an infinite
amount of information you can give so I found asking myself these three questions to be super helpful in coming
up with just enough information to get a good result from Chachi BT first what's the user's background second what do
success look like and third what environment are they in back to the workout example we now have I'm a 70kg
male looking to put on 5 kg of muscle mass over the next 3 months I only have time to go to the gym twice a week and
for 1 hour each session give me a 3month training program to follow could I have added more background information of
course only prioritize the muscle groups that make me look good at Instagram but the key to staying
productive with chat gbtm Bard is giving just enough information to constrain the endless possibilities by the way
although this video is not sponsored it is supported by those of you you who subscribe to my paid positivity
newsletter on Google workspace tips Link in the description to learn more moving over to the exemplars component it's
just a fancy way of saying examples basically all the research on large language models llms have shown that
including examples within the prompt drastically improves the quality of the output starting with a simple example
this is a py written bullet point from a resume we can now ask chat GPT to rewrite this bullet point using this
structure I accomplish X by to measure y that resulted in Z which is actually best practice by the way so actually do
this in your resume for example I lowered Hospital mortality rate by 10% by educating nurses in new protocols
which translates to 200 lives saved per year here's a slightly more complicated example for interview prep based on my
own resume write me an answer to the interview question what's your biggest weakness use the star answer framework
situation task action and results here instead of using a full-blown interview answer as an example which would be
Overkill the star framework acts as an example structure for chat gbt to follow last example let's say you need to write
a job description you give some context around the opening and ask chat apt to reference an existing job description if
I use this one I found on LinkedIn the output will follow the same formatting and use the same professional hre
language saving me a bunch of time main takeaway here exemplars are not necessary for every prompt but including
a relevant example or framework will greatly improve the quality of your output moving along the Persona
component is basically who you want cha PT and bar to be and the pro tip here is to think of someone you wish you had
instant access to with the task you're facing if you injured yourself working out that person might be a physical
therapist with experience helping athletes recover if you're a jobseeker that person might be a recruiter or Hing
manager if you're working on a creative brief that person might be a senior product marketing manager who's great at
storytelling Pro tip you can also name specific individuals but I found the results to be good only when they're
famous enough like Warren Buffett Steve Jobs Jeff Sue by the way I just have to share this
we have a team offsite with a superheroes theme so I asked Chach PT to draft an email from Batman and it even
included things like please let Alfred know and signed off as The Dark Knight um so fictional characters work as well
and I'm actually going to use this the fifth component format the pro tip here is to literally close your eyes and
visualize how exactly you want the end result to look like a million likes on my thir bomb Instagram photo damn it
didn't work back to the user feedback example I don't want to read each sentence so I asked chachy BT to take
all the feedback and output a table with three headers the original feedback the team responsible for following up and
priority and now I can copy this directly and paste it into a Google sheet store by priority and filter by
team other common formats include emails bullet points and code blocks but the one I found to be the most useful as a
full-time working professional is paragraphs and and markdown for example I just received a lengthy industry
report from my director first give me the three key takeaways then summarize based on topic use H2 as section headers
here is the report Pro tip whenever I use chash gbt to proofread any document I specify that all changes need to be
bolded so I can easily see exactly what has been changed let's quickly go through the last component tone before
we put all this together in one example the good news is tone is easy to understand use a casual or formal tone
of voice give me a witty output uh show enthusiasm sound pessimistic the bad news is we're usually not very good at
recalling the thousands of potential adjectives and adverbs at a moment's notice so here's a pro tip tell tra BT
the feeling you're going for for example I'm writing an email to a team I haven't worked with before and I want to be
taken seriously without coming off as too stuck up and cringey can you please give me a list of five tone keywords I
can include in a prompt for chbt and look now in the actual prompt I can say use clear and concise language and write
in a friendly yet confident tone putting all this together let's look at this comprehensive prompt you are a senior
product marketing manager at Apple Persona and you have just unveiled the latest Apple product in collaboration
with Tesla the Apple car and received 12,000 pre-orders which is 200% higher than Target context write an email to
your boss Tim cookie sharing this positive news task and format the email should include a tldr tool long didn't
read section project background why this product came into existence business results section quantifiable business
metrics and end with a section thanking the product and Engineering teams example structure use clear and concise
language and write in a confident yet friendly tone tone note that if I had an existing email to reference I could
delete the instructions around the structure and simply tell chbt the email should follow the exact same format as
the one I will share below and paste the email from before by the way you can compare the output from this prompt to
that of a simpler prompt I just launched a new product the Apple car I received 12,000 pre-orders please run an email to
my boss with this update there's a pretty big difference in terms of how generic and usable the end result is now
that you know the basics of prompting my next video is going to take you from beginner to Pro so make sure you're
subscribed for that check out my top five CH gbt productivity tips for work see you on the next video in the
meantime have a great one
提示语公式是用于生成高质量AI回答的结构化方法,包含六个基本元素:任务、语境、示范、人设、格式和语气。这些元素按重要性从高到低排列,任务是必须的,语境和示范是重要的,而人设、格式和语气则是锦上添花。
撰写任务句时,应该用动词开头,清晰地说明最终目标。例如,可以使用'生成'、'写'、'分析'等动词,确保任务句简洁明了,便于AI理解。
语境是提示语中非常重要的元素,它提供了背景信息,帮助AI更好地理解任务。有效的语境应包括用户的背景、成功的标准以及所处的环境,以便生成更相关的输出。
示范,即提供示例,可以显著提升AI输出的质量。通过在提示语中包含相关的例子或框架,AI能够更好地模仿所需的格式和风格,从而生成更符合预期的结果。
选择人设时,想象一个能够帮助你解决问题的角色。例如,如果你需要健身建议,可以选择一位康复治疗师;如果是求职问题,可以选择招聘人员。人设的选择应与任务相关,以提高AI的输出质量。
格式决定了输出的结构和可读性。通过指定所需的格式,如表格、邮件或段落,AI可以生成更符合需求的内容,节省时间并提高效率。
语气可以通过使用特定的关键词来调整,以适应不同的场合。可以选择随意、正式、友好或专业的语气,确保输出符合预期的交流风格。
Heads up!
This summary and transcript were automatically generated using AI with the Free YouTube Transcript Summary Tool by LunaNotes.
Generate a summary for freeRelated Summaries
Mastering ChatGPT: From Beginner to Pro in 30 Minutes
This comprehensive guide takes you from a complete novice to a proficient user of ChatGPT in just half an hour. Learn how to create an account, write effective prompts, generate images, and customize your own GPTs for various tasks.
Mastering ChatGPT: Essential Updates and Features for 2024
This comprehensive guide covers the latest updates and features of ChatGPT, including custom instructions, prompting techniques, and the new ability to call custom GPTs within chats. Learn how to enhance your ChatGPT experience with practical tips and hidden features that can improve your interactions.
Understanding AI Prompting: How AI Interprets Your Requests
This video explains how AI interprets prompts, emphasizing the mathematical nature of AI understanding. It covers effective prompt engineering techniques to enhance AI responses, including specificity, clarity, and context.
Mastering AI with Context Engineering for Effective Human-AI Collaboration
Explore practical strategies to harness AI's full potential through context engineering, chain of thought reasoning, role assignment, and reverse prompting. Learn how to transform AI into a reliable teammate for tasks like writing emails, preparing difficult conversations, and enhancing critical thinking.
生成式AI简介:定义、工作原理与应用
本课程由Google Cloud的开发者关系工程师Roger Martinez主讲,深入探讨生成式AI的定义、工作原理、模型类型及其应用。课程内容涵盖人工智能与机器学习的基础知识,帮助开发者理解生成式AI的核心概念及其在各领域的应用。
Most Viewed Summaries
A Comprehensive Guide to Using Stable Diffusion Forge UI
Explore the Stable Diffusion Forge UI, customizable settings, models, and more to enhance your image generation experience.
Kolonyalismo at Imperyalismo: Ang Kasaysayan ng Pagsakop sa Pilipinas
Tuklasin ang kasaysayan ng kolonyalismo at imperyalismo sa Pilipinas sa pamamagitan ni Ferdinand Magellan.
Mastering Inpainting with Stable Diffusion: Fix Mistakes and Enhance Your Images
Learn to fix mistakes and enhance images with Stable Diffusion's inpainting features effectively.
Pamamaraan at Patakarang Kolonyal ng mga Espanyol sa Pilipinas
Tuklasin ang mga pamamaraan at patakaran ng mga Espanyol sa Pilipinas, at ang epekto nito sa mga Pilipino.
How to Install and Configure Forge: A New Stable Diffusion Web UI
Learn to install and configure the new Forge web UI for Stable Diffusion, with tips on models and settings.

