Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feature request) can we add load_dotenv() as a small quality of life improvement? #107

Closed
kdu4108 opened this issue Mar 8, 2024 · 2 comments

Comments

@kdu4108
Copy link

kdu4108 commented Mar 8, 2024

Hi OpenCompass VLMEvalKit team,

Thank you for your hard work on this project! I have a very minor feature request - can we add load_dotenv to make it easier for users to run without explicitly setting their OPENAI_API_KEY env variables in the terminal before their run?

This way, a user can add their key to the variable once in a .env file and it will automatically be loaded.
Happy to open a pull request if helpful.

@kennymckormick
Copy link
Member

Hi, @kdu4108 ,
That's a good idea and we may add it on our TODO list. If you are also interested to do so, welcome to create a PR for it.

@kennymckormick
Copy link
Member

The feature has been implemented in #120 . See https://github.com/open-compass/VLMEvalKit/blob/main/Quickstart.md for the detailed usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants