Project files
Project files¶
- Author: Krishna Pratardan Taduri kptaduri@umd.edu and Indrayudd Roy Chowdhury indro@umd.edu
- Date: 2025-09-05
This project contains the following files
Boilerplate files to get the project run in
//tutorialschangelog.txtconftest.pyinvoke.yamlpip_list.txtpoetry.lock.outpytest.inirepo_config.yamltasks.py
README.md: This filehllm.example.ipynb: a notebook implementing example use-cases usinghllm.pyhllm.example.md: a description of usinghllm.pyhllm.example.py: code with example use-cases usinghllm.pyopenai.example.ipynb: a notebook implementing example use-cases using the native API of OpenAIopenai.example.md: a description of using the native API of OpenAIopenai.example.py: code using the native API of OpenAIdev_scripts_tutorial_openaiboilerplate filesdevopsmostly boilerplate filesdevops/docker_build/pyproject.toml: contains the dependency of the package in Poetry format
Setup and Dependencies¶
Building and Running the Docker Container¶
- Go to the top of the repo
> cd $GIT_ROOT - Build the thin environment
> ./helpers_root/dev_scripts_helpers/thin_client/build.py - Go to the project dir
> cd tutorial_openai - Activate virtual environment:
> source dev_scripts_tutorial_openai/thin_client/setenv.sh - Build Docker Image:
> i docker_build_local_image --version 1.1.0 - Run Container:
> i docker_bash --skip-pull --stage local --version 1.1.0 - Launch Jupyter Notebook:
> i docker_jupyter --skip-pull --stage local --version 1.1.0 -d
Environment Setup¶
Set the OPENAI_API_KEY environment variable for API access:
import os
os.environ["OPENAI_API_KEY"] = "<your_openai_api_key>"Changelog¶
- 2026-03-01: Initial release