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
相关推荐
深度学习lover1 小时前
<数据集>yolo 白天鹅识别<目标检测>
人工智能·yolo·目标检测·数据集·白天鹅识别
@蔓蔓喜欢你1 小时前
Web性能优化完全指南:从加载到渲染的全方位优化
人工智能·ai
互联科技报1 小时前
2026年4K投影仪画质横评:明基W系列“色彩科学”解析
人工智能
步步为营DotNet1 小时前
洞悉.NET 11:Blazor 与 Microsoft.Extensions.AI 的融合创新实践
人工智能·microsoft·.net
甲维斯1 小时前
谷歌Antigravity 还活着啊!全新系列四个产品覆盖所有人群!
人工智能
ITIRONMAN1 小时前
开源data-compare:轻量级数据对比工具
人工智能·python
财经资讯数据_灵砚智能1 小时前
基于全球经济类多源新闻的NLP情感分析与数据可视化(夜间-次晨)2026年5月18日
人工智能·信息可视化·自然语言处理
江苏赛融科技1 小时前
打破传统管理壁垒,智慧园区重构楼宇资产管理模式
大数据·人工智能·智慧园区·楼宇资产管理·楼宇智能化
等....1 小时前
Claude Code 安装与配置
人工智能