Skip to content

HuiyuLiz/langchain-learning-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangChain Learning Notes

A repository containing learning notes, examples, and experiments with LangChain - a framework for building applications with Large Language Models (LLMs). This is learning notes from YouTube LangChain tutorials.

Overview

This repository serves as a personal learning space for exploring LangChain capabilities, including:

  • Building LLM-powered applications
  • Working with vector stores (ChromaDB)
  • Integrating with various LLM providers (DeepSeek, Ollama)
  • Creating chains and agents
  • Document processing and retrieval

Requirements

  • Python >= 3.11

Installation

  1. Clone this repository:
git clone <repository-url>
cd langchain-learning-notes
  1. Install dependencies using uv:
uv sync

The uv sync command will automatically:

  • Create a virtual environment (if it doesn't exist)
  • Install all dependencies listed in pyproject.toml
  • Lock the dependencies in uv.lock

Alternatively, using pip:

pip install -e .

Dependencies

  • langchain - Core LangChain framework
  • chromadb - Vector database for embeddings
  • langchain-chroma - LangChain integration for ChromaDB
  • langchain-deepseek - LangChain integration for DeepSeek models
  • langchain-ollama - LangChain integration for Ollama

Usage

Run the main script:

python main.py

Project Structure

.
├── README.md          # This file
├── main.py            # Main entry point
├── pyproject.toml     # Project configuration and dependencies
└── uv.lock           # Dependency lock file

Learning Resources

This repository contains practical examples and notes from learning LangChain. Feel free to explore the code and experiment with different LangChain features.

License

This is a personal learning repository.

About

A repository containing learning notes, examples, and experiments with LangChain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages