princeton-nlp/tree-of-thought-llm

[NeurIPS 2023] Tree of Thoughts: Deliberate Problem Solving with Large Language Models

46
/ 100
Emerging

Implements tree search over LLM-generated thought sequences, combining configurable thought generators (sampling or sequential proposal) with state evaluators (independent value scoring or collective voting) and greedy/BFS selection strategies. Provides modular task framework supporting diverse problem types—demonstrated on Game of 24, creative writing, and crosswords—with pluggable prompts and OpenAI API backend for GPT-3.5/GPT-4 inference.

5,873 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

5,873

Forks

600

Language

Python

License

MIT

Last pushed

Jan 16, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/princeton-nlp/tree-of-thought-llm"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.