DEV Community

Discussion on: How I built my first Open Source project with ChatGPT and Next.js. 10k users in 24 hours 🤯

Collapse
 
iskandarreza profile image
Iskandar Reza

Yes, the public chat versions are not to be trusted completely, especially for things where some guesswork may present itself. I think it's because they set the "temperature" parameter to a figure above 0. It's what gives it that generative AI imagination (or we call them hallucinations if it's supposed to generate non-fiction).

If you send a request to the API endpoint with the temperature set to 0, the model will not try to be so creative. It's pretty decent with code generation as long as the tasks are broken down to smaller steps and you ask it to solve each step individually.