# 第十二章 自动化提示词工程

随着 AI 应用规模的扩大，手动设计和优化提示词变得越来越难以维持。本章将介绍自动化提示词生成、优化工具和运维实践，帮助读者构建可扩展的提示词管理体系。

***

## 本章目标

* 理解本章核心概念与适用场景
* 掌握可复用的提示词/工作流模式
* 能将方法迁移到自己的任务中

## 先修知识

* 建议先阅读上一章或同等基础内容
* 如涉及代码示例，具备基本编程与 API 调用常识

## 本章内容

* [12.1 自动化提示词生成技术](/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe/12.1_auto_generation.md)
* [12.2 提示词优化与调优工具](/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe/12.2_optimization_tools.md)
* [12.3 评估体系与质量度量](/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe/12.3_evaluation.md)
  * [12.3.1 评估工具与平台详解](/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe/12.3_evaluation/12.3_1_evaluation_tools.md)
* [12.4 PromptOps：提示词运维实践](/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe/12.4_promptops.md)
* [12.5 PromptOps 成本管理框架：从 Token 经济学到企业级优化](/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe/12.5_promptops_cost_management.md)
* [12.6 本章实战练习](/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe/12.6_practice.md)
* [本章小结](/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe/summary.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yeasy.gitbook.io/prompt_engineering_guide/di-si-bu-fen-jin-jie-yu-zhan-wang/12_automated_pe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
