LLM RAG
@binarybana
基本信息
关于 LLM RAG
Easy RAG scripts for a local, embedded, MCP-enabled knowledge store.
概览
What is LLM RAG?
LLM RAG is a Retrieval Augmented Generation implementation built with LlamaIndex for document processing, Google Gemini for embeddings, and LanceDB for vector storage. It runs as a Python package and is intended for developers building RAG systems.
How to use LLM RAG?
Install dependencies using uv venv and uv pip install -e ., then set your Google API key in a .env file and allow direnv. Ingest documents with python -m llm_rag.ingest --source <path> --type [code|url|pdf]. Start the search server with python -m llm_rag.search --db <path_to_lancedb>.
Key features of LLM RAG
- Document ingestion from code, URLs, and PDFs
- Google Gemini embeddings for vector representation
- LanceDB vector storage for efficient retrieval
- Dedicated search server for querying indexed data
- Managed with
uvanddirenvfor reproducible environments
Use cases of LLM RAG
- Ingesting code repositories to enable natural‑language search over source files
- Indexing website content for question‑answering over documentation or articles
- Processing PDF documents for searchable knowledge bases
- Running a local search server to query ingested data
FAQ from LLM RAG
What embedding model does LLM RAG use?
It uses Google Gemini for generating embeddings.
What vector database is used for storage?
LanceDB serves as the vector store for indexed documents.
How do I ingest a PDF document?
Run python -m llm_rag.ingest --source /path/to/pdf --type pdf.
How do I start the search server?
Use python -m llm_rag.search --db /path/to/lancedb.
What dependency manager does the project require?
The project uses uv for dependency management and direnv for environment variables.
其他 分类下的更多 MCP 客户端

StalkChain
StalkChainHosted MCP server giving AI agents social-trading and on-chain crypto data: tracked-trader wallets, PnL and win rate, trader theses, smart-money holders, token safety checks and live alerts across Solana, Base, BNB, Ethe

Prism – Contract Deadline Reader
Built AI, Inc.Give your AI agent a contract reader. Prism reads leases, mortgages, insurance policies and HOA documents and returns every deadline with its exact date, what happens if it is missed, and the sentence it came from. Remot
小红书MCP服务
jobsonlook小红书MCP服务 x-s x-t js逆向
MCPChatbot Example
keli-wenA chatbot implementation compatible with MCP (terminal / streamlit supported)

Prove AI
preuve.aiStartup research engine. Scores ideas with live market data. Only 17.5% pass.
评论