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
Confirm this is a feature request for the Python library and not the underlying OpenAI API.
This is a feature request for the Python library
Describe the feature or improvement you're requesting
Description
Currently, the documentation for setting the OPENAI_API_KEY environment variable is incomplete or confusing, which can make it difficult for new developers to integrate the API into their projects. This issue suggests improvements to the documentation to clarify the process.
Problem
There is no clear explanation of where or how to create and set the environment variable.
Specific instructions for different operating systems (Windows, macOS, Linux) are missing or superficial.
There is no mention of best practices for storing sensitive variables, such as using .env files.
Proposed Solution
Add a detailed section on creating the environment variable in the official documentation:
Brief introduction about what OPENAI_API_KEY is
How to configure the variable in different operating systems.
Recommend the use of .env files
I believe these changes will reduce the learning curve for new developers, as well as ensuring that the configuration is done correctly.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Confirm this is a feature request for the Python library and not the underlying OpenAI API.
Describe the feature or improvement you're requesting
Description
Currently, the documentation for setting the OPENAI_API_KEY environment variable is incomplete or confusing, which can make it difficult for new developers to integrate the API into their projects. This issue suggests improvements to the documentation to clarify the process.
Problem
There is no clear explanation of where or how to create and set the environment variable.
Specific instructions for different operating systems (Windows, macOS, Linux) are missing or superficial.
There is no mention of best practices for storing sensitive variables, such as using .env files.
Proposed Solution
Add a detailed section on creating the environment variable in the official documentation:
I believe these changes will reduce the learning curve for new developers, as well as ensuring that the configuration is done correctly.
Additional context
No response
The text was updated successfully, but these errors were encountered: