It does not work if I do this:
const OpenAI = require('openai'); const openai = new OpenAI({ apiKey: [[CHATGPTAPIKEY]] }); async function main() { const completion = await openai.chat.completions.create({ model: [[MODEL]], messages: [ {"role": "system", "content": "You are a "+[[COMMENTSTYLE]]+" assistant."}, {"role": "user", "content": [[SAVED_TEXT]]} ], temperature: [[TEMPERATURE2]], max_tokens: 150, stop: ["\n", "User:"], n: 1 }); [[OUTPUT]] = completion.choices[0]; } main();BAS Premium
-
@rekaa0251 said in BAS Premium:
Is it possible to create web based bot with the premium version? So i can host an url for example and they can use the bot from the URL.
Remote access to the web interface of the script is under development
-
@fox said in BAS Premium:
@rekaa0251 said in BAS Premium:
Is it possible to create web based bot with the premium version? So i can host an url for example and they can use the bot from the URL.
Remote access to the web interface of the script is under development
wow amazing