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
相关推荐
janeboe几秒前
抖音黑科技兵马俑总站源头简博科技 | 抖音锚点不合规挂载新规今日生效,短视频引流直播间迈入三端全链路监管时代
大数据·人工智能·科技
lialaka2 分钟前
「未来星途(Future_Odyssey)」——全语音_3D_AI_具身交互智能数字教官与全双工星际科普沉浸舱[1]
人工智能·3d·交互
hongmai6668883 分钟前
ESP32-C61-WROOM-1-N8R2:Wi-Fi 6与RISC-V融合的中坚力量
人工智能·单片机·嵌入式硬件·物联网·智能家居·risc-v
正在走向自律7 分钟前
用豆包Seed Evolving打造全功能【AI智能记账】小程序,开源可落地
人工智能·小程序·开源·智能记账
小保CPP15 分钟前
OpenCV C++提取webp动图里的图片
c++·人工智能·opencv·计算机视觉
B8017913Y15 分钟前
手动整理录音太慢错漏多?2026专业AI录音可高效整理内容
人工智能
梦想的颜色18 分钟前
AI Agent 可观测性:破解多步推理黑盒|从概念、架构、指标到生产落地图鉴
人工智能·ai agent 可观测性·llm 追踪 trace·llmops 硬核实战·agent 生产运维
IT智慧客073121 分钟前
Harness 到底指什么
人工智能
大模型任我行28 分钟前
阿里:端到端文档解析模型OvisOCR2
人工智能·语言模型·自然语言处理·论文笔记
aixingkong92130 分钟前
Atlas 950 1024卡SuperPoD推测分析
网络·人工智能·硬件架构·硬件工程