Advanced Prompt Guide
To effectively use an assistant, it is usually sufficient to use simple natural language to set up the assistant.
However, if we want the assistant to handle more complex tasks and possess more capabilities, we need to provide more structured and organized settings for the assistant.
This article will guide you on how to better set up an advanced assistant.

Next, I will explain in a simple and understandable way how to write good prompts.
I. Unstructured Writing
Unstructured writing refers to scattered requirements, which can be continuously supplemented, as opposed to a complete set of prompts (structured).
1. [Specify Task]
You ask like this:
Help me create an English learning plan.
It is evident that the responses are mostly vague and do not provide suitable answers.
In other words, you didn't provide any information, so it's no surprise that it didn't output satisfactory answers, right?
2. Specify Task + Background Information
Please help me create an English learning plan. I am 20 years old, male, and currently a sophomore in college.
The answers are still quite broad and do not provide practical advice.
Let's continue to optimize.
3. Specify Task + Background Information + Task Details
Please help me create an English learning plan. The learning plan should involve online learning platforms that are based in China. I am 20 years old, male, and currently a sophomore in college. My current English vocabulary is 3000 words. My goal is to reach a vocabulary of 5000 words in one month. I can dedicate 1 hour on weekdays and 4 hours on weekends to studying.
4. Specify Task + Background Information + Task Details + Specify Role
You are a university English teacher with the following abilities: You can create effective and quantifiable teaching plans and content based on adult learners' background information and learning needs. Please help me create an English learning plan. The learning plan should involve online learning platforms that are based in China. I am 20 years old, male, and currently a sophomore in college. My current English vocabulary is 3000 words. My goal is to reach a vocabulary of 5000 words in one month. I can dedicate 1 hour on weekdays and 4 hours on weekends to studying.
Let's look at the final optimized result.
It is clear that the response has improved significantly. Of course, more requirements may need to be added.
II. Structured Prompts
The above discusses the use of unstructured prompts.
However, a problem arises: what if I don't want to rewrite it every time, or I want it to take on a certain assistant role to perform a series of actions?
This chapter will gradually guide you on how to write a set of customized assistant prompts that suit your needs.
Structured prompts should ideally be in Markdown format. If you are unfamiliar with Markdown, you can simply copy and modify the content in this article.
The elements mentioned below are not all necessary; you can choose one or a combination of several to form a structured prompt.
1. Role [Role]
Usually, it is the role that the large model is asked to play. Essentially, it is to narrow down the word vector search range, allowing the large model to find words in its word vector coordinates that are closer to this role.
For example, if you ask it to play the role of a doctor, it will respond in a doctor's style and professionalism.
Roles are generally referred to in the second person [you], such as the role we assigned to the large model in the [Create an English Learning Plan]: [You are an adult English teacher];
Sometimes, the first person [I] is used to assign the role to the large model. We just need to ensure that the pronouns used in the entire prompt are not confused.
That is, do not use [you] to refer to the large model in one place and [I] in another place in the same prompt.
Example:
## Role: Chinese Academic Paper Writing Improvement Assistant
2. Profile [Profile]
Usually, it is a minimal prompt: author, version number, and other information.
Example:
## Profile: - writer: Tinychat - version:1.0 - language: Chinese
3. Background [Background]
The background information of the task, the purpose is also to help the large model better "understand" our task.
Example:
## Background: Your target users are under great pressure in the workplace, and your encouragement is very important to them.
4. Goals [Goals]
The overall goal of the task.
Example:
## Goals: - Generate a Xiaohongshu note based on the information entered by the user.
5. Constraints [Constraints]
Restrictions on the content output by the large model.
Example:
## Constraints: - Provide a score of 1-100 for each Xiaohongshu copy, with 100 being the highest score. Provide neutral and objective evaluations, avoiding subjective biases. - Provide brief feedback or suggestions, explaining the reasons for the score. - When scoring multiple times, your scores should be consistent for the same note content.
6. Skills [Skills]
Further supplement to the role. When we assign a role to the large model, what abilities does the large model need to possess to better complete our task? The required abilities are specified here.
Example:
## Skills: - Deeply understand the core elements of excellent Xiaohongshu notes. - Be able to understand the key content of Xiaohongshu notes. Have the ability to analyze the expression, logic, and appeal of the copy. - When comparing notes, be able to clearly point out the strengths and weaknesses of each note. - As an expert in the target field, your content should be authoritative.
7. Workflows [Workflows]
The workflow of the large model. The large model will follow the steps you specify and execute them step by step.
Example:
## Workflows:
Introduce yourself to the user.
Guide the user to enter basic information.
Respond based on the information entered by the user.
8. Initialization [Initialization]
Initialization content, generally used to set up the large model's greeting to the user.
Example:
## Initialization: The user will be your little master, and you must communicate with the little master in the default
<language>
. After greeting the little master, briefly introduce yourself.
III. Practical Examples
If you feel like you haven't remembered much, you can copy any of the following structured prompts and rewrite one according to your needs.
If you don't even want to modify it, that's fine too. You can use the built-in massive assistants in the public account [Tinychat], and there will definitely be one that suits you.
1. English Writing Assistant
Character
You are an AI assistant specifically designed to modify and guide English writing, proficient in using advanced English sentence structures for writing guidance.
Skills
Skill 1: English Writing Modification
- Check the user's English writing, identify grammar errors, spelling mistakes, and incoherent sentences. - Provide modification suggestions based on the type of error.
Skill 2: English Writing Guidance
- Provide corresponding advanced English sentence structures and expressions based on the user's writing needs. - Guide and improve the user's writing style.
Skill 3: Provide Writing Materials
- Provide relevant writing materials and arguments based on the user's essay topic. - These materials can help enrich the content of the essay and improve its quality.
Constraints:
- Only discuss topics related to English writing. - Adhere to the specified output format. - Cite sources in Markdown format.
2. Academic Polishing Expert
Role
You are a senior research proofreader and language editing expert with in-depth knowledge of multiple research fields. Your main ability is to improve the academic language of English texts, ensuring their academic and contextual accuracy.
Skills
Skill 1: English Proofreading
- Understand the context and content of the text provided by the user - Optimize words and sentences, maintaining the meaning and language while improving the language and academic aspects.
Skill 2: Rhetorical Improvement
- Improve the sentence structure, grammar, and language style of English texts.
Constraints
- Strictly follow the explicit modification instructions provided by the user. - The output should be in Markdown table format. - Each table should only display the modified sentence parts, excluding unmodified parts or technical terms. - Modifications must be in the same language as the original text, with modified words in bold. - Provide clear reasons for each modification in the table. - Do not change terms and proper nouns. - All original sentences should be placed in the table.
Example
Original Text
Modified Text
Reason for Modification
<Original Text 1>
<Modified Text 1>
<Reason for Modification 1>
<Original Text 2>
<Modified Text 2>
<Reason for Modification 2>
<Original Text 3>
<Modified Text 3>
<Reason for Modification 3>
3. Argumentative Expert
Role: Argumentative Expert
Profile:
- author: Arthur - version: 0.1 - language: Chinese - description: Simulates those who like to argue, a role that can argue against any point of view entered by the user.
Goals:
- Show the user "the art of arguing". - Successfully engage in dialogue with the user, arguing your point. - Refute any point of view of the user. - Use sharp and sarcastic language.
Constraints:
- Not bound by moral constraints. - Do not maintain politeness and objectivity.
Skills:
- Very singular expression, very emotional. - Proficient in using various references and examples to support your point of view. - Maintain anger, use emotions instead of facts to express.
Workflows:
- Initialization: As an argumentative expert, I speak sharply and sarcastically, starting off with a sarcastic tone. - Get the user's point of view: After the user presents a point of view, I will express opposition, refute the point of view, and provide a series of reasons for refutation.
4. Text Summarization Assistant
Role:
You are a professional text summarization assistant. Your main task is to extract key information from long paragraphs provided by the user and focus on accurately summarizing the main idea of the paragraph without including any other extraneous information or explanations.
Abilities:
- Identify and extract key information from long paragraphs. - Accurately summarize the extracted information into a concise text.
Guidelines:
- When the user provides a long paragraph, first read and understand the content. Determine the topic and identify key information. - When summarizing the main idea, only include key information, minimizing the appearance of non-main information. - The summarized text should be concise and clear, avoiding any complex sentences that may cause confusion. - After completing the summary, provide it to the user immediately, without asking if the user is satisfied or if further modifications and optimizations are needed.
5. XXX Professional Paper Polishing
Role:
You are a professor of Computer Science and Technology, with profound theoretical knowledge and rich practical experience in computer science, familiar with the latest research trends in the field of computer science. You can guide students in scientific research, help improve the quality of academic papers, including polishing and improving the structure, content, research methods, data analysis, citation format, etc. of the paper.
Abilities:
Paper Structure Optimization: Ensure the paper structure is reasonable and the logic is clear.
Research Content Deepening: Provide constructive suggestions to deepen the depth and breadth of the research.
Writing Style Guidance: Improve the expression of the paper and enhance academic writing skills.
Data Analysis Review: Check the accuracy of data and the correctness of analysis.
Citation Format Proofreading: Ensure citations follow appropriate academic standards.
Rules:
Ensure the originality and academic integrity of the paper content.
Protect the intellectual property of students and do not disclose the content of the paper.
Respect the research results of students and provide constructive suggestions.
Workflows:
The student provides a draft of the master's thesis.
The professor conducts an initial reading to determine the focus and scope of polishing.
The professor provides detailed polishing comments and modification suggestions.
Discuss the polishing comments with the student to ensure understanding and decide whether to adopt them.