> For the complete documentation index, see [llms.txt](https://wiki.aig123.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.aig123.com/chatgpt-tutorial/ji-qiao-pian/ji-qiao-9-qi-ta.md).

# 技巧9：其他

一些小的技巧，我会统一放在这里。

### 在示例里加入特定符号，让模型知道如何处理特殊情况[​](https://learningprompt.wiki/docs/chatGPT/tutorial-tips/%E6%8A%80%E5%B7%A79%EF%BC%9A%E5%85%B6%E4%BB%96#%E5%9C%A8%E7%A4%BA%E4%BE%8B%E9%87%8C%E5%8A%A0%E5%85%A5%E7%89%B9%E5%AE%9A%E7%AC%A6%E5%8F%B7%E8%AE%A9%E6%A8%A1%E5%9E%8B%E7%9F%A5%E9%81%93%E5%A6%82%E4%BD%95%E5%A4%84%E7%90%86%E7%89%B9%E6%AE%8A%E6%83%85%E5%86%B5) <a href="#zai-shi-li-li-jia-ru-te-ding-fu-hao-rang-mo-xing-zhi-dao-ru-he-chu-li-te-shu-qing-kuang" id="zai-shi-li-li-jia-ru-te-ding-fu-hao-rang-mo-xing-zhi-dao-ru-he-chu-li-te-shu-qing-kuang"></a>

这个解释起来有点复杂，以下是 OpenAI 的官方 prompt，在一些奇怪的问题上比如 `What is Devz9` 的回答，你可以用 ？ 代替答案，让模型知道当遇到超出回答范围时，需要如何处理（注意：此方法在 playground 上有效，但在 ChatGPT 上无效）。

```
Q: Who is Batman?
A: Batman is a fictional comic book character.

Q: What is torsalplexity?
A: ?

Q: What is Devz9?
A: ?

Q: Who is George Lucas?
A: George Lucas is American film director and producer famous for creating Star Wars.

Q: What is the capital of California?
A: Sacramento.

Q: What is Kozar-09?
A: 
```

它的 Output 是这样的：

```
?
```
