mattermost / mattermost-plugin-ai

Mattermost Copilot plugin supporting multiple LLMs
https://mattermost.com/copilot
Apache License 2.0
136 stars 30 forks source link

💡 idea: Add the temperature to the model parameters #252

Open remip2 opened 1 month ago

remip2 commented 1 month ago

Description

Using a local hosted model (llama 3.1) with the openai backend, the hardcoded temperature (value 1.0) used by the mattermost plugin is too high. The model tends to create new words and produce incorrect sentences in foreign languages. Using a temperature of 0.5 solve the issue.

It would be nice to be able to set the temperature with the model parameters