#Chatgpt desktop applicaiton

39 messages · Page 1 of 1 (latest)

hearty phoenix
#

ive been trying to make a desktop application using the api , and i'm running into a "Error: 403 Client Error: Forbidden for url: https://api.openai.com/v1/engines/davinci/jobs"
i've switched at the keys twice but i also have a "too many requests in 1 hour" in my browser (because ive been using it to help me write the code for the bot) if anyone can help me fix this, it would be appreciated because i hate opening my browser to use it , and it nice just to have a desktop application which i can pull up and help me with daily things

sharp ravine
#

Could you show me the way of authorization in your code

#

403 means you failed to provide the proper header to authorize

hearty phoenix
#

send the message to OpenAI's GPT-3 API

    response = requests.post(
        "https://api.openai.com/v1/engines/davinci/jobs",
        headers={
            "Content-Type": "application/json",
            "Authorization": "Bearer YOUR-API-KEY"
sharp ravine
#

org name

hearty phoenix
#

i dont have an org

#

its personal use

sharp ravine
sharp ravine
#

is already an org see here let me send you

hearty phoenix
#

oh okay

#

thank you

sharp ravine
#

here you can get the org code here

hearty phoenix
#

got it

sharp ravine
hearty phoenix
narrow wharf
hearty phoenix
#

i was looking through the error codes section of api and it didnt even tell me why i was getting a 403

narrow wharf
hearty phoenix
#

funny enough i got it working now , but it just tells me jokes

#

im getting some wacky responses

narrow wharf
#

Your prompt most likely is malformed

#

Try something basic like prompt="say hi"

hearty phoenix
#

You: hi
Reina: is a name of the city of Tbilisi, Georgia. It is of Georgian origin, and its meaning is "the place of the Trinity", "the place of three".

sharp ravine
#

may be like this

#

you can view in the openai play ground

hearty phoenix
#

yea im doing that now

sharp ravine
#

The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.

Human: Hello, who are you?
AI: I am an AI created by OpenAI. How can I help you today?
Human: I'd like to cancel my subscription.
AI:

sharp ravine
#

I suggest adding the bot’s reply and the message you ve sent to the prompt every time you generate an answer

#

so that the ai can understand the whole conversation

hearty phoenix
#

okay will do

#

im currently trying to see if i can change the color scheme in playground its killing my eyes lol

sharp ravine