English
This page is available in English
The whole page — instructions, buttons and results.
Switch to English依阿里雲官方框架寫通義千問提示詞:背景、目的、風格、語氣、受眾、輸出,附任務步驟、分隔符號與先推理再結論。
通義千問提示詞產生器
依阿里雲為通義千問寫的提示詞指南,用「背景 / 目的 / 風格 / 語氣 / 受眾 / 輸出」框架寫提示詞。
怎樣寫一則通義千問提示詞
先寫目的和背景
目的是你要模型完成的具體任務,背景是它需要知道的情況。指南的範例裡,同一個需求加上背景、風格、語氣和受眾後,輸出更貼近目標讀者。
補上風格、語氣、受眾和輸出
風格可以是某類專家或某種文風,語氣如正式、詼諧、溫馨,受眾說明寫給誰看,輸出規定形式,比如列表、JSON 或報告。空著的欄位不會出現在提示詞裡。
複雜任務用上技巧
寫下任務步驟,會自動編號成 #任務步驟#;要處理的長文本依段落用 ### 隔開;勾選「先輸出思考過程」,會在輸出要求裡加上先寫推理、再給結論。
複製,測試,再改
指南說提示詞需要反覆測試和迭代。先用一次,看結果哪裡不對,再改對應的那一欄。
這個框架是怎麼來的
阿里雲百煉的文生文提示詞指南把一則好提示詞拆成六部分:背景、目的、風格、語氣、受眾和輸出,每部分寫成「#背景#」這樣的標籤段落。指南用同一個微博推廣需求做對比:只寫一句話時,輸出「過於泛化」;依框架補上風格、語氣和受眾後,內容更貼近年輕讀者。
指南還給了四項技巧:給出輸出樣例,讓模型照著規範和語氣寫;寫明任務步驟;用 ###、=== 這類罕見符號把內容分開;以及讓模型先寫出推理過程再下結論。這一頁把後三項做成了可選欄位,樣例另放一欄。
這一頁以前是一張通用表單(角色、任務、上下文、程式碼、工具、格式、約束、範例),和另外八個產生器一模一樣,跟阿里雲的指南沒有關係。
常見問題
出自阿里雲百煉的文生文提示詞指南,它為通義千問等模型推薦的 Prompt 框架由背景、目的、風格、語氣、受眾、輸出六部分組成,並寫成 #背景# 這樣的標籤。任務步驟、分隔符號和引導思考是同一份指南裡的另外三項技巧。
指南的範例就是這樣寫的:每部分前加 #標籤#。分隔清楚,模型更容易分辨哪部分是背景、哪部分是要求。指南也說框架可以依任務增減,所以空的部分會被省略。
可以複製到任何對話模型裡用,但本頁引用的是阿里雲為通義千問寫的指南,別家的官方指南沒有在這裡引用。
不會。提示詞完全在你的瀏覽器裡拼好,不呼叫任何模型,也不傳送到任何地方。
方法與來源
計算方式
In the browser, by a tested kernel: the six-part framework of Alibaba Cloud's 文生文Prompt指南 (背景, 目的, 风格, 语气, 受众, 输出), each a #label# block, empty ones left out; optional #任务步骤# numbered, material split by ### delimiters, an output example, and an instruction to reason before concluding, all four from the same guide. No model is called.
本工具採用的標準
- Checked 2026-10-21: Qwen is Alibaba's model family (its consumer app is now branded 千问), and Alibaba Cloud Model Studio documents function calling for Qwen, matching the page's function / tool-calling field. No errors found; the prompting advice is general practice, not attributed to Alibaba.
- Rebuilt 2026-11-04 in all three languages. The page was a generic role / goal / context / code / tools / format form, the same as eight other builders, and its 2026-10-21 check said its prompting advice was general practice, not Alibaba's. It now writes the framework Alibaba's own text-generation guide recommends for Qwen, labelled the way the guide labels it (#背景#), with the guide's four techniques as options.
- The code-task and function-calling fields were removed with the copy and titles that advertised them: function calling is an API feature, not a part of a prompt, and the guide cited here does not treat it. The Function calling source was removed with them.
- Merged 2026-11-04: /chinese-llm-prompt-builder/ now redirects here. It was a generic role / goal / context / audience / tone / format / constraints / examples form, and each of those fits one of this page's framework blocks; it held no list or data to port.
資料來源
- Qwen: Alibaba's assistant site, 「千问是阿里官方AI助手,提供最强Qwen大模型体验的第一入口」. https://www.qianwen.com/
- Tongyi Lab (通义实验室), Alibaba: model family overview. https://tongyi.aliyun.com/
- Alibaba Cloud Model Studio. 文生文Prompt指南: the Prompt 框架 (背景, 目的, 风格, 语气, 受众, 输出) and its four techniques (output examples, task steps, delimiters such as ###, guiding the model to think). https://help.aliyun.com/zh/model-studio/prompt-engineering-guide — read 2026-11-04.
Pick up where you left off
Stored only in this browser — never sent to our servers.