I bought chatgpt4 and I have the API key. But when I want to use it I have this error :
" raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {‘error’: {‘message’: ‘The model gpt-4-0613
does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.’, ‘type’: ‘invalid_request_error’, ‘param’: None, ‘code’: ‘model_not_found’}} "
this is a part of my code :
response = client.chat.completions.create(
model=“gpt-4-0613”,
messages=[
{“role”: “system”, “content”: “You are a helpful assistant.”},
{“role”: “user”, “content”: prompt},
],
)
what should I do ?