Hi @platypus. I think your suspicion may be valid because I don’t know how to correctly setup what I need.
And about the code:
This is my code.
And this is all the error it gives me:
\chatBot\main.py", line 4, in module
completion = client.chat.completions.create(
.venv\Lib\site-packages\openai_utils_utils.py", line 274, in wrapper
return func(*args, **kwargs)
.venv\Lib\site-packages\openai\resources\chat\completions.py, line 742, in create
return self._post(
.venv\Lib\site-packages\openai_base_client.py", line 1270, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
.venv\Lib\site-packages\openai_base_client.py", line 947, in request
return self._request(
.venv\Lib\site-packages\openai_base_client.py", line 1036, in _request
return self._retry_request(
.venv\Lib\site-packages\openai_base_client.py", line 1085, in _retry_request
return self._request(
.venv\Lib\site-packages\openai_base_client.py", line 1036, in _request
return self._retry_request(
.venv\Lib\site-packages\openai_base_client.py", line 1085, in _retry_request
return self._request(
.venv\Lib\site-packages\openai_base_client.py", line 1051, in _request
raise self._make_status_error_from_response(err.response) from None