# 第十一章 安全性与可靠性

随着大语言模型应用的普及，安全性和可靠性问题日益重要。本章将探讨提示词注入防护、幻觉问题解决、偏见识别以及企业级安全架构设计等关键话题。

***

## 本章目标

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

## 先修知识

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

## 本章内容

* [11.1 提示词注入与防护策略](/prompt_engineering_guide/di-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability/11.1_prompt_injection.md)
  * [11.1.1 提示词注入防护的实战操作指南](/prompt_engineering_guide/di-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability/11.1_prompt_injection/11.1_1_practical_defense_guide.md)
* [11.2 幻觉问题与事实性保障](/prompt_engineering_guide/di-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability/11.2_hallucination.md)
* [11.3 偏见识别与公平性考量](/prompt_engineering_guide/di-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability/11.3_bias_fairness.md)
* [11.4 企业级安全架构设计](/prompt_engineering_guide/di-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability/11.4_enterprise_security.md)
* [11.5 提示词注入防御完整攻防树：分类、防守与架构](/prompt_engineering_guide/di-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability/11.5_injection_defense_comprehensive_tree.md)
* [11.6 本章实战练习](/prompt_engineering_guide/di-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability/11.6_practice.md)
* [本章小结](/prompt_engineering_guide/di-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability/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-san-bu-fen-gao-ji-ying-yong-pian/11_safety_reliability.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.
