JanAI is a janitor for OpenAI objects. To help me maintain and clean up the mess of objects I created.
pip -m venv <myenv>source <myenv>/bin/activatepip install -r requirements- Add the OpenAI API key and relevant project ID's to
.env streamlit run Home.py
OPENAI_API_KEY=sk-xxxxxxxxxx
PROJECT_ONE=proj_xxxxxxxx
OPENAI_PROJECT_ID=${PROJECT_ONE}
Add the following configuration to the launch.json.
Make the proper adjustments for your own "program" path.
{
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: JanAI",
"type": "debugpy",
"request": "launch",
"program": "${cwd}/.venv_janai/lib/python3.12/site-packages/streamlit",
"console": "integratedTerminal",
"justMyCode": true,
"args": [
"run",
"Home.py"
],
}
]
}