Discover and explore top open-source AI tools and projects—updated daily.
LLM reasoning chains via prompting strategies
Top 89.9% on SourcePulse
This project provides a framework for enhancing Large Language Model (LLM) reasoning capabilities through "o1-like" dynamic reasoning chains, inspired by OpenAI's o1. It targets developers and researchers seeking to improve LLM performance on logical problems without model retraining, offering a visualized, step-by-step thinking process.
How It Works
The core approach involves dynamic Chain-of-Thought prompting, where the LLM breaks down problems into sequential reasoning steps. At each stage, the LLM can choose to continue reasoning or provide a final answer. The system prompt guides the LLM to explore alternative solutions, question previous steps, and acknowledge its limitations, thereby improving accuracy on complex logic tasks.
Quick Start & Requirements
requirements.txt
.requirements.txt
. Run with streamlit run app_openai.py
..env
file for OLLAMA_URL
and OLLAMA_MODEL
. Run with streamlit run app_ollama.py
.venv
, pip
, requirements.txt
, Streamlit.Highlighted Details
Maintenance & Community
Originally developed by Benjamin Klieger, extended by the open-source community. Links to Bilibili and YouTube channels are provided for support.
Licensing & Compatibility
The README does not explicitly state the license. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
This is an early prototype and accuracy has not been formally evaluated, though initial testing shows significant improvement over out-of-the-box LLMs. The project is experimental and aims to inspire new prompting strategies rather than replicate OpenAI's o1.
1 year ago
Inactive