learning-llms-and-genai-for-dev-sec-ops icon indicating copy to clipboard operation
learning-llms-and-genai-for-dev-sec-ops copied to clipboard

dotenv everywhere

Open frbayart opened this issue 2 years ago • 3 comments

I don't know how my vscode is configured but I need to paste the dotenv part on all playbook to have my OPENAI key loaded.

%pip install python-dotenv
from dotenv import load_dotenv
load_dotenv()

frbayart avatar Sep 21 '23 08:09 frbayart

in vscode - I believe when you install the python extension you will get the following setting

image

jedi4ever avatar Sep 21 '23 09:09 jedi4ever

we could add it though to each file - would not hurt things

jedi4ever avatar Sep 21 '23 09:09 jedi4ever

... or add the setting to https://github.com/jedi4ever/learning-llms-and-genai-for-dev-sec-ops/blob/75d93998ac44492aadcd7a9a5a716dc1b0c1ab67/.devcontainer/devcontainer.json#L14

DavidS-ovm avatar Sep 25 '23 12:09 DavidS-ovm