Project files
Project files¶
- Author: Krishna Pratardan Taduri kptaduri@umd.edu
- Date: 2025-03-15
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 filelangchain.API.ipynb: a notebook describing the native API of LangChainlangchain.API.md: a description of the native API of LangChainlangchain.API.py: code for using API of LangChainlangchain.example.ipynb: a notebook implementing a project using LangChainlangchain.example.md: a markdown description of the projectlangchain.example.py: code for implementing the projectdev_scripts_tutorial_langchainboilerplate 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_langchain - Activate virtual environment:
> source dev_scripts_tutorial_langchain/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