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.29k stars 361 forks source link

tot_dfs() got an unexpected keyword argument 'confidence_threshold' #52

Closed claudiobottari closed 1 year ago

claudiobottari commented 1 year ago

Getting few errors likes this, should I fix it?

tree-of-thoughts\tree_of_thoughts\treeofthoughts.py", line 45, in solve result = self.tot_dfs(initial_prompt, num_thoughts, max_steps, value_threshold, TypeError: tot_dfs() got an unexpected keyword argument 'confidence_threshold'

ivanzhovannik commented 1 year ago

@claudiobottari I have got bunch of those, too :( Basically self.tot_dfs and self.tot_bfs have a set of different arguments and no unified wrapper around them, so I edited the TreeofThoughts class source file in my conda environment

@kyegomez some points:

kyegomez commented 1 year ago

Yeah changed 1, can you go deeper on number 2? @ivanzhovannik