This project provides working sample implementations of several use cases involving Large Language Models.
We've provided pyproject.toml file that defines all the dependencies required in the project
- Open terminal in the project folder.
- uv --version (if not installed then install it)
- uv sync (Syncs dependencies and create a .venv folder)
- Click on Select Kernel and set to .venv shown in the options. (Each time you open a jupyter notebook)
We've also provided anaconda environment configuration with the project.
- Goto anaconda prompt
- Create environment> conda env create -f environment.yml
- Activate environment> conda activate llm-lab
- Open in jupyter lab or your favorite IDE> jupyter lab
- Make sure to create and save .env file in the project root folder. Save the keys such as OPENAI_API_KEY=
- Summarizing a web page
- Summarizing news stories from a news aggregator
- Summarizing a Youtube video