spcl/graph-of-thoughts
Official Implementation of "Graph of Thoughts: Solving Elaborate Problems with Large Language Models"
Constructs problem-solving workflows as directed acyclic graphs of LLM operations (Generate, Score, Aggregate, etc.), enabling flexible composition of reasoning strategies from simple Chain-of-Thought to more sophisticated multi-path exploration. Supports pluggable LLM backends (ChatGPT, local models via controller abstraction) and includes custom prompters/parsers for domain-specific problems. Provides built-in examples for sorting and keyword counting that demonstrate how to define scoring functions and ground-truth validation within the operation graph.
2,614 stars. No commits in the last 6 months. Available on PyPI.
Stars
2,614
Forks
195
Language
Python
License
—
Category
Last pushed
Dec 11, 2024
Commits (30d)
0
Dependencies
11
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/spcl/graph-of-thoughts"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
kyegomez/tree-of-thoughts
Plug in and Play Implementation of Tree of Thoughts: Deliberate Problem Solving with Large...
kyegomez/the-compiler
Seed, Code, Harvest: Grow Your Own App with Tree of Thoughts!
habedi/cogitator
A Python toolkit for chain-of-thought prompting 🐍
amazon-science/auto-cot
Official implementation for "Automatic Chain of Thought Prompting in Large Language Models"...
atfortes/Awesome-LLM-Reasoning
From Chain-of-Thought prompting to OpenAI o1 and DeepSeek-R1 🍓