Closed jembem closed 1 year ago
Are you setting the API key, or are you reading the value from an environment variable with the name of the API key? If you are setting the API key directly you should do just this:
Client.Config.AccessToken := apikey;
Are you setting the API key, or are you reading the value from an environment variable with the name of the API key? If you are setting the API key directly you should do just this:
Client.Config.AccessToken := apikey;
yes that was the problem...I took example from demos..and made mistake.. now all is working fine..thank you.
I'm using Lazarus
response from OpenAi
api key provided using these :