- Ensure that
pip,python3is already installed. - Preferably, create a new virtual environment for running the code in this repository.
- You will also need an OpenAI API key for running the code in this repository.
- Within the virtual environment:
- install all the dependencies using
pip install -r requirements.txt - Once you have the OpenAI API key, copy it to
~/.streamlit/secrets.tomlasOPENAI_API_KEY = "YOUR_API_KEY_GOES_HERE" - Run the instructor bot using
streamlit run instructor_bot_streamlit.py- The above command will open a browser window with the following url:
http://localhost:8502/and it will also show an error. - Get rid of the error by modifying the url as
http://localhost:8502/?lecture_no=2where2is the lecture number. You can replace it with any lecture you want to study.
- The above command will open a browser window with the following url:
- Run the evaluation bot using
streamlit run instructor_bot_streamlit.py- The above command will open a browser window with the following url:
http://localhost:8502/and it will also show an error. - Get rid of the error by modifying the url as
http://localhost:8502/?lecture_no=2where2is the lecture number. You can replace it with any lecture on which you want to take the evaluation.
- The above command will open a browser window with the following url:
- install all the dependencies using
kudhru/instructor_bot
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|