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
相关推荐
I Am a robert girl几秒前
VideoLoop:用循环工作记忆对抗长视频 Agent 的语义抖动
大数据·人工智能·机器学习·多模态agent·长视频理解·工作记忆·语义抖动
55873 生态系统2 分钟前
龙萨先生,文明架构师|1817册典籍如何被AI读取?——“可复核文明知识库“的体系化构建实践
人工智能·55873全域文明生态体系·55873操作系统·全域文明生态系统·55873技术底层·55873数字资产
我是海飞5 分钟前
杰理 JL703N SDK 实现 AI 自动化调试:自动进入下载模式、下载、重启与日志抓取
人工智能·单片机·自动化·音视频·杰理
海海不掉头发7 分钟前
软件开发方法第七周笔记_CSDN博客
人工智能·笔记·学习·软件工程
虎头金猫10 分钟前
从上传PPT到观众远程打开互动页面:Claper在CentOS 7上的Docker部署、互动组件设置与固定访问地址实战
linux·运维·网络·人工智能·docker·centos·powerpoint
龙亘川10 分钟前
水质决策报表业务建模:从自定义报表到六时间尺度自动报表闭环
大数据·人工智能·智慧城市·开源软件
科研小牛马15 分钟前
北航何静:Codex调用SketchUp实操,常见智能体均适用
人工智能
机器人梦想家18 分钟前
【AI工具】Task Kit:把 Spec Kit 的契约化思想搬来管日常工作
人工智能
ck01357918 分钟前
图片抠图怎么做?从背景去除到透明 PNG 的实用教程
人工智能·测试工具·音视频·媒体·视频
美狐美颜sdk26 分钟前
直播APP接入第三方视频美颜SDK安全吗?数据处理与隐私问题分析
人工智能·音视频·美颜sdk·第三方美颜sdk·视频美颜sdk·美颜api