8000 GitHub - pomelo-nwu/ReasonGraph: Repository for the demo and paper: ReasonGraph: Visualisation of Reasoning Paths
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Repository for the demo and paper: ReasonGraph: Visualisation of Reasoning Paths

Notifications You must be signed in to change notification settings

pomelo-nwu/ReasonGraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReasonGraph: Visualisation of Reasoning Paths

Language

English中文

Content

🚀 News✏️ Todo✨ Introduction

👀 Examples🎨 Quick Use🖥️ Environment

📌 Citation🔖 License

Links

Online DemoPaperDiscordQuestionnaire

 

🚀 News

  • [2025.03.18] Support two languages, English and Chinese.
  • [2025.03.18] Support more LLM providers and models.
  • [2025.03.18] Rate and provide comments in the questionnaire (takes about 30 seconds).
  • [2025.03.17] Try the online demo through Huggingface Page!
  • [2025.03.14] Join our Discord group!
  • [2025.03.07] The paper is available in Arxiv.
  • [2025.03.07] A new version has been uploaded.
  • [2025.02.22] Create the Github page.
 
 
 

✏️ Todo & Help Wanted

  • Upload the demo vedio.
 
 
 

✨ Introduction

ReasonGraph is an open-source web platform for visualizing and analyzing reasoning processes of Large Language Models (LLMs).

  • Model Support: Integrates with over 50 state-of-the-art models from major LLM providers including Anthropic, OpenAI, Google, Grok, Deepseek, Qwen, and Together.AI.
  • Reasoning Methods: Implements mainstream reasoning approaches including sequential methods and tree-based methods.
  • Modular Framework: Standardized APIs for easy integration of new reasoning methods and models.
  • Beginner-Friendly: Intuitive UI design with visualization updates and simple configuration.
  • Meta Reasoning: Built-in ability that allows models to self-select the most appropriate reasoning method.
 
 
 

👀 Examples

Demo vedio:
 
UI Screenshot:

 
Visualisation of sequential reasoning methods:

Chain of Thoughts (top-left), Self-refine (top-middle), Least-to-most (top-right), Self-consistency (bottom-left):

 
Visualisation of tree-based reasoning methods:

Plain text (top), Beam Search (middle), Tree of Thoughts (bottom):

 
 
 

🎨 Quick Use

Try the online demo:
 
Install the package:

1. Set up the environment according to Section 🖥️ Environment below.

2. Go to root directory:

<absolute_path>/ReasonGraph/

3. Input the API key:

If you don't enter the API keys, the interface can still run normally, but you won't be able to use the corresponding models for inference.

<absolute_path>/ReasonGraph/api_keys.json

{
    "anthropic": "<to be filled>",
    "openai": "<to be filled>",
    "google": "<to be filled>",
    "together": "<to be filled>"
}

4. Run the program with a single line of code in the terminal:

python app.py

5. Open your browser and go to the local URL shown in the output.

 * Running on all addresses (X.X.X.X)
 * Running on http://XXX.X.X.X:XXXX
 * Running on http://XX.XXX.XXX.XXX:XXXX
 
 
 

🖥️ Environment

python==3.11.8
requests==2.31.0
openai==1.63.2
together==1.4.1
flask==3.1.0
google==3.0.0
google-genai==1.2.0
google-generativeai==0.8.4
 
 
 

📌 Citation

@misc{li2025reasongraphvisualisationreasoningpaths,
      title={ReasonGraph: Visualisation of Reasoning Paths}, 
      author={Zongqian Li and Ehsan Shareghi and Nigel Collier},
      year={2025},
      eprint={2503.03979},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2503.03979}, 
}
 
 
 

🔖 License


About

Repository for the demo and paper: ReasonGraph: Visualisation of Reasoning Paths

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.3%
  • HTML 43.7%
0