Open frbayart opened 1 year ago
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()
in vscode - I believe when you install the python extension you will get the following setting
we could add it though to each file - would not hurt things
... or add the setting to https://github.com/jedi4ever/learning-llms-and-genai-for-dev-sec-ops/blob/75d93998ac44492aadcd7a9a5a716dc1b0c1ab67/.devcontainer/devcontainer.json#L14
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.