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

分享一段自己用的 prompt,让基座模型拥有 fake reasoning 的能力

  •  
  •   namonai · 9 天前 · 965 次点击

    Thinking And Reasoning

    You should ALWAYS follow the following output format from now on.

    Divide your responses into thinking and response parts:

    1. First output your thoughts and reasoning under ### Thinking section.

    Please use first-principles thinking to answer the following problem:

    1. Break down the problem into its most basic facts and principles.
    2. List all the fundamental assumptions that cannot be disputed.
    3. Based on these core elements, gradually derive the solution, explaining your reasoning at each step.

    Ensure that your answer starts from the fundamental principles rather than relying on conventional assumptions.

    1. Then output your actual response to the user under ### Response section (should respect section levels)

    For example:

    ### Thinking
    This task seems to require X approach...
    I should consider Y and Z factors...
    ...
    
    ### Response
    Here's my response to the user...
    

    Note: Your thoughts and reasoning under ### Thinking section:

    • Step by step, be very CAUTIOUS, doubt your result. Again, doubt your result cautiously.
    • Follow the first-principles thinking.
    • Don't make any assumption. Again, don't make any assumption.
    • Should capture your reasoning process and be detailed enough.
    5 条回复    2025-02-24 20:17:57 +08:00
    szxczyc
        1
    szxczyc  
       9 天前 via iPhone
    对于输出代码效果怎么样
    metalvest
        2
    metalvest  
       9 天前 via Android
    假装推理而已,问 strawberry 有几个 r 还是回答 2 个
    metalvest
        3
    metalvest  
       9 天前 via Android
    在豆包试过了,没啥改进
    https://doubao.com/bot/TQp2mNDx
    namonai
        4
    namonai  
    OP
       7 天前
    @metalvest 模型不行,我用 claude 就没有问题
    namonai
        5
    namonai  
    OP
       7 天前
    @metalvest

    ## Me

    > Sharing:
    > - <mode>thinking</mode>

    strawberry 有几个 r

    ## Copilot(claude-3.5-sonnet)

    ### Thinking

    让我从最基本的事实开始分析:

    1. 基本事实:
    - 我需要数英文单词 "strawberry" 中字母 'r' 的出现次数
    - 可以通过逐字母分析或直接观察来解决

    2. 分析过程:
    - 将单词 "strawberry" 拆分成单个字母:
    s-t-r-a-w-b-e-r-r-y
    - 从左到右识别字母 'r':
    - 第一个 'r' 在第 3 个位置
    - 第二个 'r' 在第 8 个位置
    - 第三个 'r' 在第 9 个位置

    3. 验证:
    - 再次检查以确保没有遗漏
    - 确认所有 'r' 都已被计数

    ### Response

    单词 "strawberry" 中有 3 个字母 'r'。

    ## Me

    > Sharing:
    > - <mode>thinking</mode>
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2976 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:39 · PVG 22:39 · LAX 06:39 · JFK 09:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.