cosmocode / dokuwiki-plugin-aichat

Chat with a LLM about your DokuWiki contents
https://www.dokuwiki.org/plugin:aichat
GNU General Public License v2.0
13 stars 2 forks source link

Temperature adjustment? #7

Closed Hegghammer closed 9 months ago

Hegghammer commented 10 months ago

Thanks a lot for building this -- it's a really important contribution.

Maybe I missed it, but I can't seem to find a way to adjust the temperature for the model's answers. I would personally like to have it at 0, but my experimentation so far suggests it's set to a value higher than this.

splitbrain commented 10 months ago

The temperature is current hard-coded but already at zero:

https://github.com/cosmocode/dokuwiki-plugin-aichat/blob/db36318f90b450016d7d88f895a7f448690d437b/Model/OpenAI/GPT35Turbo.php#L123