Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 911 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 911 Bytes

Alpaca - Implementation of "Tree of Thoughts Reasoning" for LLM's

Alpaca is a 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 file for details.

Acknowledgments

  • The Tree of Thoughts paper by Yao et al.