Skip to content
项目

jamwithai/beginner-local-rag-system

在 GitHub 查看

关于

Welcome to the Local LLM-based Retrieval-Augmented Generation (RAG) System! This repository provides the full code to build a private, offline RAG system for managing and querying personal documents locally using a combination of OpenSearch, Sentence Transformers, and Large Language Models (LLMs). Perfect for anyone seeking a privacy-friendly solution to manage documents without relying on cloud services.

人工智能与机器学习

这些数字如何统计

可以做什么

  • Privacy-Friendly Document Search: Search through personal documents without uploading them to the cloud.
  • Hybrid Search with OpenSearch: Uses both traditional text matching and semantic search.
  • Easy Integration with LLMs: Leverage local LLMs for personalized, context-aware responses.

实测星标增长

24小时
0
7天
+1
15天
+5
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

📝 Build Your Local RAG System with LLMs

Welcome to the Local LLM-based Retrieval-Augmented Generation (RAG) System! This repository provides the full code to build a private, offline RAG system for managing and querying personal documents locally using a combination of OpenSearch, Sentence Transformers, and Large Language Models (LLMs). Perfect for anyone seeking a privacy-friendly solution to manage documents without relying on cloud services.

Demo Image

🌟 Key Features:

  • Privacy-Friendly Document Search: Search through personal documents without uploading them to the cloud.
  • Hybrid Search with OpenSearch: Uses both traditional text matching and semantic search.
  • Easy Integration with LLMs: Leverage local LLMs for personalized, context-aware responses.

🚀 Get Started

  1. Clone the repo: git clone https://github.com/JAMwithAI/build_your_local_RAG_system.git
  2. Install dependencies: pip install -r requirements.txt
  3. Configure constants.py for embedding models and OpenSearch settings.
  4. Run the Streamlit app: streamlit run welcome.py

📘 Blog Guide

For a detailed walkthrough of the setup and code, check out our blog:

Build a Local LLM-based RAG System for Your Personal Documents - Part 1

Build a Local LLM-based RAG System for Your Personal Documents - Part 2: The Guide


Enjoy your journey in building a private, AI-driven document management system! If you find this project useful, consider sharing it with others in the community!

探索相关项目

加载中…