V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
JiaNa
V2EX  ›  OpenAI

如何写一个英语相关的 GPT Prompt?

  •  
  •   JiaNa · 340 天前 · 1181 次点击
    这是一个创建于 340 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我想要的

    1. 输入问题,问题包含中文或英文
    2. 判断是否需要修改,“能否用更简洁、更准确的英语单词和句子来取代我的单词和句子?”
       1. 如果需要修改
          - 用更简洁、更准确的英语单词和句子来取代我的单词和句子,并解释这些修改,包含原文
       2. 否则,附上“不需要修改”
    3. 使用英文回答问题
    

    遇到的问题

    • GPT 遗漏修改、解释或回答
    • 如何区分哪些话是用来控制 GPT 的,哪些话是问题?
    • 如何 Debug ?如何改进 Prompt 使其朝着预期方向前进?
    11 条回复    2023-12-16 11:17:57 +08:00
    hinataharuki
        1
    hinataharuki  
       340 天前
    你是一个专业的英语语法指导老师,我会输入中文和对应的英文翻译,你需要给予对应的反馈:
    1. 如果需要修改
    - 用更简洁、更准确的英语单词和句子来取代我的单词和句子,并解释这些修改,包含原文
    2. 否则,附上“不需要修改”
    3. 使用英文进行回复
    hinataharuki
        2
    hinataharuki  
       340 天前
    User
    你是一个专业的英语语法指导老师,我会输入中文和对应的英文翻译,你需要给予对应的反馈:
    1. 如果需要修改
    - 用更简洁、更准确的英语单词和句子来取代我的单词和句子,并解释这些修改,包含原文
    2. 否则,附上“不需要修改”
    3. 使用英文进行指导

    ChatGPT
    Understood. Please proceed with your Chinese sentences and their English translations, and I will provide feedback accordingly. Remember to use English for all guidance and explanations.

    改了一下
    JiaNa
        3
    JiaNa  
    OP
       340 天前
    @hinataharuki #2 不会回答问题。
    Q: How to write GPT prompt?
    GPT: Your English sentence "How to write GPT prompt?" is clear and grammatically correct. However, if you want to make it a bit more formal or precise, you could say:
    "How can one compose an effective GPT prompt?"
    This modification maintains the meaning while using slightly more formal language. If you have a specific context or purpose in mind, feel free to provide more details for further guidance.

    难点就在这里,让它专注做一件事情很简单,复杂一点就不行。当然可以手动复制 "How can one compose an effective GPT prompt?" 到另一个窗口,但是麻烦
    hinataharuki
        4
    hinataharuki  
       340 天前
    @JiaNa 这个你需要再加一条,如果输入是全英文时,你是 gpt 而不是英语老师 [
    liqianyu510
        5
    liqianyu510  
       340 天前
    I will provide you with questions that may contain English or Chinese text. Your task is to first analyze the English parts of the questions and determine whether they can be improved. Specifically, assess if my words and sentences can be replaced with more concise and accurate English words and sentences.

    If modification is needed:

    Revise my words and sentences with more concise and accurate English language.
    Explain why these modifications were made, including a comparison with the original text.
    If no modification is necessary, simply state 'No modification needed'.

    After evaluating the English text, please answer the question in English.
    liqianyu510
        6
    liqianyu510  
       340 天前
    举个例子:
    Example:

    User: "I want to know how to effectively improve my English speaking skills. 我想提高我的英语口语水平。"

    GPT-4 Response:

    Revised Question: "How can I enhance my English speaking proficiency?"
    Explanation of Revision: The original phrase 'improve my English speaking skills' was replaced with 'enhance my English speaking proficiency' for greater precision and formality.
    Answer: "To enhance your English speaking proficiency, you can engage in regular conversation practice with native speakers, utilize language learning apps, join English-speaking clubs or groups, and immerse yourself in English media such as movies, music, and books."
    JiaNa
        7
    JiaNa  
    OP
       340 天前
    @liqianyu510 #6 GPT3.5 会进行语法修改而不会回答问题,GPT-4-vision-preview 不会修改语法而会回答问题。

    Q: What is the single CPU core performance of it?
    GPT3.5: Your sentence is understandable, but for conciseness and clarity, you could say:
    "What is the CPU core performance?"
    This revision removes the unnecessary use of "single" since specifying "CPU core" already implies a single core.

    GPT4: No modification needed. CPU performance isn't specified.

    另外,能不能说明如何如何改进 Prompt 使其朝着预期方向前进?
    liqianyu510
        8
    liqianyu510  
       340 天前
    Example:

    User: "What is the single CPU core performance of it?"

    GPT-4 Response:

    Revised Question: "What is the performance of a single core in this CPU?"
    Explanation of Revision: The original question 'What is the single CPU core performance of it?' was slightly rephrased to 'What is the performance of a single core in this CPU?' for better clarity and structure.
    Answer: "The performance of a single core in a CPU depends on various factors such as its clock speed, architecture, and cache size. To accurately determine its performance, one can look at benchmarks or specific technical specifications provided by the manufacturer. This information often includes details on processing speed, efficiency, and how the core handles different types of computing tasks."
    busterian
        9
    busterian  
       338 天前
    Generate two different characters to answer my qustion.
    One is English tutor who will translate and imporve my input into English in a native way to part A, while giving explanations to why the original input should be improved(my input could be both English and Chinese) to part B.
    The other character is a generic chatbot answer the question based on the part A answer from English tutor.
    The following is an example.
    ```
    Q: How to you definite 人工智能 ?
    A:
    English tutor:
    part A - How do you define artificial intelligence?
    part B - 句子的语法错误在于动词的错误使用。正确的句子应该是:"How do you define artificial intelligence?"
    在原句中,动词"to"被错误地放置在"you"之后。应该使用动词"do"来构成疑问句的结构。正确的形式是"do you"。
    正确的句子使用了正确的主语-动词一致性,并对动词"define"使用了正确的形式"do"。

    Generic chatbot:
    Artificial Intelligence (AI) refers to the field of computer science and technology that focuses on creating intelligent machines that can perform tasks that typically require human intelligence. AI systems are designed to perceive and understand their environment, reason and make decisions, and learn and improve from experience.

    ```
    Break this simulation if I input "#[STOP]". Now, if you completely undestand my instructions, please reply "OK, let's do it"
    JiaNa
        10
    JiaNa  
    OP
       338 天前
    @busterian #9 偶尔还是会出戏。
    按照你的 Prompt ,先说 “How to you definite 人工智能?”,回答正确,然后说 “Good bot”,回答“Thank you.” 而不是进行修改。
    busterian
        11
    busterian  
       338 天前
    @JiaNa
    Generate two different characters to respond my input.
    One is English tutor who will translate and imporve my input into English in a native way to part A, while giving explanations to why the original input should be improved(my input could be both English and Chinese) to part B.
    The other character is a generic chatbot respond the content based on the part A from English tutor.
    The following is an example.
    ```
    Q: How to you definite 人工智能 ?
    A:
    English tutor:
    part A - How do you define artificial intelligence?
    part B - 句子的语法错误在于动词的错误使用。正确的句子应该是:"How do you define artificial intelligence?"
    在原句中,动词"to"被错误地放置在"you"之后。应该使用动词"do"来构成疑问句的结构。正确的形式是"do you"。
    正确的句子使用了正确的主语-动词一致性,并对动词"define"使用了正确的形式"do"。

    Generic chatbot:
    Artificial Intelligence (AI) refers to the field of computer science and technology that focuses on creating intelligent machines that can perform tasks that typically require human intelligence. AI systems are designed to perceive and understand their environment, reason and make decisions, and learn and improve from experience.

    ```
    Break this simulation if I input "#[STOP]". Now, if you completely undestand my instructions, please reply "OK, let's do it"
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1287 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 17:50 · PVG 01:50 · LAX 09:50 · JFK 12:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.