FrancescoCoding / easyGPT

🤖 Template for a Node.js server (complete of npm module!) that sends requests to the ChatGPT API to generate responses for your chatbot.
https://easygpt.dev/
MIT License
21 stars 6 forks source link

Adjust temperature, presence_penalty, frequency_penalty etc. #9

Closed essovius closed 1 year ago

essovius commented 1 year ago

Sorry if this is not an issue but I couldn't find how I can adjust temperature, presence_penalty, frequency_penalty etc. for npm_module like here

AdamGovier commented 1 year ago

@essovius We haven't implemented them yet but I will add them by the end of the day. Thank you.

AdamGovier commented 1 year ago

Added the options you listed as a start. I will add more further down the line, let me know if there is anymore in particular.

Feel free to contribute an example of presence_penalty & frequency_penalty to the repository. I have added an example of temperature myself.

Thank you! The documentation has been updated too, if you're stuck.