- Introduction to LangChain
- Composing Chain Pipelines with LangChain
- Introduction to LangChain Expression Language (LCEL)
- LangChain OpenAI Functions and Runnables with Tools
- QA with LangChain
- LangChain Query CSV
- LangChain QA with GPT-4
- LangChain QA with CSV and PDF
- Building LLM Agents with LangChain
- Conversational Agent with LangChain
- LangChain GitHub Agent Prototype
Conda
- Install anaconda
- Create an environment:
conda create -n oreilly-langchain
- Activate your environment with:
conda activate oreilly-langchain
- Install requirements with:
pip install -r requirements.txt
- Setup your openai API key
Pip
-
Create a Virtual Environment: Navigate to your project directory. If using Python 3's built-in
venv
:python -m venv oreilly_env
If you're using
virtualenv
:virtualenv oreilly_env
-
Activate the Virtual Environment:
- On Windows:
.\oreilly_env\Scripts\activate
- On macOS and Linux:
source oreilly_env/bin/activate
- On Windows:
-
Install Dependencies from
requirements.txt
:pip install python-dotenv pip install -r requirements.txt
-
Setup your openai API key
Remember to deactivate the virtual environment once you're done by simply typing:
deactivate
- Change the
.env.example
file to.env
and add your OpenAI API key.
python3 -m ipykernel install --user --name=oreilly-langchain
For more information about the live-training, visit the official website.