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 Convert a Boolean value to Yes/No and where to write it in BAS :(
Moved
Support
-
HOW to Convert a Boolean value to Yes/No and where to write it in BAS :(
I want to capture some results from the script with true, false
But I want to replace them with Yes/No
i searched a lot but ......
But all my research and experiments failed to the point that even some times I wanted to try java scipts solutions I didn't even know where to put them in BAS (I'm just a beginner so excuse my ignorance but I'm trying, trust me:( ) -
@Webmaster
Ty Very Much Mr. Webmaster I did it Here in this example :
Convert a Boolean value to Yes-No.xml
because that way I have to do it for all Variables every time but I want to do it for all different Variables at once. I want it to be a global over all the script
-
-
-
-
Google ADS Issue With BAS
Locked Support -
