Generative AI applications - Tips for Prompting

Tips for prompting

  • Be detailed and specific
  • Guide the model to think through its answer
  • Experiment and iterate

Be detailed and specific

  • Give sufficient context for LLM to complete the task
  • Describe the desired task in detail

Guide the model to think through its answer

  • Give it clear step-by-step instructions to follow

Experiment and iterate

  • No perfect prompt for every person or situation!
  • Instead, better to develop process for improving prompts through iteration
  • the process of prompting is not about starting off with the right prompt, It's about starting off with something and then seeing if the results are satisfactory and knowing how to adjust the prompt to get it closer to the answer that you want

Iteratively improving your prompt

  • idea:what you want the LLM to do,
  • prompt: just express that in a prompt
  • LLM response=>shape your idea and modify the prompt

Prompting process

  • Be clear and specific in prompt
  • Think about why result isn't giving desired output
  • Refine your prompt
  • repeat

Tip: Don't overthink the initial prompt, Just try something quikly and imporve it over time!

Caveats: Be careful with

  1. confidential information
  2. whether you trust the LLM output
相关推荐
lailai04101 分钟前
课后作业PPT制作的效率
人工智能
科技风向标go5 分钟前
2026户外太阳能监控怎么选不踩坑?户外(格行AOV+黑光)、工程(海康大华)、生态(小米萤石)——三大派系技术路线全解析
大数据·人工智能·智能家居·监控·户外安防
武子康5 分钟前
上下文装不下以后:Pi Compaction 怎样压缩历史,又会丢掉什么
人工智能·llm·agent
菜冻鱼8 分钟前
Python-sklearn-特征工程
开发语言·人工智能·python·机器学习·numpy·matplotlib·sklearn
FlyWIHTSKY10 分钟前
什么是ai智能体,智能体都有哪些部分组成,有那些实现框架
人工智能
环球科讯21 分钟前
金融赋能焕新居——建行广东江门分行启动家装补贴季助力消费升温
大数据·人工智能·物联网
手写码匠21 分钟前
华为云Flexus+DeepSeek征文|Agent 评测体系实战:用 DeepSeek-R1 当裁判,打造 Dify Agent 的自动化回归测试流水线
人工智能·深度学习·算法·aigc
用户2986985301425 分钟前
效率工具分享:3 款免费 Markdown 转 Word 在线转换器
人工智能·后端
河南博为智能科技有限公司29 分钟前
配电站房智能辅控一体化监控方案——基于壁挂式边缘计算网关,实现无人值守!
人工智能·边缘计算