Skip to content

This repository hosts diverse Langchain projects featuring chains, retrievers, tools, agents, RAG pipelines, vector databases (FAISS, Pinecone , Chroma), and integrations with Langsmith and Langserve via FastAPI.

Notifications You must be signed in to change notification settings

Danitilahun/Langchain_projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Langchain Projects

Visual Overviews

General Ecosystem

Langchain Overview
This image provides a high-level view of Langchain's ecosystem, showcasing its modular design and the integration of various components such as chains, agents, retrievers, and vector databases.

Architecture Diagram

Langchain Architecture
This diagram highlights key components of Langchain, including:
- Chains & Agents: Modules to manage sequential tasks and decision-making.
- Retrievers & RAG: Systems to fetch and augment data for improved responses.
- Vector Databases: Integration with FAISS, Chroma, and more for efficient data storage and retrieval.
- LLMs & Embeddings: Support for models like OpenAI and Ollama, with embedding techniques from Hugging Face and others.
- Langsmith & Langserve: Tools to monitor, serve, and scale applications using FastAPI.

RAG Pipeline Overview

RAG Pipeline
This image illustrates the Retrieval-Augmented Generation (RAG) pipeline. It outlines how external data is retrieved and combined with language model outputs to improve response quality. The pipeline typically involves:
- Data Retrieval: Searching external databases for relevant context.
- Integration: Merging retrieved data with generated content.
- Generation: Producing enriched outputs that leverage both internal and external information.

Hybrid Search Overview

Hybrid Search
This image demonstrates the hybrid search mechanism, which combines dense (vector-based) and sparse (keyword-based) retrieval techniques. It employs Reciprocal Rank Fusion (RRF) to integrate results from multiple search methods, assigning higher scores to consistently high-ranking items for improved overall search accuracy.

About This Repository

This repository holds a variety of projects related to Langchain, including:

  • Chains, Retrievers, Tools & Agents: Build and integrate dynamic components.
  • Retrieval-Augmented Generation (RAG): Enhance outputs using external data sources.
  • Vector Databases: Utilize FAISS, Pinecone, Chroma, and similar tools for efficient storage and retrieval.
  • Langsmith & Langserve: Develop and serve applications with integrated monitoring and FastAPI support.
  • Large Language Models: Experiment with OpenAI, Ollama models, and more.
  • Word Embeddings: Implement diverse embedding techniques from Hugging Face, OpenAI, Ollama, etc.

About

This repository hosts diverse Langchain projects featuring chains, retrievers, tools, agents, RAG pipelines, vector databases (FAISS, Pinecone , Chroma), and integrations with Langsmith and Langserve via FastAPI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published