openAI API keys

Hi all,

I’ve been experimenting enough with the openAI API keys so I got to know that I need to make a payment to be able to use tokens from openAI, however I was wondering wether or not I need to set the API key between {brackets}, etc to actually be able to use the key properly.

For example I am doing the demo

when chatScreen_START then {
SET API key to “{sk-XXXXXXXXXX}”
}

When Button1 click then {
prompt = inputText.text

response = GET response
error = GET error
}

MyTextBox.text = response

The result is always “undefined” and I am wondering if you see something wrong in my pseudo-code?

Thanks in advance!!

No, you should not include brackets in the text string representing the API key.