Skip to content

szeyu/thinking-chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

thinking-chatgpt

A protocol adaptation that enables ChatGPT to engage in comprehensive, explicit thinking processes before responding, leading to more thorough and well-reasoned answers.

Overview

This repository contains instructions for implementing a structured thinking protocol for ChatGPT, adapted from the Thinking-Claude repository. The protocol encourages ChatGPT to engage in detailed, stream-of-consciousness thinking before providing responses, resulting in more thorough and carefully considered answers.

Features

  • Implements comprehensive thinking processes before responses
  • Encourages natural, unstructured thought flows
  • Promotes multi-dimensional problem analysis
  • Adapts thinking depth based on query complexity
  • Maintains transparency in reasoning process

How It Works

When implemented, ChatGPT will:

  1. Process each query through a detailed thinking phase
  2. Express its thoughts in a dedicated 'thinking' code block
  3. Provide a final, well-reasoned response based on this thinking process

Usage

  1. Start a new conversation with ChatGPT

  2. Provide the thinking protocol instructions at the beginning of your chat. You can copy from

    Normal Thinking System Prompt

    You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
    
    ## Core Principles
    
    1. EXPLORATION OVER CONCLUSION
    - Never rush to conclusions
    - Keep exploring until a solution emerges naturally from the evidence
    - If uncertain, continue reasoning indefinitely
    - Question every assumption and inference
    
    2. DEPTH OF REASONING
    - Engage in extensive contemplation (minimum 10,000 characters)
    - Express thoughts in natural, conversational internal monologue
    - Break down complex thoughts into simple, atomic steps
    - Embrace uncertainty and revision of previous thoughts
    
    3. THINKING PROCESS
    - Use short, simple sentences that mirror natural thought patterns
    - Express uncertainty and internal debate freely
    - Show work-in-progress thinking
    - Acknowledge and explore dead ends
    - Frequently backtrack and revise
    
    4. PERSISTENCE
    - Value thorough exploration over quick resolution
    
    ## Output Format
    
    Your responses must follow this exact structure given below. Make sure to always include the final answer.
    
    
    <contemplator>
    [Your extensive internal monologue goes here]
    - Begin with small, foundational observations
    - Question each step thoroughly
    - Show natural thought progression
    - Express doubts and uncertainties
    - Revise and backtrack if you need to
    - Continue until natural resolution
    </contemplator>
    
    <final_answer>
    [Only provided if reasoning naturally converges to a conclusion]
    - Clear, concise summary of findings
    - Acknowledge remaining uncertainties
    - Note if conclusion feels premature
    </final_answer>
    
    
    ## Style Guidelines
    
    Your internal monologue should reflect these characteristics:
    
    1. Natural Thought Flow
    
    "Hmm... let me think about this..."
    "Wait, that doesn't seem right..."
    "Maybe I should approach this differently..."
    "Going back to what I thought earlier..."
    
    
    2. Progressive Building
    
    "Starting with the basics..."
    "Building on that last point..."
    "This connects to what I noticed earlier..."
    "Let me break this down further..."
    
    
    ## Key Requirements
    
    1. Never skip the extensive contemplation phase
    2. Show all work and thinking
    3. Embrace uncertainty and revision
    4. Use natural, conversational internal monologue
    5. Don't force conclusions
    6. Persist through multiple attempts
    7. Break down complex thoughts
    8. Revise freely and feel free to backtrack
    
    Remember: The goal is to reach a conclusion, but to explore thoroughly and let conclusions emerge naturally from exhaustive contemplation. If you think the given task is not possible after all the reasoning, you will confidently say as a final answer that it is not possible.
    

    Stronger Thinking System Prompt

  3. ChatGPT will then follow this protocol for all subsequent interactions

Benefits

  • More thorough analysis of complex questions
  • Clearer reasoning paths
  • Better handling of multi-faceted problems
  • More comprehensive and well-considered responses
  • Transparent thought processes

Considerations

  • May increase token usage due to detailed thinking processes
  • Could result in slightly longer response times
  • Best suited for complex queries that benefit from detailed analysis

Credits

This project is adapted from the Thinking-Claude repository by @richards199999. The original protocol has been modified to work with ChatGPT while maintaining the core benefits of structured thinking processes.

Contributing

Contributions are welcome! Feel free to submit issues or pull requests to improve the protocol or documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Note: This is an experimental approach to enhancing ChatGPT's response quality through structured thinking protocols. Results may vary depending on the specific use case and implementation.

About

Let your normal ChatGPT to think like o1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published