kyegomez / tree-of-thoughts

Plug in and Play Implementation of Tree of Thoughts: Deliberate Problem Solving with Large Language Models that Elevates Model Reasoning by atleast 70%
https://discord.gg/qUtxnK2NMf
Apache License 2.0
4.18k stars 353 forks source link

def solve arguments don't match example.py solve call #15

Closed jabowery closed 1 year ago

jabowery commented 1 year ago

In example.py: solution = tree_of_thoughts.solve(input_problem, k, T, b, vth, timeout, confidence_threshold=confidence, max_iterations=max_iterations, convergence_threshold=convergence_threshold, convergence_count=convergence_count)

but in treeofthoughts.py:

class TreeofThoughts
...
def solve(self, x, k, T, b, vth, timeout=None)
kyegomez commented 1 year ago

I think i fixed it! Download the latest version again and try pls

jabowery commented 1 year ago

With use_v2=False there is no execution path that sets solution.