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();How to add all countries for a sms provider to a select variable. (I don't know how to explain shortly)
-
Hi, I saw a post where a guy had all or at least a bunch of countries under a list for a sms provider and I was wondering how I could add all of them easily without typing them out manually. Below is the picture he had sent and the link to the post I found it on. If anyone could help me out that would be amazing :)!
https://community.bablosoft.com/topic/21310/how-can-i-get-a-number-from-the-country-i-want/3

-
@WolfBeasty I think its easier if you make it as a string, so you write something like "what country code you want to use, RU=RUSSIA, UA=UKRAINE etc. it saves you a lot of time at this point.
-
@super84 Ok thank you I will try this :)!


