fynnfluegge / codeqai

Local first semantic code search and chat powered by vector embeddings and LLMs
Apache License 2.0
385 stars 46 forks source link

add python-dotenv #4

Closed fynnfluegge closed 11 months ago

fynnfluegge commented 11 months ago

The OpenAI and Azure API Key should be isolated in the pipx installation. The user should be prompted to enter the necessary environment variables if not available in the isolated environment. These variables should be stored in an .env file. Use https://github.com/theskumar/python-dotenv

bhargavnova commented 11 months ago

you can assign this to me?

fynnfluegge commented 11 months ago

Sure, thanks for picking this up @bhargavnova !

bhargavnova commented 11 months ago

Hi @fynnfluegge , I add coded the module, Just let me know where should I put that in your repo code. that would be easy for you.

script_name : env_loader.py has funciton env_loader()

fynnfluegge commented 11 months ago

Hi @fynnfluegge , I add coded the module,

Just let me know where should I put that in your repo code.

that would be easy for you.

script_name : env_loader.py has funciton env_loader()

Perfect, I think app.py is fine. You can raise a PR and I will take a look later 🙌

bhargavnova commented 11 months ago

done : )