You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to natbot! What is your objective?
bloom
Parsing time: 0.10 seconds
Traceback (most recent call last):
File "/home/ubuntu/natbot/natbot.py", line 602, in
gpt_cmd = get_gpt_command(objective, _crawler.page.url, prev_cmd, browser_content)
File "/home/ubuntu/natbot/natbot.py", line 561, in get_gpt_command
response = openai.Completion.create(model="text-davinci-003", prompt=prompt, temperature=0.5, best_of=10, n=3, max_tokens=50)
File "/usr/local/lib/python3.10/dist-packages/openai/api_resources/completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/openai/api_resources/abstract/engine_api_resource.py", line 149, in create
) = cls.__prepare_create_request(
File "/usr/local/lib/python3.10/dist-packages/openai/api_resources/abstract/engine_api_resource.py", line 106, in __prepare_create_request
requestor = api_requestor.APIRequestor(
File "/usr/local/lib/python3.10/dist-packages/openai/api_requestor.py", line 138, in init
self.api_key = key or util.default_api_key()
File "/usr/local/lib/python3.10/dist-packages/openai/util.py", line 186, in default_api_key
raise openai.error.AuthenticationError(
openai.error.AuthenticationError: No API key provided. You can set your API key in code using 'openai.api_key = ', or you can set the environment variable OPENAI_API_KEY=). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = '. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details.
I checked API issues using: curl -X GET https://api.openai.com/v1/models -H "Authorization: Bearer sk-kufw3eq_MY_API_KEY_asdqe23adg"
The text was updated successfully, but these errors were encountered:
Welcome to natbot! What is your objective?
bloom
Parsing time: 0.10 seconds
Traceback (most recent call last):
File "/home/ubuntu/natbot/natbot.py", line 602, in
gpt_cmd = get_gpt_command(objective, _crawler.page.url, prev_cmd, browser_content)
File "/home/ubuntu/natbot/natbot.py", line 561, in get_gpt_command
response = openai.Completion.create(model="text-davinci-003", prompt=prompt, temperature=0.5, best_of=10, n=3, max_tokens=50)
File "/usr/local/lib/python3.10/dist-packages/openai/api_resources/completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/openai/api_resources/abstract/engine_api_resource.py", line 149, in create
) = cls.__prepare_create_request(
File "/usr/local/lib/python3.10/dist-packages/openai/api_resources/abstract/engine_api_resource.py", line 106, in __prepare_create_request
requestor = api_requestor.APIRequestor(
File "/usr/local/lib/python3.10/dist-packages/openai/api_requestor.py", line 138, in init
self.api_key = key or util.default_api_key()
File "/usr/local/lib/python3.10/dist-packages/openai/util.py", line 186, in default_api_key
raise openai.error.AuthenticationError(
openai.error.AuthenticationError: No API key provided. You can set your API key in code using 'openai.api_key = ', or you can set the environment variable OPENAI_API_KEY=). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = '. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details.
I checked API issues using:
curl -X GET https://api.openai.com/v1/models -H "Authorization: Bearer sk-kufw3eq_MY_API_KEY_asdqe23adg"
The text was updated successfully, but these errors were encountered: