Closed xobosox closed 1 year ago
Further to this, I turned verbose logging on, and it doesn't look like the prompt from the config file is sent:
sendMessage (45 tokens) {
max_tokens: 1000,
model: 'gpt-3.5-turbo',
temperature: 0.8,
top_p: 1,
presence_penalty: 1,
messages: [
{
role: 'system',
content: 'You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possiboe.\n' +
'Current date: 2023-03-03\n'
},
{ role: 'user', content: 'Hello', name: undefined }
],
stream: true
}
I just did a compare of the latest version to v2.1.1.. looks like the updates for the PromptPrefix were removed from the latest. Is there an issue with their functionality?
I just did a compare of the latest version to v2.1.1.. looks like the updates for the PromptPrefix were removed from the latest. Is there an issue with their functionality?
The API for the ChatGPT models (such as gpt-3.5-turbo
) slightly differs from the previous text completion models (such as text-davinci-003
). The upstream API migrated to the ChatGPT models, so previous models are no longer supported. Maybe you can create an issue in the API repo about bringing it back.
As for now, the api.official.systemMessage
option works like the previous promptPrefix
options, but there seem to be no alternatives to the other options.
Got it, thanks. I edited /chatgpt/build/index.js
and updated this._systemMessage
(line 131) and managed to get a similar result to the 'prompt' method.
Got it, thanks. I edited
/chatgpt/build/index.js
and updatedthis._systemMessage
(line 131) and managed to get a similar result to the 'prompt' method.
You can actually use the api.official.systemMessage
option in the config file without modifying the code :)
Hi, great bot, well done
I'm testing out the
PromptPrefix
,PromptSuffix
, etc and they don't seem to be doing anything. Below are the contents of my local.config file.. the rest of the fields seem fine, except for the prompt. I'm trying to make it similar to how theprompt: ""
works in the node.js code that you can download from the OpenAI playground.Here's the contents of my local.json file: