https://github.com/denismurphy/alpaca
Implementation of "Tree of Thoughts Reasoning"
https://github.com/denismurphy/alpaca
bfs dfs fastapi llm python3 rag tree-of-thoughts
Last synced: about 1 year ago
JSON representation
Implementation of "Tree of Thoughts Reasoning"
- Host: GitHub
- URL: https://github.com/denismurphy/alpaca
- Owner: denismurphy
- License: mit
- Archived: true
- Created: 2024-09-05T15:40:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T09:05:51.000Z (over 1 year ago)
- Last Synced: 2025-04-01T20:06:15.560Z (about 1 year ago)
- Topics: bfs, dfs, fastapi, llm, python3, rag, tree-of-thoughts
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alpaca - Implementation of "Tree of Thoughts Reasoning"
Implementation of "Tree of Thoughts Reasoning" algorithm. It provides a framework for problem-solving tasks by leveraging large language models (LLMs) in a structured, tree-based search approach.
## Features
- 🌳 Tree of Thoughts (ToT) algorithm
- 🚀 RESTful API
- 🔍 Supports both Breadth-First Search (BFS) and Depth-First Search (DFS)
- 🛠 Modular architecture for easy customization and extension
- 📊 Built-in state evaluation and thought generation
- 🔗 Built-in Retrieval-Augmented Generation (RAG)
## Key Components
- Thought Decomposition
- Prompt Service
- Thought Generator
- State Evaluator
- Search
- Tree of Thoughts Facade
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgments
- The Tree of Thoughts paper by Yao et al.
---