YangLing0818/buffer-of-thought-llm
[NeurIPS 2024 Spotlight] Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models
Implements a meta-buffer system that stores and dynamically retrieves high-level thought-templates distilled from diverse reasoning tasks, using adaptive instantiation and a buffer-manager for scalable updates. Evaluated on 10 reasoning-intensive benchmarks (Game of 24, geometric reasoning, chess), achieving 11-51% improvements over prior approaches while requiring ~88% less computational cost than multi-path methods like tree-of-thought. Integrates with multiple LLM backends via OpenAI-compatible APIs and supports RAG-based meta-buffer management for efficient template selection.
675 stars. No commits in the last 6 months.
Stars
675
Forks
64
Language
Python
License
MIT
Category
Last pushed
Jun 28, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/YangLing0818/buffer-of-thought-llm"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
neo4j/neo4j-graphrag-python
Neo4j GraphRAG for Python
FalkorDB/GraphRAG-SDK
Build fast and accurate GenAI apps with GraphRAG SDK at scale.
microsoft/graphrag
A modular graph-based Retrieval-Augmented Generation (RAG) system
Hawksight-AI/semantica
Semantica 🧠— A framework for building semantic layers, context graphs, and decision...
gusye1234/nano-graphrag
A simple, easy-to-hack GraphRAG implementation