gkamradt / langchain-tutorials

Overview and tutorial of the LangChain Library
6.76k stars 1.95k forks source link

Learn LangChain

Overview, Tutorial, and Examples of LangChain

See the accompanying tutorials on YouTube

If you want to get updated when new tutorials are out, get them delivered to your inbox

If you're new to Jupyter Notebooks or Colab, check out this video

New To LangChain?

Recommended Learning Path:

  1. LangChain CookBook Part 1: 7 Core Concepts - Code, Video
  2. LangChain CookBook Part 2: 9 Use Cases - Code, Video
  3. Explore the projects below and jump into the deep dives

Prompt Engineering (my favorite resources):

  1. Prompt Engineering Overview by Elvis Saravia
  2. ChatGPT Prompt Engineering for Developers - Prompt engineering basics straight from OpenAI
  3. Brex's Prompt Engineering Guide

πŸ€– Project Gallery

πŸ‡ Beginner = Entry level projects to practice LangChain

πŸ’ Intermediate = In depth use of LangChain

🦈 Advanced = Advanced or custom implementations of LangChain

πŸ“ Summarization - Deep Dive: Code, Video

Project Contact Difficulty Open Sourced? Notes
SummarizePaper.com Quentin Kral πŸ’ Intermediate βœ… Code Summarize arXiv papers


❓ Question and Answering Over Documents

Project Contact Difficulty Open Sourced? Notes
ChatPDF Ashish Talati πŸ’ Intermediate βœ… Code Chat and Ask on your own data


πŸ“¦ Extraction

Project Contact Difficulty Open Sourced? Notes
Kor Eugene Yurtsev πŸ’ Intermediate βœ… Code This is a half-baked prototype that β€œhelps” you extract structured data from text using large language models (LLMs) 🧩.
OpeningAttributes @gregkamradt πŸ‡ Beginner βœ… Code Extract technologies & tools from job descriptions


πŸ” Evaluation

Project Contact Difficulty Open Sourced? Notes
Auto-Evaluator @RLanceMartin 🦈 Advanced βœ… Code Evaluate Q&A Chains


πŸ“Š Querying Tabular Data

Project Contact Difficulty Open Sourced? Notes
TBD


πŸ’» Code Understanding

Project Contact Difficulty Open Sourced? Notes
TBD


🌐 Interacting with APIs

Project Contact Difficulty Open Sourced? Notes
TBD


πŸ’¬ Chatbots

Project Contact Difficulty Open Sourced? Notes
LangChain ChatBot David Peterson πŸ’ Intermediate βœ… Code Input your PDF documents and analyze, ask questions, or do calculations on the data.


πŸ€– Agents

Project Contact Difficulty Open Sourced? Notes
Agents Via Vocode @vocode πŸ’ Intermediate βœ… Code Agents making phone calls to order pizza
NexusGPT @achammah1 πŸ’ Intermediate AI Freelancer Platform. Discord

πŸ‘½ Other πŸ‘½

Project Contact Difficulty Open Sourced? Notes
Slack-GPT @martinseanhunt πŸ’ Intermediate βœ… Code A simple starter for a Slack app / chatbot that uses the Bolt.js Slack app framework, Langchain, openAI and a Pinecone vectorstore to provide LLM generated answers to user questions based on a custom data set.

πŸ’ Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of updating code, better documentation, or project to feature.

Submit a PR with notes.

This repo and series is provided by DataIndependent and run by Greg Kamradt