Chainlit / cookbook

Chainlit's cookbook repo
https://github.com/Chainlit/chainlit
713 stars 270 forks source link

chrome-qa-chat - The model `gpt-4` does not exist or you do not have access to it. #82

Closed lohitakshsingla0 closed 6 months ago

lohitakshsingla0 commented 6 months ago
2024-02-26 20:59:20 - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 404 Not Found"
2024-02-26 20:59:20 - Error code: 404 - {'error': {'message': 'The model `gpt-4` 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'}}
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.11/site-packages/chainlit/utils.py", line 39, in wrapper
    return await user_function(**params_values)

Anyone facing the similar issue for the demo - chrome-qa-chat

I have the access for the GPT 4 and I am unable to trackdown the issue