Hello there. I am trying to use the GPT-3.5-turbo via python. I used this sample code from the api-reference filled in my API key and bought 5 Usd of credits. How ever is still get this error:
openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.
Sample:
import os
import openai
openai.api_key = os.getenv("OPENAI_API_KEY")
completion = openai.ChatCompletion.create(
model="gpt-3.5-turbo",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"}
]
)
print(completion.choices[0].message)