Commit 6fb0efde
Changed files (4)
openai/api_requestor.py
@@ -487,7 +487,7 @@ class APIRequestor:
else:
raise error.APIConnectionError(
"Unrecognized HTTP method %r. This may indicate a bug in the "
- "OpenAI bindings. Please contact support@openai.com for "
+ "OpenAI bindings. Please contact us through our help center at help.openai.com for "
"assistance." % (method,)
)
openai/cli.py
@@ -565,7 +565,7 @@ class FineTune:
)
elif status == "failed":
sys.stdout.write(
- "\nJob failed. Please contact support@openai.com if you need assistance."
+ "\nJob failed. Please contact us through our help center at help.openai.com if you need assistance."
)
sys.stdout.write("\n")
openai/error.py
@@ -19,7 +19,7 @@ class OpenAIError(Exception):
except BaseException:
http_body = (
"<Could not decode body as utf-8. "
- "Please report to support@openai.com>"
+ "Please contact us through our help center at help.openai.com.>"
)
self._message = message
openai/util.py
@@ -184,5 +184,5 @@ def default_api_key() -> str:
return openai.api_key
else:
raise openai.error.AuthenticationError(
- "No API key provided. You can set your API key in code using 'openai.api_key = <API-KEY>', or you can set the environment variable OPENAI_API_KEY=<API-KEY>). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = <PATH>'. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details, or email support@openai.com if you have any questions."
+ "No API key provided. You can set your API key in code using 'openai.api_key = <API-KEY>', or you can set the environment variable OPENAI_API_KEY=<API-KEY>). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = <PATH>'. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details."
)