spcl / graph-of-thoughts

Official Implementation of "Graph of Thoughts: Solving Elaborate Problems with Large Language Models"
https://arxiv.org/pdf/2308.09687.pdf
Other
1.97k stars 141 forks source link

Questions about the ToT experiment in the paper #29

Open jiaweiz716 opened 2 months ago

jiaweiz716 commented 2 months ago

Hi, thanks for the great work!

In GoT, thought is a subarray. But what is thought in ToT?

In other words, what is your idea of ​​using ToT to solve the array sorting problem? Is there prompt examples?

rgersten commented 1 month ago

Hello jiaweiz716,

The Graph of Operations for our two Tree of Thoughts implementations can be found here: https://github.com/spcl/graph-of-thoughts/blob/3354cadc46bc1ac41eb95e33a94c3a40c270da57/examples/sorting/sorting_032.py#L496 https://github.com/spcl/graph-of-thoughts/blob/3354cadc46bc1ac41eb95e33a94c3a40c270da57/examples/sorting/sorting_032.py#L525

The used prompts start at this line: https://github.com/spcl/graph-of-thoughts/blob/3354cadc46bc1ac41eb95e33a94c3a40c270da57/examples/sorting/sorting_032.py#L24