zou-group / textgrad

TextGrad: Automatic ''Differentiation'' via Text -- using large language models to backpropagate textual gradients.
http://textgrad.com/
MIT License
1.85k stars 157 forks source link

Temperature control #104

Open shamangary opened 3 months ago

shamangary commented 3 months ago

Hi first of all super cool library, I find it very useful and inspiring.

I am playing with it and found there is no control sometimes in terms of temperature.

Such as the backward engine, and the blackbox LLM.

Do you mind to let me know how to do this or maybe you have plan to improve it?

Thank you. Cool work.

mertyg commented 3 months ago

Good point! It should be relatively straightforward to add this, e.g., adding an argument to the forward call and passing here.