Skip to content

From scratch to production: build LLM apps with LangChain

Notifications You must be signed in to change notification settings

xleven/langchain-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangChain Tutorial

Practical guides of LangChain.

Chapters

Run Locally

git clone https://github.com/xleven/langchain-tutorial.git

cd langchain-tutorial
python3 -m venv .venv && source .venv/bin/activate
pip install -U "langchain-cli[serve]"
for dir in packages/t*; do pip install -e "$dir"; done

# set OpenAI API key
export OPENAI_API_KEY=<your-api-key>

# serve all chapters
langchain serve

# or serve specific chapter
cd packages/t00-llm && langchain serve

Now go to http://localhost:8000/docs or http://localhost:8000/redoc to see all the available API. Those ended with playground can be used to play with the API.

About

From scratch to production: build LLM apps with LangChain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages