Prompt 工程

Prompt 工程系统方法:Few-shot、思维链(CoT)、结构化输出与提示优化,稳定提升模型表现。

全部教程

Prompt 工程

Prompt 工程系统方法:Few-shot、思维链(CoT)、结构化输出与提示优化,稳定提升模型表现。

本主题共 59 篇教程

进阶

Advanced Prompt Engineering 2025: Techniques That 10x LLM Output Quality

AI researchers and power users share the prompt techniques that consistently produce superior results

入门

Prompt Engineering Cheat Sheet

Essential prompt patterns, techniques, and examples reference

高级

Advanced Prompt Engineering: Techniques That Actually Work

Chain-of-thought, tree-of-thoughts, self-consistency, and systematic evaluation methods

高级

Prompt 注入攻击与防御完整指南 2026:构建安全的 AI 应用

你的 AI Agent 可能正在被攻击,而你完全不知道

高级

LLM Security: Defending Against Prompt Injection Attacks

Protect your AI applications from adversarial prompts

进阶

AI Agent 提示词工程实战:写出高质量 System Prompt 的完整框架

从踩坑总结到可复用模板——让 AI Agent 稳定、可控、真正好用

进阶

AI Agent Prompt 工程完全指南:让 Agent 真正听懂你的意图

System Prompt 设计、角色定义、工具调用指令——Agent 提示词最全实战手册

高级

AI推理模型深度解析:o1/o3和Chain-of-Thought背后的技术原理

理解"慢思考"AI模型的架构创新,以及推理能力突破对AI应用的影响

进阶

Step-Back Prompting 后退提示法:让模型先抽象再回答

一个被低估的提示技巧,专治模型「钻进细节出不来」

入门

Emotion Prompting 情感提示:加一句「这对我很重要」真的有用吗

一个听起来像玄学、但有论文支撑的提示技巧,以及它的真实边界

高级

AI Security: Prompt Injection, Jailbreaking, and LLM Guardrails 2026

Protect your AI applications from attacks: prompt injection, data exfiltration, and model abuse

高级

DSPy Tutorial 2026: Automatic LLM Prompt Optimization

Replace manual prompt engineering with DSPy automatic optimization

入门

ChatGPT for Business: 50 Proven Prompts That Save 10 Hours Per Week

Real prompts for sales, marketing, operations, and HR teams that consistently produce results—with examples and customization tips

高级

LLM Fine-Tuning in 2025: When to Fine-Tune vs. RAG vs. Prompting (With Cost Analysis)

Senior AI engineers explain the decision framework for choosing between fine-tuning, RAG, and prompt engineering

进阶

Advanced Prompt Engineering: Chain-of-Thought, Few-Shot & Structured Outputs in 2025

Master LLM prompting techniques that reliably produce high-quality, structured outputs

进阶

Prompt Engineering Mastery: Advanced Techniques for 2025

Go beyond basic prompts—master the techniques that actually move model performance

进阶

Zero-Shot Prompting: Complete Guide with Examples 2026

Master Zero-Shot Prompting for better AI outputs

进阶

Meta-Prompting: Complete Guide and Examples

Master meta-prompting — using LLM to generate better prompts — best for prompt optimization

进阶

Prompt Version Control: Production Patterns

Managing prompt versions with Git and automation

进阶

Chain-of-Thought Prompting: Complete Guide with Examples 2026

Master Chain-of-Thought Prompting for better AI outputs

入门

Prompt Engineering Best Practices: Complete Developer Guide 2026

Master Prompt Engineering Best Practices with practical examples and production patterns

进阶

Zero-Shot Prompting: Complete Guide and Examples

Master zero-shot prompting — direct task specification without examples — best for classification and generation

入门

Quick Tip: Using system prompts effectively for behavior control

Practical guide to using system prompts effectively for behavior control

进阶

Few-Shot Learning Prompts: Complete Guide with Examples 2026

Master Few-Shot Learning Prompts for better AI outputs

进阶

Role Prompting: Complete Guide and Examples

Master role prompting — assigning expert persona for better answers — best for domain expertise

进阶

Few-Shot Prompting: Complete Guide and Examples

Master few-shot prompting — providing examples to guide LLM behavior — best for consistent formatting

进阶

Secure Prompt Templates: Security Guide

Building injection-resistant prompt templates for production

高级

Few-Shot Adaptation: Advanced Guide

Rapidly adapting LLMs to new tasks with minimal examples

进阶

Prompt Compression: Complete Guide and Examples

Master prompt compression — reducing token count without losing meaning — best for cost optimization

进阶

Chain-of-Thought Prompting: Complete Guide and Examples

Master chain-of-thought prompting — step-by-step reasoning in prompts — best for math and logic tasks

进阶

Structured Output Prompting: Complete Guide with Examples 2026

Master Structured Output Prompting for better AI outputs

进阶

Adversarial Prompting: Complete Guide and Examples

Master adversarial prompting — testing robustness against manipulation — best for security testing

进阶

PromptFlow Azure Workflows: Tutorial and Best Practices

Build production AI with PromptFlow — Azure AI workflow orchestration

入门

Quick Tip: Reducing LLM hallucinations with chain-of-thought prompting

Practical guide to reducing llm hallucinations with chain-of-thought prompting

进阶

PromptLayer Versioning: Complete Setup Guide

Prompt versioning and analytics with PromptLayer

进阶

Iterative Refinement Prompting: Complete Guide with Examples 2026

Master Iterative Refinement Prompting for better AI outputs

进阶

Prompt Chaining: Complete Guide and Examples

Master prompt chaining — multi-stage prompts for complex workflows — best for pipeline processing

进阶

Retrieval-Augmented Prompting: Complete Guide and Examples

Master retrieval-augmented prompting — injecting retrieved context into prompts — best for RAG systems

进阶

Reflexion Prompting: Complete Guide and Examples

Master reflexion prompting — self-reflection and iterative improvement — best for agent learning

高级

LLM Security: Defending Against Jailbreaks and Prompt Injection Attacks

Constitutional prompts, output filtering, and layered defense strategies

进阶

Dynamic Prompt Assembly: Production Patterns

Building context-aware prompts programmatically

进阶

Role-Based Prompting: Complete Guide with Examples 2026

Master Role-Based Prompting for better AI outputs

进阶

Metacognitive Prompting: Complete Guide with Examples 2026

Master Metacognitive Prompting for better AI outputs

进阶

Maieutic Prompting: Complete Guide and Examples

Master maieutic prompting — Socratic questioning for deeper reasoning — best for complex analysis

进阶

Analogical Reasoning Prompts: Complete Guide with Examples 2026

Master Analogical Reasoning Prompts for better AI outputs

进阶

System Prompt Design: Complete Guide and Examples

Master system prompt design — crafting effective system instructions — best for behavior control

进阶

AI Prompt Injection War Stories

Real-world prompt injection attacks and how to prevent them

入门

Prompt Engineering for Non-Technical Professionals: Practical Guide 2025

Master AI prompting for business users, marketers, and knowledge workers

高级

Prompt Versioning Strategy: Production AI Architecture Guide 2026

How to implement managing and versioning prompts like code

高级

高级提示词工程:从Chain-of-Thought到Constitutional AI

掌握前沿提示词技术,解锁LLM的完整潜力

高级

System Prompt Mechanics: Technical Deep Dive

How system prompts influence LLM behavior internally

进阶

Least-to-Most Prompting: Complete Guide and Examples

Master least-to-most prompting — decomposing complex problems bottom-up — best for multi-step tasks

进阶

ReAct Prompting: Complete Guide and Examples

Master react prompting — reasoning and acting in iterative loops — best for tool-using agents

入门

Prompt Engineering 101: Beginner's Complete Guide

Everything a beginner needs to know about prompt engineering 101

进阶

LLM Prompt Engineering Best Practices: 2026 Developer Guide

Essential practices every AI developer should follow for llm prompt engineering

入门

Quick Tip: The prompt template pattern for consistent outputs

Practical guide to the prompt template pattern for consistent outputs

高级

Prompt Sensitivity in LLMs: Technical Deep Dive

Why small prompt changes can cause large output variations

高级

Chain-of-Thought Reasoning: Technical Deep Dive

Why step-by-step prompting dramatically improves LLM accuracy

进阶

Prompt Injection Prevention

Protecting LLM apps from prompt injection and jailbreak attacks