Skip to content

catherine-langchain/langchain-v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangGraph v1 Intro

Introduction

In this session, we will cover the major changes in LangChain v1 one of our notebooks, where we assume prior LangChain & LangGraph familiarity. If you're interested in going into more depth of our frameowrks, check out LangChain Academy here!

Pre-work

Clone the repo

git clone https://github.com/langchain-ai/langgraph-101.git

Setup

Follow these instructions to follow along!

Create an environment and install dependencies

# Ensure you have a recent version of pip and python installed
$ cd langchain-v1
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ pip install --pre -U langchain langgraph langchain-openai langchain-anthropic

Running notebooks

Make sure the following command works and opens the relevant notebooks

$ jupyter notebook

Set OpenAI & Anthropic API key

  • Set OPENAI_API_KEY in the .env file.
  • Set ANTHROPIC_API_KEY in the .env file.

[Optional] Sign up for LangSmith

  • Sign up here
  • Set LANGSMITH_API_KEY, LANGSMITH_TRACING, and LANGSMITH_PROJECT in the .env file.

About

Overview of updates in v1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors