mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: temperature
This commit is contained in:
parent
4758382644
commit
7b2262acc6
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ var ChatGPTAPI = /** @class */ (function () {
|
|||
this._apiBaseUrl = apiBaseUrl;
|
||||
this._debug = !!debug;
|
||||
this._fetch = fetch;
|
||||
this._completionParams = __assign({ model: CHATGPT_MODEL, temperature: 0.8, top_p: 1.0, presence_penalty: 1.0 }, completionParams);
|
||||
this._completionParams = __assign({ model: CHATGPT_MODEL, temperature: 1, top_p: 1.0, presence_penalty: 1.0 }, completionParams);
|
||||
this._systemMessage = systemMessage;
|
||||
if (this._systemMessage === undefined) {
|
||||
var currentDate = new Date().toISOString().split('T')[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue