Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
/ alpaca Public archive

Implementation of "Tree of Thoughts Reasoning"

License

Notifications You must be signed in to change notification settings

denismurphy/alpaca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

43a1277 Β· Oct 16, 2024

History

15 Commits
Oct 12, 2024
Sep 17, 2024
Sep 17, 2024
Sep 5, 2024
Oct 12, 2024
Oct 16, 2024

Repository files navigation

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

Acknowledgments

  • The Tree of Thoughts paper by Yao et al.

About

Implementation of "Tree of Thoughts Reasoning"

Topics

Resources

License

Stars

Watchers

Forks

Languages