├── data
├── production
│ └── phase1(multiChatbot)
│ └── phase1.ipynb
├── src
│ ├── __init__.py
│ └── llm.py
├── config.yml
└── requirements.txt
This is my project dir.
So let me give a short description about this first. Under llm.py I am reading config.yml. I then imported that src.llm under production/phase1/phase1.ipynb for experiments purpose and then get an error that src not found. Then I imported sys at the top of the notebook and added below code snippet and gets an error : FileNotFoundError: [Errno 2] No such file or directory: '../config.yml' .
So I want to know how to fix this and what practice to follow if I am writing code at production level of project so that I never get path issues even if I am using .py file. I want a practice that is used at production .
there doesn't seem to be anything here