openai.error.RateLimitError: Вы превысили текущую квоту, проверьте свой план и платежные данные
Мой сценарий следующий:
Код: Выделить всё
#!/usr/bin/env python3.8
# -*- coding: utf-8 -*-
import openai
openai.api_key = ""
completion = openai.ChatCompletion.create(
model="gpt-3.5-turbo",
messages=[
{"role": "user", "content": "Tell the world about the ChatGPT API in the style of a pirate."}
]
)
print(completion.choices[0].message.content)
Подробнее здесь: https://stackoverflow.com/questions/758 ... our-plan-a
Мобильная версия