Loading...
  • 建構
  • 管理
  • 模型與定價
  • 客戶端 SDK
  • API 參考
Search...
⌘K
Log in
概覽
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Solutions

  • AI agents
  • Code modernization
  • Coding
  • Customer support
  • Education
  • Financial services
  • Government
  • Life sciences

Partners

  • Amazon Bedrock
  • Google Cloud's Vertex AI

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Company

  • Anthropic
  • Careers
  • Economic Futures
  • Research
  • News
  • Responsible Scaling Policy
  • Security and compliance
  • Transparency

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Help and security

  • Availability
  • Status
  • Support
  • Discord

Terms and policies

  • Privacy policy
  • Responsible disclosure policy
  • Terms of service: Commercial
  • Terms of service: Consumer
  • Usage policy
建構/提示工程

提示詞工程概述

提示詞工程概述

提示詞工程前的準備

本指南假設您已經:

  1. 為您的使用案例明確定義了成功標準
  2. 有一些方法可以根據這些標準進行實證測試
  3. 有一份您想改進的初稿提示詞

如果沒有,我們強烈建議您花時間先建立這些基礎。請查看定義成功標準並建立評估以獲取提示和指導。

提示詞生成器

沒有初稿提示詞?試試 Claude Console 中的提示詞生成器!

提示詞最佳實踐

如需針對 Claude 最新模型的特定調整指導,請從這裡開始。


何時進行提示詞工程

本指南重點關注可通過提示詞工程控制的成功標準。 並非每個成功標準或失敗的評估都最好通過提示詞工程來解決。例如,延遲和成本有時可以通過選擇不同的模型更容易地改進。


如何進行提示詞工程

所有提示詞技術——從清晰度和示例到 XML 結構化、角色提示詞、思考和提示詞鏈——都涵蓋在提示詞最佳實踐中。那是實時參考;從那裡開始。

Claude Console 還提供提示詞工具——提示詞生成器、範本和變數,以及提示詞改進器——幫助您快速建立和完善提示詞。


提示詞工程教程

如果您是互動式學習者,您可以改為深入我們的互動式教程!

GitHub 提示詞工程教程

一個充滿示例的教程,涵蓋我們文檔中的提示詞工程概念。

Google Sheets 提示詞工程教程

通過互動式電子表格提供的更輕量級版本的提示詞工程教程。

Was this page helpful?