tree-of-thoughts
tree-of-thoughts copied to clipboard
tot_dfs() got an unexpected keyword argument 'confidence_threshold'
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'
@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:
- there are some misspellings here - "inital -> initial"
- what do you think about wring one
traversal
method, which will incapsulate the run of either DFS or BFS under the hood, so that the issue of different args is solved?
Yeah changed 1, can you go deeper on number 2? @ivanzhovannik